shaderc: update to 2024.3.

This commit is contained in:
dataCobra 2024-10-03 16:23:23 +02:00 committed by classabbyamp
parent d690e51ebd
commit e7751e935b
2 changed files with 2 additions and 27 deletions

View File

@ -1,25 +0,0 @@
https://github.com/google/shaderc/pull/463
--- a/glslc/CMakeLists.txt
+++ b/glslc/CMakeLists.txt
@@ -43,7 +43,7 @@ if (SHADERC_ENABLE_WGSL_OUTPUT)
endif(SHADERC_ENABLE_WGSL_OUTPUT)
target_link_libraries(glslc PRIVATE
- glslang OSDependent OGLCompiler HLSL glslang SPIRV # Glslang libraries
+ glslang OSDependent OGLCompiler glslang SPIRV HLSL # Glslang libraries
$<$<BOOL:${SHADERC_ENABLE_WGSL_OUTPUT}>:libtint> # Tint libraries, optional
shaderc_util shaderc # internal Shaderc libraries
${CMAKE_THREAD_LIBS_INIT})
--- a/libshaderc_util/CMakeLists.txt
+++ b/libshaderc_util/CMakeLists.txt
@@ -46,8 +46,8 @@ add_definitions(-DENABLE_HLSL)
find_package(Threads)
target_link_libraries(shaderc_util PRIVATE
- glslang OSDependent OGLCompiler HLSL glslang SPIRV
- SPIRV-Tools-opt ${CMAKE_THREAD_LIBS_INIT})
+ glslang OSDependent OGLCompiler glslang HLSL SPIRV
+ SPIRV-Tools-opt SPIRV-Tools ${CMAKE_THREAD_LIBS_INIT})
shaderc_add_tests(
TEST_PREFIX shaderc_util

View File

@ -1,6 +1,6 @@
# Template file for 'shaderc'
pkgname=shaderc
version=2022.2
version=2024.3
revision=1
build_style=cmake
configure_args="-DSHADERC_SKIP_TESTS=ON"
@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/google/shaderc"
distfiles="https://github.com/google/shaderc/archive/v${version}.tar.gz"
checksum=517d36937c406858164673db696dc1d9c7be7ef0960fbf2965bfef768f46b8c0
checksum=d5c68b5de5d4c7859d9699054493e0a42a2a5eb21b425d63f7b7dd543db0d708
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/glslang"
LDFLAGS="-Wl,--no-undefined"