mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 18:33:17 +00:00
enhance(main/glslang): Enable building glslang binaries
Those are required to generate SPIR-V binaries.
This commit is contained in:
11
packages/glslang/CMakeLists.txt.patch
Normal file
11
packages/glslang/CMakeLists.txt.patch
Normal 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()
|
||||
|
||||
@@ -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++"
|
||||
|
||||
Reference in New Issue
Block a user