Update for 1.3.239.0 sdk release

Resolves: rhbz#2135185
This commit is contained in:
Dave Airlie 2023-02-16 11:44:19 +10:00
parent 7ad736c2dd
commit 2d6c5ec0e4
3 changed files with 11 additions and 6 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@
/shaderc-1bbf43f.tar.gz /shaderc-1bbf43f.tar.gz
/shaderc-b4a8e45.tar.gz /shaderc-b4a8e45.tar.gz
/shaderc-551f106.tar.gz /shaderc-551f106.tar.gz
/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

View File

@ -1 +1 @@
SHA512 (shaderc-551f106.tar.gz) = 368c65ceb7a51e07f9069c19d8cf3c551d3850ad0e02edf159fef9c68ddcf1ab94f3b3b7e36363edc6b69801f9e6a8201a56a5034c858f998d7925eaf672717d SHA512 (shaderc-d0b0222.tar.gz) = e9d91ca0ffdd66df457ad8f288f34bd0b3aa5b76e66320f0c38cb867db4cc0bc4419fe82b99826df116dd8398d6da39867dcac9c32c68596b09782faad120eab