app-id: zone.xiv.astra runtime: org.kde.Platform runtime-version: '6.10' sdk: org.kde.Sdk sdk-extensions: - org.freedesktop.Sdk.Extension.rust-stable command: astra separate-locales: true build-options: append-path: /usr/lib/sdk/rust-stable/bin build-args: - --share=network cleanup: # dev files - /share/cmake - /share/kdevappwizard - /include - /lib/cmake - /lib/x86_64-linux-gnu/cmake - /lib/x86_64-linux-gnu/pkgconfig - /mkspecs finish-args: # Needed for X11, once we can remove that... remove this too - --share=ipc # We can switch to fallback-x11 once the Wine Wayland driver is on par with just running it through XWayland - --socket=x11 - --socket=wayland - --share=network # Default directory for screenshots - --filesystem=xdg-pictures:rw # We need to install compatibility tools for Steam - --filesystem=~/.steam/steam/compatibilitytools.d/:rw - --filesystem=~/.var/app/com.valvesoftware.Steam/data/Steam/compatibilitytools.d/:rw - --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 # Needed for Dalamud to run - --allow=devel modules: - 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 - -DCMAKE_BUILD_TYPE=RelWithDebInfo sources: - type: archive url: https://github.com/frankosterfeld/qtkeychain/archive/refs/tags/0.16.0.tar.gz sha256: 3be26ec4ae30eecf0c2ff7572ba83799791b157c76e15a05ef35f23dc25e4054 - name: steamwrap buildsystem: simple build-commands: - install -D steamwrap /app/libexec/steamwrap sources: - type: file url: https://xiv.zone/distrib/steamwrap/steamwrap sha256: 196a7d07fcfa65dbb13a6cb37490926cd6c219875f0184f4c5aa156e99d2c454 - name: steamapi buildsystem: simple build-commands: - install -D libsteam_api.so /app/libexec/libsteam_api.so sources: - type: file url: https://xiv.zone/distrib/steamwrap/libsteam_api.so sha256: 0f2c41c20644503c17e13498203986493332fc8296dbd78493bc1fed352ec0cc - name: corrosion buildsystem: cmake-ninja config-opts: - -DCORROSION_BUILD_TESTS=OFF build-options: env: - CARGO_HOME: /run/build/corrosion/cargo cleanup: - /app sources: - type: archive url: https://github.com/corrosion-rs/corrosion/archive/refs/tags/v0.6.1.tar.gz sha256: e9e95b1ee2bad52681f347993fb1a5af5cce458c5ce8a2636c9e476e4babf8e3 - name: astra buildsystem: cmake-ninja config-opts: - -DRust_COMPILER=/usr/lib/sdk/rust-stable/bin/rustc - -DCMAKE_INSTALL_LIBDIR=/app/lib - -DLIB_INSTALL_DIR=/app/lib - -DBUILD_TESTING=OFF - -DCMAKE_BUILD_TYPE=RelWithDebInfo 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