Skip to content

Commit

Permalink
Fixes and tweaks to the flatpak manifest
Browse files Browse the repository at this point in the history
- Link Qt Keychain dynamically; when linked statically, Qt Keychain
  can't work with DBus secrets service, God knows why
- Use builddir: true - because it's cleaner
- Update libsecret to 0.21.4
- Suppress building test rigs as much as possible
  • Loading branch information
KitsuneRal committed Nov 10, 2024
1 parent f10fab9 commit 5b6f9c2
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions flatpak/io.github.quotient_im.Quaternion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,52 +17,64 @@ finish-args:
- --talk-name=org.kde.StatusNotifierWatcher
cleanup:
- /include
- /lib
- /lib/pkgconfig
- /share/man
modules:
- name: libolm
buildsystem: cmake-ninja
builddir: true
sources:
- type: git
url: https://gitlab.matrix.org/matrix-org/olm.git
tag: '3.2.15'
config-opts:
- -DBUILD_SHARED_LIBS=OFF
cleanup:
- /lib
- /share

- name: libsecret
buildsystem: meson
builddir: true
config-opts:
- -Dmanpage=false
- -Dvapi=false
- -Dgtk_doc=false
- -Dintrospection=false
- -Dprefer_static=true
- -Dcrypto=disabled
cleanup:
- /bin
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/libsecret.git
tag: '0.20.5'
tag: '0.21.4'

- name: qtkeychain
buildsystem: cmake-ninja
builddir: true
sources:
- type: git
url: https://github.com/frankosterfeld/qtkeychain.git
tag: '0.14.3'
cleanup:
- mkspecs
- /lib/cmake
config-opts:
- -DBUILD_WITH_QT6=ON
- -DBUILD_SHARED_LIBS=OFF
# When linked statically, Qt Keychain fails to work with all kinds of strange DBus errors
# - -DBUILD_SHARED_LIBS=OFF
- -DCMAKE_INSTALL_LIBDIR=/app/lib
- -DLIB_INSTALL_DIR=/app/lib
- -DBUILD_TEST_APPLICATION=OFF

- name: quaternion
buildsystem: cmake-ninja
builddir: true
sources:
- type: dir
path: "../"
config-opts:
- -DQuotient_INSTALL_TESTS=OFF
- -DBUILD_TESTING=OFF
- -DBUILD_SHARED_LIBS=OFF
cleanup:
- /lib

0 comments on commit 5b6f9c2

Please sign in to comment.