Restore libsecret shared module

This commit is contained in:
Ghislain Antony Vaillant 2021-08-20 15:16:50 +02:00
parent 6d8905a658
commit 09f8f65adb
3 changed files with 6 additions and 16 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "shared-modules"]
path = shared-modules
url = https://github.com/flathub/shared-modules.git

View file

@ -19,6 +19,8 @@ finish-args:
rename-desktop-file: bitwarden.desktop
rename-icon: bitwarden
modules:
- shared-modules/libsecret/libsecret.json
- name: Bitwarden
sources:
- type: file
@ -50,19 +52,3 @@ modules:
- install bitwarden.sh $FLATPAK_DEST/bin/bitwarden
- install -D -m 644 -t $FLATPAK_DEST/share/metainfo $FLATPAK_ID.appdata.xml
- desktop-file-edit --set-key=Exec --set-value="bitwarden %U" $FLATPAK_DEST/share/applications/bitwarden.desktop
- name: libsecret
buildsystem: meson
config-opts:
- "-Dmanpage=false"
- "-Dvapi=false"
- "-Dgtk_doc=false"
cleanup:
- "/bin"
- "/include"
- "/lib/pkgconfig"
- "/share/gir-1.0"
- "/share/man"
sources:
- type: archive
url: https://download.gnome.org/sources/libsecret/0.20/libsecret-0.20.4.tar.xz
sha256: 325a4c54db320c406711bf2b55e5cb5b6c29823426aa82596a907595abb39d28

1
shared-modules Submodule

@ -0,0 +1 @@
Subproject commit ca1664c5d1d94899432f364f006c582898afbae2