summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-04 11:47:07 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-07-04 11:47:07 +0200
commit7d2614daca637272d8f03a3d11f507f8c70f8c49 (patch)
tree515519019bcdecacdf785c43199707829765893f /dist
parent01f13f0a71e518ab48741176565fa4e0d738db94 (diff)
downloadkube-7d2614daca637272d8f03a3d11f507f8c70f8c49.tar.gz
kube-7d2614daca637272d8f03a3d11f507f8c70f8c49.zip
Fix for gpg-agent in flatpak
Without this fix we'll end up starting the ncurses pinentry, which is not useful.
Diffstat (limited to 'dist')
-rw-r--r--dist/flatpak/gpgme.json11
-rw-r--r--dist/flatpak/org.kde.kube.json17
2 files changed, 27 insertions, 1 deletions
diff --git a/dist/flatpak/gpgme.json b/dist/flatpak/gpgme.json
index 3df6a295..335ca80f 100644
--- a/dist/flatpak/gpgme.json
+++ b/dist/flatpak/gpgme.json
@@ -15,6 +15,17 @@
15 "cleanup": [ 15 "cleanup": [
16 "/lib/libassuan.la" 16 "/lib/libassuan.la"
17 ] 17 ]
18 },
19 {
20 "name": "pinentry",
21 "config-opts": ["-enable-pinentry-qt"],
22 "sources": [
23 {
24 "type": "archive",
25 "url": "https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.1.0.tar.bz2",
26 "sha256": "68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570"
27 }
28 ]
18 } 29 }
19 ], 30 ],
20 "cleanup": [ 31 "cleanup": [
diff --git a/dist/flatpak/org.kde.kube.json b/dist/flatpak/org.kde.kube.json
index e48fbffa..cd750452 100644
--- a/dist/flatpak/org.kde.kube.json
+++ b/dist/flatpak/org.kde.kube.json
@@ -4,7 +4,7 @@
4 "runtime": "org.kde.Platform", 4 "runtime": "org.kde.Platform",
5 "runtime-version": "5.9", 5 "runtime-version": "5.9",
6 "sdk": "org.kde.Sdk", 6 "sdk": "org.kde.Sdk",
7 "command": "kube", 7 "command": "kubewrapper.sh",
8 "rename-icon": "kube_icon", 8 "rename-icon": "kube_icon",
9 "tags": ["nightly"], 9 "tags": ["nightly"],
10 "desktop-file-name-prefix": "(Nightly) ", 10 "desktop-file-name-prefix": "(Nightly) ",
@@ -122,6 +122,21 @@
122 "name": "kube", 122 "name": "kube",
123 "buildsystem": "cmake-ninja", 123 "buildsystem": "cmake-ninja",
124 "sources": [ { "type": "dir", "path": "..", "skip": [".git"] } ] 124 "sources": [ { "type": "dir", "path": "..", "skip": [".git"] } ]
125 },
126 {
127 "name": "kubewrapper",
128 "buildsystem": "simple",
129 "build-commands": [
130 "cp kubewrapper.sh /app/bin/kubewrapper.sh",
131 "chmod +x /app/bin/kubewrapper.sh"
132 ],
133 "sources": [
134 {
135 "type": "script",
136 "commands": ["gpg-agent --homedir ~/.gnupg --daemon --pinentry-program /app/bin/pinentry-qt", "kube", "gpg-connect-agent killagent /bye"],
137 "dest-filename": "kubewrapper.sh"
138 }
139 ]
125 } 140 }
126 ] 141 ]
127} 142}