- Update to release 2023.8

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/shaderc?expand=0&rev=60
This commit is contained in:
Jan Engelhardt 2024-01-19 13:14:18 +00:00 committed by Git OBS Bridge
parent 7029ca78eb
commit 27da714a90
5 changed files with 26 additions and 18 deletions

View File

@ -4,11 +4,11 @@
utils/update_build_version.sh | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
Index: shaderc-2023.2/CMakeLists.txt
Index: shaderc-2023.8/CMakeLists.txt
===================================================================
--- shaderc-2023.2.orig/CMakeLists.txt
+++ shaderc-2023.2/CMakeLists.txt
@@ -130,7 +130,6 @@ endif(MSVC)
--- shaderc-2023.8.orig/CMakeLists.txt
+++ shaderc-2023.8/CMakeLists.txt
@@ -124,7 +124,6 @@ endif(MSVC)
# Configure subdirectories.
# We depend on these for later projects, so they should come first.
@ -16,7 +16,7 @@ Index: shaderc-2023.2/CMakeLists.txt
add_subdirectory(libshaderc_util)
add_subdirectory(libshaderc)
@@ -141,7 +140,7 @@ endif()
@@ -135,7 +134,7 @@ endif()
add_custom_target(build-version
${PYTHON_EXECUTABLE}
@ -25,10 +25,10 @@ Index: shaderc-2023.2/CMakeLists.txt
${shaderc_SOURCE_DIR} ${spirv-tools_SOURCE_DIR} ${glslang_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/build-version.inc
COMMENT "Update build-version.inc in the Shaderc build directory (if necessary).")
Index: shaderc-2023.2/libshaderc/CMakeLists.txt
Index: shaderc-2023.8/libshaderc/CMakeLists.txt
===================================================================
--- shaderc-2023.2.orig/libshaderc/CMakeLists.txt
+++ shaderc-2023.2/libshaderc/CMakeLists.txt
--- shaderc-2023.8.orig/libshaderc/CMakeLists.txt
+++ shaderc-2023.8/libshaderc/CMakeLists.txt
@@ -67,6 +67,8 @@ set(SHADERC_LIBS
shaderc_util
SPIRV # from glslang
@ -38,9 +38,9 @@ Index: shaderc-2023.2/libshaderc/CMakeLists.txt
)
target_link_libraries(shaderc PRIVATE ${SHADERC_LIBS})
Index: shaderc-2023.2/utils/update_build_version.sh
Index: shaderc-2023.8/utils/update_build_version.sh
===================================================================
--- /dev/null
+++ shaderc-2023.2/utils/update_build_version.sh
+++ shaderc-2023.8/utils/update_build_version.sh
@@ -0,0 +1 @@
+#!/bin/true

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 19 13:04:49 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2023.8
* API: Expose rlaxed Vulkan rules from glslang
-------------------------------------------------------------------
Thu Nov 9 15:46:07 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package shaderc
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
# Remember to bump in baselibs.conf
%define lname libshaderc_shared1
Name: shaderc
Version: 2023.7
Version: 2023.8
Release: 0
Summary: A collection of tools, libraries and tests for shader compilation
License: Apache-2.0
@ -31,10 +31,11 @@ Source99: baselibs.conf
Patch1: 0001-Use-system-third-party-libs.patch
BuildRequires: c++_compiler
BuildRequires: cmake >= 2.8.12
BuildRequires: glslang-devel >= 12.3.1+sdk261
BuildRequires: glslang-devel >= 14
BuildRequires: glslang-nonstd-devel
BuildRequires: spirv-headers >= 1.6.1~sdk261
BuildRequires: spirv-tools-devel >= 2023.4~rc2
BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.6.1~sdk275
BuildRequires: spirv-tools-devel >= 2023.6~rc1
%description
A collection of tools, libraries and tests for shader compilation.
@ -68,6 +69,7 @@ Shaderc wraps around core functionality in glslang and SPIRV-Tools
%autosetup -p1
chmod a+x utils/update_build_version.sh
echo "\"%version\"" >glslc/src/build-version.inc
find . -type f -exec grep -l '#!/usr/bin/env python' {} + | xargs perl -i -lpe 's{/env python\w*}{/python3}g'
%build
export CXXFLAGS="%{optflags} -I%_includedir/External"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:681e1340726a0bf46bea7e31f10cbfe78e01e4446a35d90fedc2b78d400fcdeb
size 227360

3
v2023.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dfec5045f30d8f6d3d3914ab5b3cc2695947f266d41261b1459177cd789308d1
size 227238