diff --git a/0001-Revert-CMake-Make-glslang-default-resource-limits-ST.patch b/0001-Revert-CMake-Make-glslang-default-resource-limits-ST.patch deleted file mode 100644 index 76afac9..0000000 --- a/0001-Revert-CMake-Make-glslang-default-resource-limits-ST.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 949e46a187d4d97d6a63495ba76438523f021015 Mon Sep 17 00:00:00 2001 -From: Jan Engelhardt -Date: Wed, 23 Aug 2023 00:16:04 +0200 -Subject: [PATCH] Revert "CMake: Make glslang-default-resource-limits STATIC" - -This reverts commit 6f22e41e0de13aff75807cca9662730d8b3e54b6. ---- - glslang/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: glslang-sdk-1.3.261.0/glslang/CMakeLists.txt -=================================================================== ---- glslang-sdk-1.3.261.0.orig/glslang/CMakeLists.txt -+++ glslang-sdk-1.3.261.0/glslang/CMakeLists.txt -@@ -195,7 +195,7 @@ set(RESOURCELIMITS_HEADERS - Public/resource_limits_c.h - ) - --add_library(glslang-default-resource-limits STATIC ${RESOURCELIMITS_SOURCES} ${RESOURCELIMITS_HEADERS}) -+add_library(glslang-default-resource-limits ${RESOURCELIMITS_SOURCES} ${RESOURCELIMITS_HEADERS}) - set_target_properties(glslang-default-resource-limits PROPERTIES - VERSION "${GLSLANG_VERSION}" - SOVERSION "${GLSLANG_VERSION_MAJOR}" diff --git a/13.0.0.tar.gz b/13.0.0.tar.gz deleted file mode 100644 index 601dca0..0000000 --- a/13.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bcda732434f829aa74414ea0e06d329ec8ac28637c38a0de45e17c8fd25a4715 -size 3710806 diff --git a/13.1.1.tar.gz b/13.1.1.tar.gz new file mode 100644 index 0000000..c068244 --- /dev/null +++ b/13.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c4d0a5a38c8aaf89a2d7e6093be734320599f5a6775b2726beeb05b0c054e66 +size 3763210 diff --git a/glslang.changes b/glslang.changes index 3f74dac..1f580fb 100644 --- a/glslang.changes +++ b/glslang.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Oct 22 02:09:01 UTC 2023 - Jan Engelhardt + +- Update to release 13.1.1 + * Support GL_EXT_texture_shadow_lod, GL_NV_displacement_micromap + * Add --no-link option +- Drop merged + 0001-Revert-CMake-Make-glslang-default-resource-limits-ST.patch + ------------------------------------------------------------------- Wed Sep 6 22:49:08 UTC 2023 - Jan Engelhardt diff --git a/glslang.spec b/glslang.spec index f9b3895..c8cafa3 100644 --- a/glslang.spec +++ b/glslang.spec @@ -18,7 +18,7 @@ %define lname libglslang13 Name: glslang -Version: 13.0.0 +Version: 13.1.1 Release: 0 Summary: OpenGL and OpenGL ES shader front end and validator License: BSD-3-Clause @@ -27,12 +27,12 @@ URL: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/ #Git-URL: https://github.com/KhronosGroup/glslang Source: https://github.com/KhronosGroup/glslang/archive/%version.tar.gz Source3: baselibs.conf -Patch1: 0001-Revert-CMake-Make-glslang-default-resource-limits-ST.patch BuildRequires: bison BuildRequires: cmake >= 3.14.0 BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python3-base +BuildRequires: spirv-tools-devel %description glslang is a compiler front end for the OpenGL ES and OpenGL shading @@ -88,7 +88,8 @@ but which some downstream packages rely on. # ABI keeps on breaking (gh#3052 #3311 #3312) echo "V_%version { global: *; };" >/tmp/z.sym # Trim -Wl,--no-undefined for now (https://github.com/KhronosGroup/glslang/issues/1484) -%cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" +%cmake -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \ + -DALLOW_EXTERNAL_SPIRV_TOOLS:BOOL=ON -DENABLE_OPT:BOOL=ON %make_build %install