feat: update flatpak manifest

The new manifest yields much better flatpaks for our end-users:

 - Fewer permissions are requested
 - Fixed app icon
 - Release build instead of a debug build
master
Devin Lin 2021-06-19 12:07:01 -04:00 committed by Johan Ouwerkerk
parent 818ed69022
commit 503fddece6
2 changed files with 7 additions and 6 deletions

View File

@ -4,16 +4,14 @@
"runtime-version": "5.15", "runtime-version": "5.15",
"sdk": "org.kde.Sdk", "sdk": "org.kde.Sdk",
"command": "keysmith", "command": "keysmith",
"rename-icon": "keysmith",
"tags": ["nightly"], "tags": ["nightly"],
"desktop-file-name-suffix": " (Nightly)", "desktop-file-name-suffix": " (Nightly)",
"finish-args": [ "finish-args": [
"--share=ipc", "--share=ipc",
"--share=network", "--socket=fallback-x11",
"--socket=x11",
"--socket=wayland", "--socket=wayland",
"--device=dri", "--device=dri"
"--filesystem=home",
"--talk-name=org.freedesktop.Notifications"
], ],
"separate-locales": false, "separate-locales": false,
@ -26,13 +24,15 @@
{ {
"type": "git", "type": "git",
"url": "https://github.com/jedisct1/libsodium.git", "url": "https://github.com/jedisct1/libsodium.git",
"tag": "1.0.18" "tag": "1.0.18",
"commit": "4f5e89fa84ce1d178a6765b8b46f2b6f91216677"
} }
] ]
}, },
{ {
"name": "org.kde.keysmith", "name": "org.kde.keysmith",
"buildsystem": "cmake-ninja", "buildsystem": "cmake-ninja",
"config-opts": [ "-DBUILD_TESTING=OFF", "-DCMAKE_BUILD_TYPE=RelWithDebInfo" ],
"builddir": true, "builddir": true,
"sources": [ { "type": "dir", "path": ".", "skip": [".git"] } ] "sources": [ { "type": "dir", "path": ".", "skip": [".git"] } ]
} }

View File

@ -1,3 +1,4 @@
SPDX-License-Identifier: BSD-2-Clause SPDX-License-Identifier: BSD-2-Clause
SPDX-FileCopyrightText: 2019 Bhushan Shah <bshah@kde.org> SPDX-FileCopyrightText: 2019 Bhushan Shah <bshah@kde.org>
SPDX-FileCopyrightText: 2019-2020 Johan Ouwerkerk <jm.ouwerkerk@gmail.com> SPDX-FileCopyrightText: 2019-2020 Johan Ouwerkerk <jm.ouwerkerk@gmail.com>
SPDX-FileCopyrightText: 2021 Devin Lin <espidev@gmail.com>