Fix the flatpak manifest.

- Rename the .desktop file and the icons for desktop integration.
- Fix finish-args for the right permissions
- Remove curl binary, not aria2c.
This commit is contained in:
Matthieu Gautier 2018-11-27 10:11:35 +01:00
parent a18c28b168
commit a3ce2e0126
1 changed files with 6 additions and 2 deletions

View File

@ -31,19 +31,23 @@ MANIFEST = {
'runtime-version': '5.11', 'runtime-version': '5.11',
'sdk': 'org.kde.Sdk', 'sdk': 'org.kde.Sdk',
'command': 'kiwix-desktop', 'command': 'kiwix-desktop',
'rename-desktop-file' : 'kiwix-desktop.desktop',
'rename-icon': 'kiwix-desktop',
'finish-args': [ 'finish-args': [
'--socket=wayland', '--socket=wayland',
'--socket=x11', '--socket=x11',
'--share=network',
'--share=ipc', '--share=ipc',
'--device=dri', '--device=dri',
'--socket=pulseaudio' '--socket=pulseaudio',
'--filesystem=xdg-data',
], ],
'cleanup': [ 'cleanup': [
'/include', '/include',
'/lib/pkgconfig', '/lib/pkgconfig',
'/lib/cmake', '/lib/cmake',
'/lib/*.la', '/lib/*.la',
'/bin/aria2c', '/bin/curl',
'/bin/copydatabase', '/bin/copydatabase',
'/bin/kiwix-compile-resources', '/bin/kiwix-compile-resources',
'/bin/quest', '/bin/quest',