[crux-commits] ports/compat-32 (3.6): vulkan-tools-32: 1.2.162.0 -> 1.2.174

crux at crux.nu crux at crux.nu
Sat Apr 10 15:54:47 UTC 2021


commit f97e7bcce8d32a6a1b038521d7326161bcdb856b
Author: Danny Rawlins <contact at romster.me>
Date:   Sun Apr 11 01:41:19 2021 +1000

    vulkan-tools-32: 1.2.162.0 -> 1.2.174

diff --git a/vulkan-tools-32/.signature b/vulkan-tools-32/.signature
index 8edb5e8..1239dc7 100644
--- a/vulkan-tools-32/.signature
+++ b/vulkan-tools-32/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/compat-32.pub
-RWSwxGo/zH7eXfnsE7uqpFCKTEhNPLwquBTiSIrA6NoE09vwKxVo6mMNx0RQ4ergDY2UjlW2MxBJBg5qNVXWxsW5Y1mr9nYDVwg=
-SHA256 (Pkgfile) = 61b2238a0ca66570257ca95c07f1a84dc43dbc73960523cf7acfb39e7946ba63
+RWSwxGo/zH7eXUTYqBgn+9qrddIzN2ukhWYV3wtLcKS8UOpS5d+bVZWtGXFvHgCE5d8YnplJhyFFFLqsmaYRShHE0BSrAXkn8gg=
+SHA256 (Pkgfile) = 0112159dab0758c2f23bbf3040487406c27eee2406f344a5605ec473c6c778ab
 SHA256 (.footprint) = 87637197eea1098d4b7b48a2c38eaf7d6a306005fb53696ed5fb268190daf397
-SHA256 (Vulkan-Tools-sdk-1.2.162.0.tar.gz) = 8324a6dfd1bc20d4fad45c4ea56357d8354fc03e3e4529d0a4919f124d9e6106
+SHA256 (Vulkan-Tools-1.2.174.tar.gz) = c8b537d3a8f18550b8720a8a3c0006949e2575d547d88fa94858ab7413cee7de
diff --git a/vulkan-tools-32/Pkgfile b/vulkan-tools-32/Pkgfile
index ff86fe2..4878d9a 100644
--- a/vulkan-tools-32/Pkgfile
+++ b/vulkan-tools-32/Pkgfile
@@ -5,25 +5,29 @@
 # Optional: wayland-32
 
 name=vulkan-tools-32
-version=1.2.162.0
+version=1.2.174
 release=1
-source=(https://github.com/KhronosGroup/Vulkan-Tools/archive/sdk-$version/Vulkan-Tools-sdk-$version.tar.gz)
+source=(https://github.com/KhronosGroup/Vulkan-Tools/archive/v$version/Vulkan-Tools-$version.tar.gz)
 
 build() {
+	prt-get isinst ninja && PKGMK_VULKAN_TOOLS+=' -G Ninja'
+	prt-get isinst wayland-32 || PKGMK_VULKAN_TOOLS+=' -D BUILD_WSI_WAYLAND_SUPPORT=OFF'
+
 	export ASFLAGS='--32'
 
-	cmake -SVulkan-Tools-sdk-$version -Bbuild -GNinja \
-		-DCMAKE_INSTALL_PREFIX=/usr \
-		-DCMAKE_INSTALL_LIBDIR=lib32 \
-		-DCMAKE_BUILD_TYPE=Release \
-		-DGLSLANG_INSTALL_DIR=/usr \
-		-DBUILD_CUBE=True \
-		-DBUILD_VULKANINFO=True \
-		-DCUBE_WSI_SELECTION=XCB \
-		-DBUILD_WSI_XCB_SUPPORT=True \
-		-DBUILD_WSI_XLIB_SUPPORT=True \
-		-DBUILD_WSI_WAYLAND_SUPPORT="$(prt-get isinst wayland-32 &> /dev/null && echo ON || echo OFF)" \
-		-DBUILD_ICD=OFF \
+	cmake -S Vulkan-Tools-$version -B build $PKGMK_VULKAN_TOOLS \
+		-D CMAKE_INSTALL_PREFIX=/usr \
+		-D CMAKE_INSTALL_LIBDIR=lib32 \
+		-D CMAKE_BUILD_TYPE=Release \
+		-D CMAKE_C_FLAGS_RELEASE="${CFLAGS}" \
+		-D CMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS}" \
+		-D GLSLANG_INSTALL_DIR=/usr \
+		-D BUILD_CUBE=True \
+		-D BUILD_VULKANINFO=True \
+		-D CUBE_WSI_SELECTION=XCB \
+		-D BUILD_WSI_XCB_SUPPORT=True \
+		-D BUILD_WSI_XLIB_SUPPORT=True \
+		-D BUILD_ICD=OFF \
 		-Wno-dev
 
 	cmake --build build


More information about the crux-commits mailing list