1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-25 05:47:45 +00:00
astra/zone.xiv.astra.yml

118 lines
3.5 KiB
YAML

app-id: zone.xiv.astra
runtime: org.kde.Platform
cruntime-version: '6.6-kf6preview'
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:
#- flatpak/kf6.json
- flatpak/kirigami-addons.json
- name: unshield
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/twogood/unshield.git
branch: main
- name: unshield
cleanup:
- /bin
config-opts:
- -Dmanpage=false
- -Dvapi=false
- -Dgtk_doc=false
- -Dintrospection=false
- -Dgcrypt=false
sources:
- type: archive
url: https://download.gnome.org/sources/libsecret/0.20/libsecret-0.20.5.tar.xz
sha256: 3fb3ce340fcd7db54d87c893e69bfc2b1f6e4d4b279065ffe66dac9f0fd12b4d
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
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.6/6.6.1/submodules/qtwebview-everywhere-src-6.6.1.tar.xz
sha256: d6de1ba33be93ae464147c9c069e115c7a24e3e475640016bc2f07c93c4a256c
x-checker-data:
- type: anitya
project-id: 7927
stable-only: true
url-template: https://download.qt.io/official_releases/qt/6.6/$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
build-options:
build-args:
- --share=network # needed for cargo unfortunately, flatpak has no native support (yet)
sources:
- type: dir
path: .