[packages/glslang] - updated to 15.1.0 with Vulkan 1.4 support
qboosh
qboosh at pld-linux.org
Sun Mar 23 16:19:15 CET 2025
commit 4f879f66873d3932adc53d081993a8a66cf441de
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 23 15:45:00 2025 +0100
- updated to 15.1.0 with Vulkan 1.4 support
glslang-symlink.patch | 20 ++++++++++----------
glslang.spec | 16 ++++++++--------
2 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/glslang.spec b/glslang.spec
index 93089ed..40b5cee 100644
--- a/glslang.spec
+++ b/glslang.spec
@@ -6,23 +6,23 @@
Summary: Khronos reference front-end for GLSL and ESSL
Summary(pl.UTF-8): Wzorcowy frontend GLSL i ESSL z projektu Khronos
Name: glslang
-Version: 14.1.0
+Version: 15.1.0
Release: 1
License: BSD-like
Group: Applications/Graphics
#Source0Download: https://github.com/KhronosGroup/glslang/releases
Source0: https://github.com/KhronosGroup/glslang/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: b2d0ae963b44e23533409eb63ea06a56
+# Source0-md5: 2bf049666f223732fc18d6c8b16b98cf
Patch0: %{name}-symlink.patch
URL: https://github.com/KhronosGroup/glslang
BuildRequires: bison
-BuildRequires: cmake >= 3.17.2
+BuildRequires: cmake >= 3.27
BuildRequires: libstdc++-devel >= 6:7
BuildRequires: python3
BuildRequires: python3-modules
BuildRequires: rpmbuild(macros) >= 1.605
%if %{with tests} || %{with spirv_opt}
-BuildRequires: spirv-tools-devel >= 1:2024.1
+BuildRequires: spirv-tools-devel >= 1:2025.1
%endif
%if %{with spirv_opt}
%requires_ge_to spirv-tools-libs spirv-tools-devel
@@ -86,13 +86,13 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_bindir}/glslangValidator
%attr(755,root,root) %{_bindir}/spirv-remap
%attr(755,root,root) %{_libdir}/libSPIRV.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libSPIRV.so.14
+%attr(755,root,root) %ghost %{_libdir}/libSPIRV.so.15
%attr(755,root,root) %{_libdir}/libSPVRemapper.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libSPVRemapper.so.14
+%attr(755,root,root) %ghost %{_libdir}/libSPVRemapper.so.15
%attr(755,root,root) %{_libdir}/libglslang.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libglslang.so.14
+%attr(755,root,root) %ghost %{_libdir}/libglslang.so.15
%attr(755,root,root) %{_libdir}/libglslang-default-resource-limits.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libglslang-default-resource-limits.so.14
+%attr(755,root,root) %ghost %{_libdir}/libglslang-default-resource-limits.so.15
%files devel
%defattr(644,root,root,755)
diff --git a/glslang-symlink.patch b/glslang-symlink.patch
index ae92619..8798470 100644
--- a/glslang-symlink.patch
+++ b/glslang-symlink.patch
@@ -1,11 +1,11 @@
---- glslang-14.0.0/StandAlone/CMakeLists.txt.orig 2023-12-22 18:11:28.000000000 +0100
-+++ glslang-14.0.0/StandAlone/CMakeLists.txt 2024-02-29 20:31:40.878763802 +0100
-@@ -116,7 +116,7 @@ if(PROJECT_IS_TOP_LEVEL)
- # Create the same symlink at install time
- install(CODE "execute_process( \
- COMMAND ${CMAKE_COMMAND} -E ${link_method} $<TARGET_FILE_NAME:glslang-standalone> ${legacy_glslang_name} \
-- WORKING_DIRECTORY \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")
-+ WORKING_DIRECTORY \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR})")
+--- glslang-15.1.0/StandAlone/CMakeLists.txt.orig 2025-03-23 13:58:35.622140918 +0100
++++ glslang-15.1.0/StandAlone/CMakeLists.txt 2025-03-23 14:08:21.628966247 +0100
+@@ -109,7 +109,7 @@ if(GLSLANG_ENABLE_INSTALL)
+ message(STATUS \"Installing (${link_method}): \$<TARGET_FILE_NAME:glslang-standalone> -> \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}\")
+ execute_process(
+ COMMAND \"\${CMAKE_COMMAND}\" -E ${link_method} [=[\$<TARGET_FILE_NAME:glslang-standalone>]=] [=[${legacy_glslang_name}]=]
+- WORKING_DIRECTORY \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}\"
++ WORKING_DIRECTORY \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}\"
+ )
+ ")
- if(ENABLE_SPVREMAPPER)
- install(TARGETS spirv-remap EXPORT glslang-targets)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glslang.git/commitdiff/4f879f66873d3932adc53d081993a8a66cf441de
More information about the pld-cvs-commit
mailing list