From 2ba3fa3ff113b936213bf368b0730f18a5070a07 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 14 Jan 2025 10:02:46 +0000 Subject: [PATCH] bump(main/vulkan-validation-layers): 1.4.304 --- packages/vulkan-validation-layers/0004-setenv.patch | 11 +++++++++++ packages/vulkan-validation-layers/build.sh | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 packages/vulkan-validation-layers/0004-setenv.patch diff --git a/packages/vulkan-validation-layers/0004-setenv.patch b/packages/vulkan-validation-layers/0004-setenv.patch new file mode 100644 index 00000000000000..9267396608bd34 --- /dev/null +++ b/packages/vulkan-validation-layers/0004-setenv.patch @@ -0,0 +1,11 @@ +--- a/layers/vk_layer_config.cpp ++++ b/layers/vk_layer_config.cpp +@@ -90,7 +90,7 @@ + } + + void SetEnvironment(const char *variable, const char *value) { +-#if !defined(__ANDROID__) && !defined(_WIN32) ++#if !defined(__ANDROID__) && !defined(_WIN32) || defined(__TERMUX__) + setenv(variable, value, 1); + #elif defined(_WIN32) + SetEnvironmentVariable(variable, value); diff --git a/packages/vulkan-validation-layers/build.sh b/packages/vulkan-validation-layers/build.sh index 0dd9058dd0c181..0b7e7893f8f293 100644 --- a/packages/vulkan-validation-layers/build.sh +++ b/packages/vulkan-validation-layers/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/KhronosGroup/Vulkan-ValidationLayers TERMUX_PKG_DESCRIPTION="Vulkan Validation Layers" TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.3.297" +TERMUX_PKG_VERSION="1.4.304" TERMUX_PKG_SRCURL=https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=11220ccc139f5517b3a3aa2e2ef0d680da314940c9bb98c7f3857a871bdb2205 +TERMUX_PKG_SHA256=fd889b0135b7770a3d9819ed1273009ddd654b9715b09c0af150eca8ffc15eb2 TERMUX_PKG_DEPENDS="libc++, vulkan-loader" TERMUX_PKG_BUILD_DEPENDS="libwayland, libx11, libxcb, libxrandr, spirv-headers, spirv-tools, vulkan-headers (=${TERMUX_PKG_VERSION}), vulkan-utility-libraries (=${TERMUX_PKG_VERSION})" TERMUX_PKG_ANTI_BUILD_DEPENDS="vulkan-loader"