Skip to content

Commit 140d2fe

Browse files
authored
Merge pull request #1526 from larchunix/flathub-feedback
Update flatpak manifest according to feedback from Flathub
2 parents 5f3cc40 + 96c4cd8 commit 140d2fe

1 file changed

Lines changed: 18 additions & 25 deletions

File tree

flatpak/org.remmina.Remmina.json

Lines changed: 18 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"/share/pkgconfig"
2323
],
2424
"finish-args": [
25-
"--own-name=org.remmina.Remmina",
2625
/* X11 + XShm access */
2726
"--share=ipc", "--socket=x11",
2827
/* Needs to talk to the network */
@@ -184,32 +183,26 @@
184183
},
185184
{
186185
"name": "nxproxy",
187-
"buildsystem": "simple",
188-
"build-commands": [
189-
"make CONFIGURE='./configure --prefix=/app'",
190-
"# Install target does a `gzip /app/share/man/man1/*.1`",
191-
"rm -rf /app/share/man",
192-
"make PREFIX=/app install",
193-
"sed -e 's|/usr/lib/nx|/app/lib/nx|g' -i /app/bin/nxproxy"
194-
],
186+
"no-autogen": true,
187+
"make-args": ["PREFIX=/app"],
195188
"sources": [
196189
{
197190
"type": "archive",
198-
"url": "https://code.x2go.org/releases/source/nx-libs/nx-libs-3.5.0.33-lite.tar.gz",
199-
"sha256": "e43824f820f8d307207aa4686c68f9b0808909a6b6cd2c7d75b751b14dd3129f"
191+
"url": "https://code.x2go.org/releases/source/nx-libs/nx-libs-3.5.99.16-lite.tar.gz",
192+
"sha256": "02c2e382ad27d1b3a0febe31c19f0c2868460f0703b85e8c98ef6203074f7fd4"
200193
}
201194
]
202195
},
203196
{
204197
"name": "freerdp",
205-
"buildsystem": "cmake",
198+
"buildsystem": "cmake-ninja",
206199
"cleanup": [
207200
"/bin",
208201
"/lib/libwinpr-tools2.so*",
209202
"/lib/libuwac0.so*"
210203
],
211204
"config-opts": [
212-
"-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib",
205+
"-DCMAKE_BUILD_TYPE:STRING=Release",
213206
"-DWITH_CLIENT:BOOL=OFF",
214207
"-DWITH_CUPS:BOOL=ON",
215208
"-DWITH_JPEG:BOOL=ON",
@@ -235,8 +228,8 @@
235228
"sources": [
236229
{
237230
"type": "archive",
238-
"url": "https://xorg.freedesktop.org/releases/individual/app/xprop-1.2.2.tar.bz2",
239-
"sha256": "9bee88b1025865ad121f72d32576dd3027af1446774aa8300cce3c261d869bc6"
231+
"url": "https://xorg.freedesktop.org/releases/individual/app/xprop-1.2.3.tar.bz2",
232+
"sha256": "d22afb28c86d85fff10a50156a7d0fa930c80ae865d70b26d805fd28a17a521b"
240233
}
241234
]
242235
}
@@ -297,11 +290,10 @@
297290
},
298291
{
299292
"name": "lz4",
300-
"buildsystem": "simple",
301-
"build-commands": [
302-
"make -C lib lib",
303-
"make -C lib PREFIX=/app install"
304-
],
293+
"subdir": "lib",
294+
"no-autogen": true,
295+
"make-args": ["lib"],
296+
"make-install-args": ["PREFIX=/app"],
305297
"sources": [
306298
{
307299
"type": "archive",
@@ -346,9 +338,10 @@
346338
},
347339
{
348340
"name": "libssh",
349-
"buildsystem": "cmake",
341+
"buildsystem": "cmake-ninja",
350342
"builddir": true,
351343
"config-opts": [
344+
"-DCMAKE_BUILD_TYPE:STRING=Release",
352345
"-DWITH_EXAMPLES:BOOL=OFF"
353346
],
354347
"sources": [
@@ -466,18 +459,18 @@
466459
"sources": [
467460
{
468461
"type": "archive",
469-
"url": "https://xorg.freedesktop.org/releases/individual/app/xkbcomp-1.4.0.tar.bz2",
470-
"sha256": "bc69c8748c03c5ad9afdc8dff9db11994dd871b614c65f8940516da6bf61ce6b"
462+
"url": "https://xorg.freedesktop.org/releases/individual/app/xkbcomp-1.4.1.tar.bz2",
463+
"sha256": "748dc4cf58ac95684106bd9cf163ac6ab7de9a236faec02a6f4d4006d63a5736"
471464
}
472465
]
473466
}
474467
]
475468
},
476469
{
477470
"name": "remmina",
478-
"buildsystem": "cmake",
471+
"buildsystem": "cmake-ninja",
479472
"config-opts": [
480-
"-DCMAKE_INSTALL_LIBDIR:PATH=/app/lib",
473+
"-DCMAKE_BUILD_TYPE:STRING=Release",
481474
"-DWITH_MANPAGES:BOOL=OFF",
482475
"-DWITH_TELEPATHY:BOOL=OFF"
483476
],

0 commit comments

Comments
 (0)