[crux-commits] ports/opt (3.6): vulkan-tools: 1.1.126.0 -> 1.2.135.0

crux at crux.nu crux at crux.nu
Wed Jun 10 08:33:33 UTC 2020


commit 08fc11c42ca1041d2d00d00e2424daf6a881b73d
Author: Danny Rawlins <monster.romster at gmail.com>
Date:   Sun Jun 7 18:00:50 2020 +1000

    vulkan-tools: 1.1.126.0 -> 1.2.135.0

diff --git a/vulkan-tools/.signature b/vulkan-tools/.signature
index 0666e2f5a..337f4f8ee 100644
--- a/vulkan-tools/.signature
+++ b/vulkan-tools/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/WLLC0Yh3nQGetzQfw4z+90A7fh6+iqwkSyKIjV65WZP49oxR7Xb1Whd7lKSKqw555U2u5GEPUPWM8yXehkmUwE=
-SHA256 (Pkgfile) = 268238e5fdc72c2485f51b146eb755a39d7e37e02ebcf04ddeaa3649f5801cc1
+RWSE3ohX2g5d/eGCvOs6jjnqHdUmb17jtQhmGCF3CoyL1famNRpYjQdRitMpqLTXhdwkJlqw1PO2kivrrabL4rD3wgY+gy4+jQs=
+SHA256 (Pkgfile) = 8a632a4592a4cf407da55338078d2c24d8ef8c16fb2e22660e0493aac8e34fde
 SHA256 (.footprint) = 2193acbc7cabcf79829a7caf3821d84e01bc4e695a36a948b8eb4379bbf8150f
-SHA256 (Vulkan-Tools-sdk-1.1.126.0.tar.gz) = 830330144f31c1711ea8cf4d7640421e3dbd025a854cb5f097973719fdf671fd
+SHA256 (Vulkan-Tools-sdk-1.2.135.0.tar.gz) = 83add7b6390ab1eb9b71106b50d7f5ae6afb74374762f0028afc9fdef5380c83
diff --git a/vulkan-tools/Pkgfile b/vulkan-tools/Pkgfile
index 25832c287..d6ce80407 100644
--- a/vulkan-tools/Pkgfile
+++ b/vulkan-tools/Pkgfile
@@ -4,19 +4,13 @@
 # Depends on: glslang vulkan-loader
 
 name=vulkan-tools
-version=1.1.126.0
-release=2
+version=1.2.135.0
+release=1
 source=(https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-$version/Vulkan-Tools-sdk-$version.tar.gz)
 
 build() {
-	cd Vulkan-Tools-sdk-$version
-
-	mkdir build
-	cd build
-
-	cmake .. \
+	cmake -SVulkan-Tools-sdk-$version -Bbuild -GNinja \
 		-DCMAKE_INSTALL_PREFIX=/usr \
-		-DCMAKE_INSTALL_LIBDIR=lib \
 		-DCMAKE_BUILD_TYPE=Release \
 		-DGLSLANG_INSTALL_DIR=/usr \
 		-DBUILD_CUBE=True \
@@ -24,10 +18,9 @@ build() {
 		-DCUBE_WSI_SELECTION='XCB' \
 		-DBUILD_WSI_XCB_SUPPORT=True \
 		-DBUILD_WSI_XLIB_SUPPORT=True \
-		-DBUILD_WSI_WAYLAND_SUPPORT=$(prt-get isinst wayland &> /dev/null && echo ON || echo OFF) \
-		-DBUILD_ICD=OFF \
-		-GNinja
+		-DBUILD_WSI_WAYLAND_SUPPORT="$(prt-get isinst wayland &> /dev/null && echo ON || echo OFF)" \
+		-DBUILD_ICD=OFF
 
-	ninja -j ${JOBS:-1}
-	DESTDIR=$PKG ninja install
+	cmake --build build
+	DESTDIR=$PKG cmake --build build --target install
 }


More information about the crux-commits mailing list