5 Commits

Author SHA256 Message Date
63a5761095 shaderc 2025.3 2025-06-28 11:01:45 +02:00
d6a1937847 Switch Leap build to newer gcc 13 2025-03-13 18:19:05 +01:00
a8971f9404 shaderc 2025.1 2025-03-12 18:58:47 +01:00
6586e89e4f shaderc 2024.4 2024-12-24 03:39:55 +01:00
aa5a5524d1 shaderc 2024.3 2024-10-08 18:33:13 +02:00
6 changed files with 33 additions and 17 deletions

View File

@@ -1,4 +0,0 @@
mtime: 1735007995
commit: 6586e89e4f3f1afa01909390a875423418af67dbe95cda059b18c4bcac18176d
url: https://src.opensuse.org/jengelh/shaderc
revision: master

View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Sat Jun 28 08:22:26 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.3
* Added a way to disable the glsc CLI executable.
-------------------------------------------------------------------
Thu Mar 13 17:18:36 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Switch Leap build to newer gcc 13
-------------------------------------------------------------------
Wed Mar 12 17:58:08 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2025.1
* Build system updates only
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 24 02:37:17 UTC 2024 - Jan Engelhardt <jengelh@inai.de> Tue Dec 24 02:37:17 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package shaderc # spec file for package shaderc
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 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
@@ -18,8 +18,12 @@
# Remember to bump in baselibs.conf # Remember to bump in baselibs.conf
%define lname libshaderc_shared1 %define lname libshaderc_shared1
%if 0%{?suse_version} < 1600
%define gcc_version 13
%endif
Name: shaderc Name: shaderc
Version: 2024.4 Version: 2025.3
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
@@ -29,13 +33,14 @@ URL: https://github.com/google/shaderc
Source: https://github.com/google/shaderc/archive/v%version.tar.gz Source: https://github.com/google/shaderc/archive/v%version.tar.gz
Source99: baselibs.conf Source99: baselibs.conf
Patch1: 0001-Use-system-third-party-libs.patch Patch1: 0001-Use-system-third-party-libs.patch
BuildRequires: c++_compiler
BuildRequires: cmake >= 2.8.12 BuildRequires: cmake >= 2.8.12
BuildRequires: gcc%{?gcc_version} >= 13
BuildRequires: gcc%{?gcc_version}-c++ >= 13
BuildRequires: glslang-devel >= 15.1 BuildRequires: glslang-devel >= 15.1
BuildRequires: glslang-nonstd-devel BuildRequires: glslang-nonstd-devel
BuildRequires: python3-base BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.6.4+sdk303 BuildRequires: spirv-headers >= 1.6.4+sdk304
BuildRequires: spirv-tools-devel >= 2024.4~rc2 BuildRequires: spirv-tools-devel >= 2025.1~rc1
%description %description
A collection of tools, libraries and tests for shader compilation. A collection of tools, libraries and tests for shader compilation.
@@ -69,11 +74,12 @@ 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"
%cmake -DSHADERC_SKIP_TESTS=ON %cmake -DSHADERC_SKIP_TESTS=ON \
-DCMAKE_C_COMPILER="gcc%{?gcc_version:-%{gcc_version}}" \
-DCMAKE_CXX_COMPILER="g++%{?gcc_version:-%{gcc_version}}"
%cmake_build %cmake_build
%install %install

BIN
v2024.4.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
v2025.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.