[crux-commits] ports/opt (3.6): spirv-headers: 1.5.4-f027d53 -> 1.5.4.raytracing.fixed

crux at crux.nu crux at crux.nu
Mon Apr 5 05:35:26 UTC 2021


commit 401579657cee062f4653c1c920e39b33b396e70d
Author: Danny Rawlins <contact at romster.me>
Date:   Mon Apr 5 15:15:05 2021 +1000

    spirv-headers: 1.5.4-f027d53 -> 1.5.4.raytracing.fixed

diff --git a/spirv-headers/.signature b/spirv-headers/.signature
index b83da7556..5e0d6374c 100644
--- a/spirv-headers/.signature
+++ b/spirv-headers/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/fnKB9TYGYirpeEf9o2814JmwTFw67RYlX8vEXJ/CaLEd4yoOvMwbYB3TM86N0Sv2dq6rP2U7bmZkT5ZVC3JDQM=
-SHA256 (Pkgfile) = 65df064c376f5119aaa2b8f8c67962c3bc5b8e0fccd5f5d7882a6e3fcbbd751d
+RWSE3ohX2g5d/bCRXFlX9GYWGydsrMTFXsafk1MxA6QDajOUcDVYoxDgFHAsOL8a32ATs4Lpn3A2IZW4C/9i70LUdL17XPeD9gY=
+SHA256 (Pkgfile) = 9fc10e537671426cca3a12db3dd9ef3fd27498cae06c22def2b468ecb4abaa13
 SHA256 (.footprint) = 051b31aecd3e919aa7f5b6c995e1c913350e6c210ed660ac2cb46030df110d9c
-SHA256 (f027d53ded7e230e008d37c8b47ede7cd308e19d.zip) = 134a559f8bedb73c792415965a611b250fcb328de4576c922acf9a2679f746c4
+SHA256 (SPIRV-Headers-1.5.4.raytracing.fixed.tar.gz) = df2ad2520be4d95a479fa248921065885bbf435a658349a7fc164ad7b26b68c6
diff --git a/spirv-headers/Pkgfile b/spirv-headers/Pkgfile
index 79f3e6d40..1566378dc 100644
--- a/spirv-headers/Pkgfile
+++ b/spirv-headers/Pkgfile
@@ -1,20 +1,17 @@
 # Description: Header files from the SPIR-V registry
 # URL: https://www.khronos.org/registry/spir-v/
 # Maintainer: Danny Rawlins, crux at romster dot me
-# Depends on: cmake ninja
+# Depends on: cmake
 
 name=spirv-headers
-version=1.5.4-f027d53
+version=1.5.4.raytracing.fixed
 release=1
-source=(
-	#https://github.com/KhronosGroup/SPIRV-Headers/archive/$version/SPIRV-Headers-$version.tar.gz
-	https://github.com/KhronosGroup/SPIRV-Headers/archive/f027d53ded7e230e008d37c8b47ede7cd308e19d.zip
-)
+source=(https://github.com/KhronosGroup/SPIRV-Headers/archive/$version/SPIRV-Headers-$version.tar.gz)
 
 build() {
-	mv SPIRV-Headers-f027d53ded7e230e008d37c8b47ede7cd308e19d SPIRV-Headers-$version
+	prt-get isinst ninja && PKGMK_SPIRV_HEADERS+=' -G Ninja'
 
-	cmake -SSPIRV-Headers-$version -Bbuild -GNinja \
+	cmake -S SPIRV-Headers-$version -B build $PKGMK_SPIRV_HEADERS \
 		-DCMAKE_INSTALL_PREFIX=/usr \
 		-DCMAKE_INSTALL_LIBDIR=lib \
 		-DCMAKE_BUILD_TYPE=Release \


More information about the crux-commits mailing list