-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathio.github.lleny.vkhandybug.yml
65 lines (65 loc) · 2.08 KB
/
io.github.lleny.vkhandybug.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
id: io.github.lleny.vkhandybug
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
add-extensions:
org.freedesktop.Platform.GL:
version: "22.08"
no-debuginfo: true
build-options:
build-args:
- --share=network
finish-args:
- --share=network
- --share=ipc
- --socket=x11
- --socket=wayland
- --device=dri
- --socket=pulseaudio
- --filesystem=home:rw
command: /app/bin/vkhandybug.sh
modules:
- name: vkhandybug
buildsystem: simple
build-commands:
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release .
- cmake --build . --target=vkhandybug
- cmake --install . --prefix "/app"
- install -Dm755 vkhandybug.sh /app/bin/vkhandybug.sh
- install -Dp -m 644 icon.png /app/share/icons/hicolor/32x32/apps/io.github.lleny.vkhandybug.png
- install -Dp -m 644 io.github.lleny.vkhandybug.desktop /app/share/applications/io.github.lleny.vkhandybug.desktop
- install -Dp -m 644 io.github.lleny.vkhandybug.appdata.xml /app/share/appdata/io.github.lleny.vkhandybug.appdata.xml
sources:
- type: dir
path: .
- type: script
dest-filename: vkhandybug.sh
commands:
- cd /app/bin
- ./vkhandybug
- type: file
path: 'assets/icon.png'
- type: file
path: 'assets/io.github.lleny.vkhandybug.desktop'
- type: file
path: 'assets/io.github.lleny.vkhandybug.appdata.xml'
modules:
- name: SPIRV-Tools
buildsystem: simple
build-commands:
- python3 utils/git-sync-deps
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DSPIRV_TOOLS_BUILD_STATIC=OFF -DBUILD_SHARED_LIBS=1 -DSPIRV_SKIP_TESTS=ON -DSPIRV_SKIP_EXECUTABLES=ON -DSPIRV_WARN_EVERYTHING=OFF -DSPIRV_WERROR=OFF .
- cmake --build .
- cmake --install . --prefix "/app"
sources:
- type: git
url: https://github.com/KhronosGroup/SPIRV-Tools.git
tag: v2023.2
cleanup:
- 'files/lib/debug/*'
- '*.debug'
- '*.a'
- '*.h'
- '*.cpp'
- '*.c'
- '*.cmake'