app-id: eu.lastviking.shared runtime: org.kde.Platform runtime-version: "6.10" sdk: org.kde.Sdk command: sharedgui finish-args: - --share=network - --socket=wayland - --socket=fallback-x11 - --share=ipc # QSystemTrayIcon registers its KDE StatusNotifier item through this bus name. - --talk-name=org.kde.StatusNotifierWatcher - --filesystem=host:ro - --filesystem=xdg-download - --talk-name=org.freedesktop.portal.Desktop - --talk-name=org.freedesktop.secrets - --talk-name=org.kde.kwalletd5 - --talk-name=org.kde.kwalletd6 modules: - name: libsodium buildsystem: autotools config-opts: - --disable-static sources: - type: archive url: https://github.com/jedisct1/libsodium/releases/download/1.0.22-RELEASE/libsodium-1.0.22.tar.gz sha256: adbdd8f16149e81ac6078a03aca6fc03b592b89ef7b5ed83841c086191be3349 - name: shared buildsystem: simple build-commands: - | cmake -S desktop -B _build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/app \ -DCMAKE_PREFIX_PATH=/app \ -DBUILD_TESTING=OFF \ -DFETCHCONTENT_SOURCE_DIR_SAFEKEEPING="$(pwd)/third_party/safekeeping" \ -DSAFEKEEPING_ENABLE_KWALLET=ON \ -DSHARED_BUILD_HEADLESS=OFF \ -DSHARED_FLATPAK_BUILD=ON \ -DSHARED_QCORO_SOURCE_DIR="$(pwd)/third_party/qcoro" \ -DSHARED_LOGFAULT_SOURCE_DIR="$(pwd)/third_party/logfault" - cmake --build _build --parallel - cmake --install _build sources: - type: dir path: .. - type: git url: https://github.com/qcoro/qcoro.git tag: v0.13.0 dest: third_party/qcoro - type: git url: https://github.com/jgaa/logfault.git tag: v0.8.5 dest: third_party/logfault - type: git url: https://github.com/jgaa/SafeKeeping.git commit: 635466b1f3508265a13b35489f58849332fde0c1 dest: third_party/safekeeping