1
+ app-id : zone.xiv.novus
2
+ runtime : org.kde.Platform
3
+ runtime-version : ' 6.6'
4
+ sdk : org.kde.Sdk
5
+ sdk-extensions :
6
+ - org.freedesktop.Sdk.Extension.rust-stable
7
+ command : novus-launcher
8
+ build-options :
9
+ append-path : /usr/lib/sdk/rust-stable/bin
10
+ build-args :
11
+ - --share=network
12
+ cleanup :
13
+ - /include
14
+ - /lib
15
+ - " *.cmake"
16
+ - " *.pc"
17
+ finish-args :
18
+ - --share=ipc
19
+ - --socket=fallback-x11
20
+ - --share=network
21
+ - --filesystem=home
22
+ - --socket=pulseaudio
23
+ - --device=all
24
+ - --allow=devel
25
+ modules :
26
+ - name : qt6-qthttpserver
27
+ buildsystem : cmake-ninja
28
+ cleanup :
29
+ - /bin
30
+ - /metatypes
31
+ - /mkspecs
32
+ - /modules
33
+ sources :
34
+ - type : archive
35
+ url : https://download.qt.io/official_releases/qt/6.6/6.6.1/submodules/qthttpserver-everywhere-src-6.6.1.tar.xz
36
+ sha256 : 1bfeb3f52f15002a0197a4ef4f3ada7b43a6d0681e1797a11c1460ecfa83124c
37
+ - name : glm
38
+ buildsystem : cmake-ninja
39
+ sources :
40
+ - type : archive
41
+ url : https://github.com/g-truc/glm/archive/efec5db081e3aad807d0731e172ac597f6a39447.zip
42
+ sha256 : e7a1abc208278cc3f0dba59c5170d83863b3375f98136d588b8beb74825e503c
43
+ - name : json
44
+ buildsystem : cmake-ninja
45
+ sources :
46
+ - type : archive
47
+ url : " https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.tar.gz"
48
+ sha256 : 0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406
49
+ - name : stb
50
+ buildsystem : simple
51
+ build-commands :
52
+ - cp -r ./* -t ${FLATPAK_DEST}/include
53
+ sources :
54
+ - type : archive
55
+ url : " https://github.com/nothings/stb/archive/449758bd74ce14b7d0ba9b24a3dbc4386702a0e0.zip"
56
+ sha256 : 971792375e93970eb57c8466ae93b4534dd6ab2952b3882c7260abe24ac9eaa3
57
+ - name : spirv-headers
58
+ buildsystem : cmake-ninja
59
+ builddir : true
60
+ config-opts :
61
+ - -DSPIRV_SKIP_EXECUTABLES=ON
62
+ cleanup :
63
+ - /bin
64
+ sources :
65
+ - type : git
66
+ url : https://github.com/KhronosGroup/SPIRV-Headers.git
67
+ tag : sdk-1.3.261.1
68
+ commit : 124a9665e464ef98b8b718d572d5f329311061eb
69
+ x-checker-data :
70
+ type : git
71
+ tag-pattern : ^sdk-([\d.]+)$
72
+ - name : spirv-cross
73
+ buildsystem : cmake-ninja
74
+ cleanup :
75
+ - /bin
76
+ sources :
77
+ - type : archive
78
+ url : " https://github.com/KhronosGroup/SPIRV-Cross/archive/d47a140735cb44e511d0188a6318c365789e4699.zip"
79
+ sha256 : 2484bb6b1afa22817f69e35746f2fe5c980539a5328cd00ea85333728eee96ae
80
+ - name : glslang
81
+ buildsystem : cmake-ninja
82
+ config-opts :
83
+ - -DCMAKE_BUILD_TYPE=Release
84
+ - -DGLSLANG_TESTS=OFF
85
+ - -DENABLE_OPT=OFF
86
+ cleanup :
87
+ - /bin
88
+ sources :
89
+ - type : git
90
+ url : https://github.com/KhronosGroup/glslang
91
+ commit : e8dd0b6903b34f1879520b444634c75ea2deedf5
92
+ tag : 14.2.0
93
+ - name : corrosion
94
+ buildsystem : cmake-ninja
95
+ config-opts :
96
+ - -DCORROSION_BUILD_TESTS=OFF
97
+ build-options :
98
+ env :
99
+ - CARGO_HOME : /run/build/corrosion/cargo
100
+ cleanup :
101
+ - /app
102
+ sources :
103
+ - type : " git"
104
+ url : https://github.com/AndrewGaspar/corrosion
105
+ commit : v0.4.5
106
+ - name : novus
107
+ buildsystem : cmake-ninja
108
+ config-opts :
109
+ - -DRust_COMPILER=/usr/lib/sdk/rust-stable/bin/rustc
110
+ - -DBUILD_FLATPAK=ON
111
+ build-options :
112
+ build-args :
113
+ - --share=network # needed for cargo unfortunately, flatpak has no native support (yet)
114
+ sources :
115
+ - type : dir
116
+ path : .
0 commit comments