app-id: zone.xiv.astra runtime: org.kde.Platform runtime-version: '6.8' sdk: org.kde.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable command: astra build-options: append-path: /usr/lib/sdk/rust-stable/bin build-args: - --share=network finish-args: - --share=ipc - --socket=fallback-x11 - --share=network - --filesystem=home - --socket=pulseaudio # Allow access to the GNOME secret service API and to talk to the GNOME keyring daemon - --talk-name=org.freedesktop.secrets - --talk-name=org.gnome.keyring # Allow to talk to the KDE kwallet daemon - --talk-name=org.kde.kwalletd5 - --talk-name=org.kde.kwalletd6 - --device=all - --allow=devel modules: - name: kirigami-addons config-opts: - -DBUILD_TESTING=OFF - -DCMAKE_BUILD_TYPE=Release - -DQT_MAJOR_VERSION=6 buildsystem: cmake-ninja sources: - type: git url: https://invent.kde.org/libraries/kirigami-addons.git branch: master cleanup: - /lib/debug - name: unshield cleanup: - /bin - /include - /lib/pkgconfig buildsystem: cmake-ninja sources: - type: git url: https://github.com/twogood/unshield.git branch: main - name: libsecret cleanup: - /bin - /include - /lib/pkgconfig config-opts: - -Dmanpage=false - -Dvapi=false - -Dgtk_doc=false - -Dintrospection=false buildsystem: meson sources: - type: archive url: https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.6.tar.xz sha256: 747b8c175be108c880d3adfb9c3537ea66e520e4ad2dccf5dce58003aeeca090 x-checker-data: - type: gnome - name: libsecret - stable-only: true - name: qtkeychain cleanup: - /bin buildsystem: cmake-ninja config-opts: - -DBUILD_WITH_QT6=ON - -DCMAKE_INSTALL_LIBDIR=/app/lib - -DLIB_INSTALL_DIR=/app/lib - -DBUILD_TRANSLATIONS=NO - -DLIBSECRET_SUPPORT=OFF # TODO: Re-enable sources: - type: git url: https://github.com/frankosterfeld/qtkeychain.git branch: main - name: steamwrap buildsystem: simple build-commands: - install -D steamwrap /app/bin/steamwrap sources: - type: file url: https://xiv.zone/distrib/steamwrap/steamwrap sha256: b6c8a398fdf88787000df5de133c748b896b1ba3a2a9892f2e10e0f8e02627af - name: steamapi buildsystem: simple build-commands: - install -D libsteam_api.so /app/bin/libsteam_api.so sources: - type: file url: https://xiv.zone/distrib/steamwrap/libsteam_api.so sha256: b50b9d313eb554792216762f5cc0b972cfae14149f720440e0f0d6c4563c951f - name: qt6-qtwebview buildsystem: cmake-ninja cleanup-platform: - /bin sources: - type: archive url: https://download.qt.io/official_releases/qt/6.8/6.8.1/submodules/qtwebview-everywhere-src-6.8.1.tar.xz sha256: f56bc09e9c84fa06f3955871ba37065556696c72be9c7620925eb0fd83569e22 x-checker-data: - type: anitya project-id: 7927 stable-only: true url-template: https://download.qt.io/official_releases/qt/6.8/$version/submodules/qtwebview-everywhere-src-$version.tar.xz - name: corrosion buildsystem: cmake-ninja config-opts: - -DCORROSION_BUILD_TESTS=OFF build-options: env: - CARGO_HOME: /run/build/corrosion/cargo cleanup: - /app sources: - type: "git" url: https://github.com/AndrewGaspar/corrosion commit: v0.4.5 - name: astra buildsystem: cmake-ninja config-opts: - -DRust_COMPILER=/usr/lib/sdk/rust-stable/bin/rustc - -DENABLE_GAMEMODE=OFF - -DBUILD_FLATPAK=ON - -DCMAKE_INSTALL_LIBDIR=/app/lib - -DLIB_INSTALL_DIR=/app/lib build-options: build-args: - --share=network # needed for cargo unfortunately, flatpak has no native support (yet) sources: - type: dir path: . cleanup: - /lib/debug/source/astra/launcher/.rcc # debug symbols for the auto-gen C++ source for QML is useless