-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.freedesktop.Platform.VulkanLayer.vkBasalt.yml
74 lines (70 loc) · 2.34 KB
/
org.freedesktop.Platform.VulkanLayer.vkBasalt.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
id: org.freedesktop.Platform.VulkanLayer.vkBasalt
default-branch: '24.08'
sdk: org.freedesktop.Sdk
runtime: org.freedesktop.Platform
runtime-version: '24.08'
build-extension: true
appstream-compose: false
sdk-extensions:
- org.freedesktop.Sdk.Compat.i386
- org.freedesktop.Sdk.Extension.toolchain-i386
build-options:
prefix: /usr/lib/extensions/vulkan/vkBasalt
prepend-path: /usr/lib/extensions/vulkan/vkBasalt/bin
env:
C_INCLUDE_PATH: /usr/lib/extensions/vulkan/vkBasalt/include
CPLUS_INCLUDE_PATH: /usr/lib/extensions/vulkan/vkBasalt/include
strip: true
modules:
- name: spirv-headers
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DSPIRV_SKIP_EXECUTABLES=ON
cleanup:
- /bin
sources:
- type: git
url: https://github.com/KhronosGroup/SPIRV-Headers.git
tag: vulkan-sdk-1.4.304.0
commit: 3f17b2af6784bfa2c5aa5dbb8e0e74a607dd8b3b
x-checker-data:
type: git
tag-pattern: ^vulkan-sdk-([\d.]+)$
- name: vkBasalt
post-install:
- install -Dm644 ../config/vkBasalt.conf ${FLATPAK_DEST}/etc/vkBasalt/vkBasalt.conf
build-options:
libdir: lib/x86_64-linux-gnu
buildsystem: meson
config-opts: &vkBasalt-config-opts
- -Dappend_libdir_vkbasalt=true
sources: &vkBasalt-sources
- type: git
url: https://github.com/DadSchoorse/vkBasalt.git
tag: v0.3.2.10
commit: 4f97f09ffe91900e6ca136cc26cf7966f8f6970d
x-checker-data:
type: git
tag-pattern: ^v([\d.]+)$
- name: vkBasalt-32bit
build-options:
prepend-pkg-config-path: /usr/lib/i386-linux-gnu/pkgconfig
append-path: /usr/lib/sdk/toolchain-i386/bin
env:
CC: ccache i686-unknown-linux-gnu-gcc
CXX: ccache i686-unknown-linux-gnu-g++
libdir: lib/i386-linux-gnu
buildsystem: meson
config-opts: *vkBasalt-config-opts
sources: *vkBasalt-sources
- name: metadata
buildsystem: simple
build-commands:
- install -Dm644 -t ${FLATPAK_DEST}/share/metainfo ${FLATPAK_ID}.metainfo.xml
- appstreamcli compose --components=${FLATPAK_ID} --prefix=/ --origin=${FLATPAK_ID}
--result-root=${FLATPAK_DEST} --data-dir=${FLATPAK_DEST}/share/app-info/xmls
${FLATPAK_DEST}
sources:
- type: file
path: org.freedesktop.Platform.VulkanLayer.vkBasalt.metainfo.xml