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

crux at crux.nu crux at crux.nu
Sat Apr 10 16:47:18 UTC 2021


commit 53cef222f28a833913cb957322379ff12c7f3b32
Author: Danny Rawlins <contact at romster.me>
Date:   Sun Apr 11 02:47:07 2021 +1000

    vulkan-loader-32: 1.2.162.0 -> 1.2.174

diff --git a/vulkan-loader-32/.footprint b/vulkan-loader-32/.footprint
index 068e94d..f2a7806 100644
--- a/vulkan-loader-32/.footprint
+++ b/vulkan-loader-32/.footprint
@@ -1,7 +1,7 @@
 drwxr-xr-x	root/root	usr/
 drwxr-xr-x	root/root	usr/lib32/
 lrwxrwxrwx	root/root	usr/lib32/libvulkan.so -> libvulkan.so.1
-lrwxrwxrwx	root/root	usr/lib32/libvulkan.so.1 -> libvulkan.so.1.2.162
--rwxr-xr-x	root/root	usr/lib32/libvulkan.so.1.2.162
+lrwxrwxrwx	root/root	usr/lib32/libvulkan.so.1 -> libvulkan.so.1.2.174
+-rwxr-xr-x	root/root	usr/lib32/libvulkan.so.1.2.174
 drwxr-xr-x	root/root	usr/lib32/pkgconfig/
 -rw-r--r--	root/root	usr/lib32/pkgconfig/vulkan.pc
diff --git a/vulkan-loader-32/.signature b/vulkan-loader-32/.signature
index 87784bd..bc919f0 100644
--- a/vulkan-loader-32/.signature
+++ b/vulkan-loader-32/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/compat-32.pub
-RWSwxGo/zH7eXWi1q/jUpDF8rE4YjUemQhREkzWQuwwmQobJZ5Iwe2SVF8CC+tMT1h6uYf2lrS7NHQlmjUn8uOqyZs7LgkXi+AM=
-SHA256 (Pkgfile) = 36b59f6865731f03334d2a83271071183c9a3a2431ec121fada44f57aca4b3ea
-SHA256 (.footprint) = a87a0a4b470fed524795230d8d58eb9ac9d5c85679bec7dbd83c150a29c14079
-SHA256 (Vulkan-Loader-sdk-1.2.162.0.tar.gz) = f8f5ec2485e7fdba3f58c1cde5a25145ece1c6a686c91ba4016b28c0af3f21dd
+RWSwxGo/zH7eXSispVAYGLXt+Dep4leopTmUZl5s/BBQZ3l0TVfMP3lhfvKr+umoYXIrZihgqVVAuaoAMbyIbPeKdPftGEP/+gg=
+SHA256 (Pkgfile) = c3f813a010aea91a32a893ceb3c0ec697f84e5eb3e709fc846a063108d26c9e4
+SHA256 (.footprint) = eb01b03ceb45ae88dca529da9f1a10d6db1fb2fbac80a851f650ea6c005c3ae6
+SHA256 (Vulkan-Loader-1.2.174.tar.gz) = c39a660da13450cb5e2d1dc571749d0e9a4f831998b20a7ad9fc7f2c99e1bb0b
diff --git a/vulkan-loader-32/Pkgfile b/vulkan-loader-32/Pkgfile
index 181765b..f447c24 100644
--- a/vulkan-loader-32/Pkgfile
+++ b/vulkan-loader-32/Pkgfile
@@ -5,23 +5,24 @@
 # Optional: wayland-32
 
 name=vulkan-loader-32
-version=1.2.162.0
+version=1.2.174
 release=1
-source=(https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-$version/Vulkan-Loader-sdk-$version.tar.gz)
+source=(https://github.com/KhronosGroup/Vulkan-Loader/archive/v$version/Vulkan-Loader-$version.tar.gz)
 
 build() {
+	prt-get isinst ninja && PKGMK_VULKAN_LOADER+=' -G Ninja'
+	prt-get isinst wayland || PKGMK_VULKAN_LOADER+=' -D BUILD_WSI_WAYLAND_SUPPORT=OFF'
+
 	export ASFLAGS='--32'
 
-	cmake -SVulkan-Loader-sdk-$version -Bbuild -GNinja \
-		-DCMAKE_INSTALL_PREFIX=/usr \
-		-DCMAKE_INSTALL_LIBDIR=lib32 \
-		-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_SKIP_RPATH=True \
-		-DBUILD_TESTS=False \
-		-DBUILD_LOADER=True \
-		-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)" \
+	cmake -S Vulkan-Loader-$version -B build $PKGMK_VULKAN_LOADER \
+		-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 CMAKE_SKIP_RPATH=ON \
+		-D BUILD_TESTS=OFF
 
 	cmake --build build
 	DESTDIR=$PKG cmake --build build --target install


More information about the crux-commits mailing list