enhance(main/glslang): Enable building glslang binaries

Those are required to generate SPIR-V binaries.
This commit is contained in:
termux-pacman-bot
2024-03-12 21:37:12 +00:00
parent 37afcce4b4
commit bea0328228
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -77,7 +77,7 @@
#
# Furthermore testing is equally problematic.
if (IOS OR ANDROID)
- set(ENABLE_GLSLANG_BINARIES OFF)
+ set(ENABLE_GLSLANG_BINARIES ON)
set(GLSLANG_TESTS_DEFAULT OFF)
endif()

View File

@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="OpenGL and OpenGL ES shader front end and validator"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="14.1.0"
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/KhronosGroup/glslang/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b5e4c36d60eda7613f36cfee3489c6f507156829c707e1ecd7f48ca45b435322
TERMUX_PKG_DEPENDS="libc++"