Skip to content

Commit

Permalink
bump(main/vulkan-validation-layers): 1.4.304
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Jan 14, 2025
1 parent de9ed86 commit 2ba3fa3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions packages/vulkan-validation-layers/0004-setenv.patch
Original file line number Diff line number Diff line change
@@ -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);
4 changes: 2 additions & 2 deletions packages/vulkan-validation-layers/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2ba3fa3

Please sign in to comment.