-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zone.xiv.astra.yml
131 lines (131 loc) · 3.88 KB
/
zone.xiv.astra.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
app-id: zone.xiv.astra
runtime: org.kde.Platform
runtime-version: '6.6'
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
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/twogood/unshield.git
branch: main
- name: libsecret
cleanup:
- /bin
config-opts:
- -Dmanpage=false
- -Dvapi=false
- -Dgtk_doc=false
- -Dintrospection=false
- -Dgcrypt=false
buildsystem: meson
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: .
cleanup:
- /lib/debug/source/astra/launcher/.rcc # debug symbols for the auto-gen C++ source for QML is useless