2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-21 14:50:07 -07:00

libplacebo: drop vulkan-headers dependency

This commit is contained in:
Owen Rafferty 2024-07-19 19:30:08 -05:00
parent 984afd0799
commit 2e95bc8fee
No known key found for this signature in database
5 changed files with 15 additions and 1 deletions

View File

@ -2,6 +2,8 @@
export DESTDIR="$1"
patch -p1 < no-vulkan-headers.patch
meson setup \
-Dprefix=/usr \
-Dbuildtype=release \

View File

@ -1 +1,2 @@
3363de224b28315dc695160d44bdc2eff3d6856b5e379583b5c720b5fff766aada
b53cad5829a26f43721e45852aa7cfdf200c0063804ed2451649bc5a0e104a6984

View File

@ -1,4 +1,3 @@
meson make
python-glad make
python-markupsafe make
vulkan-headers make

View File

@ -0,0 +1,11 @@
diff --git a/src/vulkan/meson.build b/src/vulkan/meson.build
index 64c5572..b4bd46a 100644
--- a/src/vulkan/meson.build
+++ b/src/vulkan/meson.build
@@ -54,6 +54,4 @@ if vulkan_build.allowed()
build_deps += vulkan_loader
tests += 'vulkan.c'
endif
-else
- sources += 'vulkan/stubs.c'
endif

View File

@ -1 +1,2 @@
https://code.videolan.org/videolan/libplacebo/-/archive/v7.349.0/libplacebo-v7.349.0.tar.gz
patches/no-vulkan-headers.patch