1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-27 14:37:46 +00:00
astra/zone.xiv.astra.yml

67 lines
1.9 KiB
YAML

app-id: zone.xiv.astra
runtime: org.kde.Platform
runtime-version: '5.15-22.08'
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=x11
- --socket=wayland
- --filesystem=host
- --device=dri
- --share=network
- --socket=pulseaudio
modules:
- name: unshield
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/twogood/unshield.git
branch: main
- name: qtkeychain
buildsystem: cmake-ninja
config-opts:
- -DLIBSECRET_SUPPORT=OFF
sources:
- type: git
url: https://github.com/frankosterfeld/qtkeychain.git
branch: main
- name: quazip
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/stachenov/quazip.git
- name: kirigami-addons
config-opts:
- -DBUILD_TESTING=OFF
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
buildsystem: cmake-ninja
sources:
- type: archive
url: https://download.kde.org/stable/kirigami-addons/kirigami-addons-0.10.0.tar.xz
sha256: 9897e70bf167f579cec06d09d49a9a27aba184cbd1b2fce2c3ae757a87b01216
- name: icon
buildsystem: simple
build-commands:
- mkdir -p /app/share/icons/hicolor/32x32/apps/
- install -D /usr/share/icons/breeze/mimetypes/64/none.svg /app/share/icons/hicolor/32x32/apps/zone.xiv.astra.svg
- name: astra
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DRust_COMPILER=/usr/lib/sdk/rust-stable/bin/rustc
- -DENABLE_GAMEMODE=OFF
- -DENABLE_CLI=OFF
- -DBUILD_FLATPAK=ON
build-options:
build-args:
- --share=network # needed for cargo unfortunately, flatpak has no native support (yet)
sources:
- type: dir
path: .