-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathorg.keepassxc.KeePassXC.yml
163 lines (156 loc) · 4.9 KB
/
org.keepassxc.KeePassXC.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
id: org.keepassxc.KeePassXC
runtime: org.kde.Platform
runtime-version: '5.15-24.08'
sdk: org.kde.Sdk
command: keepassxc-wrapper
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=x11
# Wayland access
- --socket=wayland
# Notification access
- --talk-name=org.freedesktop.Notifications
# Screen Lock Listener
- --talk-name=org.freedesktop.ScreenSaver
- --system-talk-name=org.freedesktop.login1
- --talk-name=org.gnome.ScreenSaver
- --talk-name=org.gnome.SessionManager
- --talk-name=org.gnome.SessionManager.Presence
- --talk-name=com.canonical.Unity.Session
# System Tray Icon (Test at every major update)
- --talk-name=org.kde.StatusNotifierWatcher
# Secret Service
- --own-name=org.freedesktop.secrets
# Favicon Download
- --share=network
# YubiKey USB access
- --device=all
# Nitrokey Smartcard access
- --socket=pcsc
# SSH Agent access
- --socket=ssh-auth
- --env=SSH_AUTH_SOCK=$SSH_AUTH_SOCK
# Host access: workaround extensive portal issues
# (use beta branch for testing of portals based file access)
- --filesystem=host
# Access to temporary files (Remove if RuntimeDirectory patch is upstreamed)
- --filesystem=/tmp
# Required for native messaging (Tor browser)
# TODO uncomment when host access is no longer required.
# - --filesystem=xdg-data
# Required for native messaging (Non-Firefox)
# TODO uncomment when host access is no longer required.
# - --filesystem=xdg-config
# Network filesystems
- --filesystem=xdg-run/gvfs
cleanup:
- '*.a'
- '*.h'
- '*.la'
- /include
- /lib/pkgconfig
- /share/doc
- /share/man
modules:
- name: keepassxc
buildsystem: cmake-ninja
build-options:
env:
GEM_PATH: /app/lib/ruby/gems/2.7.1
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DKEEPASSXC_DIST_TYPE=Flatpak
- -DKEEPASSXC_BUILD_TYPE=Release
- -DWITH_TESTS=OFF
- -DCMAKE_INSTALL_LIBDIR=lib
- -DWITH_XC_UPDATECHECK=OFF
- -DWITH_XC_ALL=ON
sources:
- type: git
url: https://github.com/keepassxreboot/keepassxc.git
tag: 2.7.9
commit: 8f6dd13b0add1dd3fb666cc43ae1e5db478b1827
post-install:
- install -Dm755 ./utils/keepassxc-flatpak-wrapper.sh /app/bin/keepassxc-wrapper
- |
for f in COPYING LICENSE*; do
install -Dm644 $f /app/share/licenses/org.keepassxc.KeePassXC/$f
done
cleanup:
- /share/man
modules:
- shared-modules/libusb/libusb.json
- name: minizip
subdir: contrib/minizip
sources:
- type: git
url: 'https://github.com/madler/zlib'
tag: 'v1.3'
commit: 09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851
- type: script
dest: contrib/minizip/
dest-filename: autogen.sh
commands:
- autoreconf -ifv
- name: libargon2
no-autogen: true
make-args:
- PREFIX=/app
- OPTTARGET=none
- LIBRARY_REL=lib
make-install-args:
- PREFIX=/app
- OPTTARGET=none
- LIBRARY_REL=lib
sources:
- type: git
url: 'https://github.com/P-H-C/phc-winner-argon2.git'
tag: '20190702'
commit: 62358ba2123abd17fccf2a108a301d4b52c01a7c
post-install:
- install -Dm644 -t /app/share/licenses/libargon2 LICENSE
cleanup:
- /bin
- name: botan
buildsystem: simple
build-commands:
- "python3 ./configure.py \
--disable-cc-tests \
--disable-static-library \
--prefix=/app \
--with-zlib \
--without-documentation"
- make -j${FLATPAK_BUILDER_N_JOBS}
- make install
sources:
- type: git
url: https://github.com/randombit/botan.git
tag: 3.3.0
commit: 9074b04c1303a24e2084f8325fa570a5ad4f2478
post-install:
- install -Dm644 -t /app/share/licenses/botan license.txt
- name: pcsclite
config-opts:
- --sbindir=/app/bin
sources:
- type: git
url: https://github.com/LudovicRousseau/PCSC
tag: 2.0.0
commit: 549922c1355fdd1e85eb0a952fefda7bb96e286a
cleanup:
- /bin
post-install:
- install -Dm644 -t /app/share/licenses/pcsclite COPYING
- name: asciidoctor
buildsystem: simple
build-commands:
- gem install --ignore-dependencies --no-user-install --verbose --local
--install-dir /app/lib/ruby/gems/2.7.1 --bindir /app/bin
asciidoctor-2.0.22.gem
sources:
- type: file
url: https://rubygems.org/downloads/asciidoctor-2.0.22.gem
sha256: a6d8f1bb593a3617c0334fdf36b1e25186c4f4d0e15636538c5811de9bb1cad6
cleanup:
- '*'