2022-10-24 15:46:37 -04:00
|
|
|
app-id: zone.xiv.astra
|
|
|
|
runtime: org.kde.Platform
|
2025-02-01 10:42:55 -05:00
|
|
|
runtime-version: '6.8'
|
2022-10-24 15:46:37 -04:00
|
|
|
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
|
2023-12-20 19:29:04 -05:00
|
|
|
- --socket=fallback-x11
|
2022-10-24 15:46:37 -04:00
|
|
|
- --share=network
|
2023-12-20 19:29:04 -05:00
|
|
|
- --filesystem=home
|
2022-10-24 15:46:37 -04:00
|
|
|
- --socket=pulseaudio
|
2023-12-20 19:32:49 -05:00
|
|
|
# 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
|
2023-12-20 19:29:04 -05:00
|
|
|
- --device=all
|
|
|
|
- --allow=devel
|
2022-10-24 15:46:37 -04:00
|
|
|
modules:
|
2024-03-23 09:38:05 -04:00
|
|
|
- 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
|
2022-10-24 15:46:37 -04:00
|
|
|
- name: unshield
|
2025-02-01 14:30:28 -05:00
|
|
|
cleanup:
|
|
|
|
- /bin
|
|
|
|
- /include
|
|
|
|
- /lib/pkgconfig
|
2022-10-24 15:46:37 -04:00
|
|
|
buildsystem: cmake-ninja
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://github.com/twogood/unshield.git
|
|
|
|
branch: main
|
2024-03-15 19:04:45 -04:00
|
|
|
- name: libsecret
|
2023-12-31 17:23:55 -05:00
|
|
|
cleanup:
|
|
|
|
- /bin
|
2025-02-01 14:30:28 -05:00
|
|
|
- /include
|
|
|
|
- /lib/pkgconfig
|
2023-12-19 20:44:32 -05:00
|
|
|
config-opts:
|
|
|
|
- -Dmanpage=false
|
|
|
|
- -Dvapi=false
|
|
|
|
- -Dgtk_doc=false
|
|
|
|
- -Dintrospection=false
|
2024-03-15 19:04:45 -04:00
|
|
|
buildsystem: meson
|
2023-12-19 20:44:32 -05:00
|
|
|
sources:
|
|
|
|
- type: archive
|
2025-02-01 14:30:28 -05:00
|
|
|
url: https://download.gnome.org/sources/libsecret/0.21/libsecret-0.21.6.tar.xz
|
|
|
|
sha256: 747b8c175be108c880d3adfb9c3537ea66e520e4ad2dccf5dce58003aeeca090
|
2023-12-19 20:44:32 -05:00
|
|
|
x-checker-data:
|
|
|
|
- type: gnome
|
|
|
|
- name: libsecret
|
|
|
|
- stable-only: true
|
2022-10-24 15:46:37 -04:00
|
|
|
- name: qtkeychain
|
2023-12-31 17:23:55 -05:00
|
|
|
cleanup:
|
|
|
|
- /bin
|
2022-10-24 15:46:37 -04:00
|
|
|
buildsystem: cmake-ninja
|
|
|
|
config-opts:
|
2023-12-19 20:44:32 -05:00
|
|
|
- -DBUILD_WITH_QT6=ON
|
|
|
|
- -DCMAKE_INSTALL_LIBDIR=/app/lib
|
|
|
|
- -DLIB_INSTALL_DIR=/app/lib
|
|
|
|
- -DBUILD_TRANSLATIONS=NO
|
2025-02-01 14:30:28 -05:00
|
|
|
- -DLIBSECRET_SUPPORT=OFF # TODO: Re-enable
|
2022-10-24 15:46:37 -04:00
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://github.com/frankosterfeld/qtkeychain.git
|
2023-08-06 09:46:50 -04:00
|
|
|
branch: main
|
2023-12-20 19:29:04 -05:00
|
|
|
- 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
|
2023-12-19 20:44:32 -05:00
|
|
|
- name: qt6-qtwebview
|
2023-08-06 11:52:35 -04:00
|
|
|
buildsystem: cmake-ninja
|
2023-12-19 20:44:32 -05:00
|
|
|
cleanup-platform:
|
|
|
|
- /bin
|
2023-08-06 11:52:35 -04:00
|
|
|
sources:
|
|
|
|
- type: archive
|
2025-02-01 10:42:55 -05:00
|
|
|
url: https://download.qt.io/official_releases/qt/6.8/6.8.1/submodules/qtwebview-everywhere-src-6.8.1.tar.xz
|
|
|
|
sha256: f56bc09e9c84fa06f3955871ba37065556696c72be9c7620925eb0fd83569e22
|
2023-12-19 20:44:32 -05:00
|
|
|
x-checker-data:
|
|
|
|
- type: anitya
|
|
|
|
project-id: 7927
|
|
|
|
stable-only: true
|
2025-02-01 10:42:55 -05:00
|
|
|
url-template: https://download.qt.io/official_releases/qt/6.8/$version/submodules/qtwebview-everywhere-src-$version.tar.xz
|
2023-12-19 20:44:32 -05:00
|
|
|
- name: corrosion
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
config-opts:
|
2024-03-23 09:38:05 -04:00
|
|
|
- -DCORROSION_BUILD_TESTS=OFF
|
2023-12-19 20:44:32 -05:00
|
|
|
build-options:
|
2024-03-23 09:38:05 -04:00
|
|
|
env:
|
2023-12-19 20:44:32 -05:00
|
|
|
- CARGO_HOME: /run/build/corrosion/cargo
|
|
|
|
cleanup:
|
|
|
|
- /app
|
|
|
|
sources:
|
|
|
|
- type: "git"
|
|
|
|
url: https://github.com/AndrewGaspar/corrosion
|
|
|
|
commit: v0.4.5
|
2022-10-24 15:46:37 -04:00
|
|
|
- name: astra
|
|
|
|
buildsystem: cmake-ninja
|
|
|
|
config-opts:
|
|
|
|
- -DRust_COMPILER=/usr/lib/sdk/rust-stable/bin/rustc
|
|
|
|
- -DENABLE_GAMEMODE=OFF
|
2023-08-06 11:52:35 -04:00
|
|
|
- -DBUILD_FLATPAK=ON
|
2025-02-01 14:30:28 -05:00
|
|
|
- -DCMAKE_INSTALL_LIBDIR=/app/lib
|
|
|
|
- -DLIB_INSTALL_DIR=/app/lib
|
2022-10-24 15:46:37 -04:00
|
|
|
build-options:
|
2023-08-06 11:52:35 -04:00
|
|
|
build-args:
|
2024-03-23 09:38:05 -04:00
|
|
|
- --share=network # needed for cargo unfortunately, flatpak has no native support (yet)
|
2022-10-24 15:46:37 -04:00
|
|
|
sources:
|
|
|
|
- type: dir
|
|
|
|
path: .
|
2024-03-23 09:29:10 -04:00
|
|
|
cleanup:
|
|
|
|
- /lib/debug/source/astra/launcher/.rcc # debug symbols for the auto-gen C++ source for QML is useless
|