SHA256
1
0
forked from pool/shaderc

Accepting request 1139951 from X11:Wayland

- Update to release 2023.8

OBS-URL: https://build.opensuse.org/request/show/1139951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shaderc?expand=0&rev=27
This commit is contained in:
Ana Guerrero 2024-01-24 18:04:54 +00:00 committed by Git OBS Bridge
commit a2f32e1d19
5 changed files with 26 additions and 18 deletions

View File

@ -4,11 +4,11 @@
utils/update_build_version.sh | 1 + utils/update_build_version.sh | 1 +
3 files changed, 4 insertions(+), 2 deletions(-) 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.8.orig/CMakeLists.txt
+++ shaderc-2023.2/CMakeLists.txt +++ shaderc-2023.8/CMakeLists.txt
@@ -130,7 +130,6 @@ endif(MSVC) @@ -124,7 +124,6 @@ endif(MSVC)
# Configure subdirectories. # Configure subdirectories.
# We depend on these for later projects, so they should come first. # 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_util)
add_subdirectory(libshaderc) add_subdirectory(libshaderc)
@@ -141,7 +140,7 @@ endif() @@ -135,7 +134,7 @@ endif()
add_custom_target(build-version add_custom_target(build-version
${PYTHON_EXECUTABLE} ${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 ${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).") 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.8.orig/libshaderc/CMakeLists.txt
+++ shaderc-2023.2/libshaderc/CMakeLists.txt +++ shaderc-2023.8/libshaderc/CMakeLists.txt
@@ -67,6 +67,8 @@ set(SHADERC_LIBS @@ -67,6 +67,8 @@ set(SHADERC_LIBS
shaderc_util shaderc_util
SPIRV # from glslang SPIRV # from glslang
@ -38,9 +38,9 @@ Index: shaderc-2023.2/libshaderc/CMakeLists.txt
) )
target_link_libraries(shaderc PRIVATE ${SHADERC_LIBS}) 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 --- /dev/null
+++ shaderc-2023.2/utils/update_build_version.sh +++ shaderc-2023.8/utils/update_build_version.sh
@@ -0,0 +1 @@ @@ -0,0 +1 @@
+#!/bin/true +#!/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> Thu Nov 9 15:46:07 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
# #
# spec file for package shaderc # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
# Remember to bump in baselibs.conf # Remember to bump in baselibs.conf
%define lname libshaderc_shared1 %define lname libshaderc_shared1
Name: shaderc Name: shaderc
Version: 2023.7 Version: 2023.8
Release: 0 Release: 0
Summary: A collection of tools, libraries and tests for shader compilation Summary: A collection of tools, libraries and tests for shader compilation
License: Apache-2.0 License: Apache-2.0
@ -31,10 +31,11 @@ Source99: baselibs.conf
Patch1: 0001-Use-system-third-party-libs.patch Patch1: 0001-Use-system-third-party-libs.patch
BuildRequires: c++_compiler BuildRequires: c++_compiler
BuildRequires: cmake >= 2.8.12 BuildRequires: cmake >= 2.8.12
BuildRequires: glslang-devel >= 12.3.1+sdk261 BuildRequires: glslang-devel >= 14
BuildRequires: glslang-nonstd-devel BuildRequires: glslang-nonstd-devel
BuildRequires: spirv-headers >= 1.6.1~sdk261 BuildRequires: python3-base
BuildRequires: spirv-tools-devel >= 2023.4~rc2 BuildRequires: spirv-headers >= 1.6.1~sdk275
BuildRequires: spirv-tools-devel >= 2023.6~rc1
%description %description
A collection of tools, libraries and tests for shader compilation. 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 %autosetup -p1
chmod a+x utils/update_build_version.sh chmod a+x utils/update_build_version.sh
echo "\"%version\"" >glslc/src/build-version.inc 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 %build
export CXXFLAGS="%{optflags} -I%_includedir/External" 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