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

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


commit e93c99eadea48aec736c46c3308b86358f3f6fc5
Author: Danny Rawlins <contact at romster.me>
Date:   Mon Apr 5 15:24:34 2021 +1000

    vulkan-loader: 1.2.162.0 -> 1.2.174

diff --git a/vulkan-loader/.footprint b/vulkan-loader/.footprint
index 21b360e19..2ccf3e2d8 100644
--- a/vulkan-loader/.footprint
+++ b/vulkan-loader/.footprint
@@ -1,7 +1,7 @@
 drwxr-xr-x	root/root	usr/
 drwxr-xr-x	root/root	usr/lib/
 lrwxrwxrwx	root/root	usr/lib/libvulkan.so -> libvulkan.so.1
-lrwxrwxrwx	root/root	usr/lib/libvulkan.so.1 -> libvulkan.so.1.2.162
--rwxr-xr-x	root/root	usr/lib/libvulkan.so.1.2.162
+lrwxrwxrwx	root/root	usr/lib/libvulkan.so.1 -> libvulkan.so.1.2.174
+-rwxr-xr-x	root/root	usr/lib/libvulkan.so.1.2.174
 drwxr-xr-x	root/root	usr/lib/pkgconfig/
 -rw-r--r--	root/root	usr/lib/pkgconfig/vulkan.pc
diff --git a/vulkan-loader/.signature b/vulkan-loader/.signature
index d3835346f..9a4295d24 100644
--- a/vulkan-loader/.signature
+++ b/vulkan-loader/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/QzDnmFzjhPvNK9f4t1k/CdBTUMNpejZh5/OeEn0ijIt2S5Rxv6sORIUO4Lx1MuoKTRbzxjKI1HFKEmQ8o3cBwo=
-SHA256 (Pkgfile) = 2a23a15f53fc2dbb824347eadd02fde8c60667ff9984acfc9a26fc1584256382
-SHA256 (.footprint) = 5813d5857dc76fde9827dcb8b807af89dd9e313afd60fddce10eb86e0db956fd
-SHA256 (Vulkan-Loader-sdk-1.2.162.0.tar.gz) = f8f5ec2485e7fdba3f58c1cde5a25145ece1c6a686c91ba4016b28c0af3f21dd
+RWSE3ohX2g5d/b52tlwXs4DxbpcmHXF1heJy08ysAsNzmvc8NvZZkh03TUZhDWz+SkwKxxHxFkZK1OKepN6HsTLSqci404PsVA0=
+SHA256 (Pkgfile) = e2497c228863ddea3e0f3c57e1721b5e31809315287ab77832a1902e8df34ba9
+SHA256 (.footprint) = 6f3e447aa4cda128719757b9db5c24bff7d80d4061eb344f83ab677da14b6d8d
+SHA256 (Vulkan-Loader-1.2.174.tar.gz) = c39a660da13450cb5e2d1dc571749d0e9a4f831998b20a7ad9fc7f2c99e1bb0b
diff --git a/vulkan-loader/Pkgfile b/vulkan-loader/Pkgfile
index 2831da04e..15ccc0339 100644
--- a/vulkan-loader/Pkgfile
+++ b/vulkan-loader/Pkgfile
@@ -4,21 +4,22 @@
 # Depends on: vulkan-headers xorg-libxrandr
 
 name=vulkan-loader
-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() {
-	cmake -SVulkan-Loader-sdk-$version -Bbuild -GNinja \
-		-DCMAKE_INSTALL_PREFIX=/usr \
-		-DCMAKE_INSTALL_LIBDIR=lib \
-		-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 &> /dev/null && echo ON || echo OFF)"
+	prt-get isinst ninja && PKGMK_VULKAN_LOADER+=' -G Ninja'
+	prt-get isinst wayland || PKGMK_VULKAN_LOADER+=' -D BUILD_WSI_WAYLAND_SUPPORT=OFF'
+
+	cmake -S Vulkan-Loader-$version -B build $PKGMK_VULKAN_LOADER \
+		-D CMAKE_INSTALL_PREFIX=/usr \
+		-D CMAKE_INSTALL_LIBDIR=lib \
+		-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 --install build


More information about the crux-commits mailing list