import shaderc-2023.1-2.el9

This commit is contained in:
CentOS Sources 2023-03-28 12:06:56 +00:00 committed by Stepan Oksanichenko
parent cfe20d848b
commit 3a6ce1a8be
3 changed files with 11 additions and 7 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/shaderc-551f106.tar.gz SOURCES/shaderc-d0b0222.tar.gz

View File

@ -1 +1 @@
ab44f35c283b8ed860a07d2fff2455786fe69a03 SOURCES/shaderc-551f106.tar.gz f4dc4690f08d9ac436033d47ebb901ac47d84b87 SOURCES/shaderc-d0b0222.tar.gz

View File

@ -1,16 +1,16 @@
# Force out of source build # Force out of source build
%undefine __cmake_in_source_build %undefine __cmake_in_source_build
# Release 1.3.224.0 sdk # Release 2023.1
%global commit 551f106dc64a1cacb298cc2f05613d142b53302f %global commit d0b02222f33e1e5e1f521e4e4e1cbfa7fe2cf540
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapshotdate 20220811 %global snapshotdate 20230116
# Glslang revision from packaged version # Glslang revision from packaged version
%global glslang_version sdk-1.3.224.0 %global glslang_version sdk-1.3.239.0
Name: shaderc Name: shaderc
Version: 2022.2 Version: 2023.1
Release: 2%{?dist} Release: 2%{?dist}
Summary: A collection of tools, libraries, and tests for Vulkan shader compilation Summary: A collection of tools, libraries, and tests for Vulkan shader compilation
@ -78,6 +78,7 @@ rm -rf third_party
# Stolen from Gentoo # Stolen from Gentoo
# Create build-version.inc since we want to use our packaged # Create build-version.inc since we want to use our packaged
# SPIRV-Tools and glslang # SPIRV-Tools and glslang
sed -i -e '/build-version/d' glslc/CMakeLists.txt
echo \"shaderc $(grep -m1 -o '^v[[:digit:]]\{4\}\.[[:digit:]]\(-dev\)\? [[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}$' CHANGES)\" \ echo \"shaderc $(grep -m1 -o '^v[[:digit:]]\{4\}\.[[:digit:]]\(-dev\)\? [[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}$' CHANGES)\" \
> glslc/src/build-version.inc > glslc/src/build-version.inc
echo \"spirv-tools $(grep -m1 -o '^v[[:digit:]]\{4\}\.[[:digit:]]\(-dev\)\? [[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}$' /usr/share/doc/spirv-tools/CHANGES)\" \ echo \"spirv-tools $(grep -m1 -o '^v[[:digit:]]\{4\}\.[[:digit:]]\(-dev\)\? [[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}$' /usr/share/doc/spirv-tools/CHANGES)\" \
@ -126,6 +127,9 @@ sed -i 's|SPIRV/GlslangToSpv.h|glslang/SPIRV/GlslangToSpv.h|' libshaderc_util/sr
%{_libdir}/pkgconfig/shaderc_combined.pc %{_libdir}/pkgconfig/shaderc_combined.pc
%changelog %changelog
* Thu Feb 16 2023 Dave Airlie <airlied@redhat.com> - 2023.1-2
- Update for 1.3.239.0 sdk release
* Fri Aug 26 2022 Dave Airlie <airlied@redhat.com> - 2022.2-2 * Fri Aug 26 2022 Dave Airlie <airlied@redhat.com> - 2022.2-2
- Update for 1.3.224.0 sdk release - Update for 1.3.224.0 sdk release