Accepting request 1120698 from X11:Wayland

new_version

OBS-URL: https://build.opensuse.org/request/show/1120698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spirv-cross?expand=0&rev=13
This commit is contained in:
2023-10-30 21:10:06 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 20 deletions

View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Oct 27 04:14:52 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to release SDK-1.3.268.0
* GLSL: Implement 64-bit image support.
* GLSL: Handle empty block declarations.
-------------------------------------------------------------------
Fri Aug 25 08:56:10 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -16,16 +16,16 @@
#
%define _libpkg libspirv-cross-c-shared0
%define lname libspirv-cross-c-shared0
%define __builder ninja
Name: spirv-cross
Version: 1.3.261.0
Version: 1.3.268.0
Release: 0
Summary: Tool and library for SPIR-V reflection and disassembly
License: Apache-2.0 OR MIT
Group: Development/Libraries/C and C++
URL: https://github.com/KhronosGroup/SPIRV-Cross
Source0: https://github.com/KhronosGroup/SPIRV-Cross/archive/sdk-%version.tar.gz
Source0: https://github.com/KhronosGroup/SPIRV-Cross/archive/vulkan-sdk-%version.tar.gz
BuildRequires: c++_compiler
BuildRequires: cmake >= 3
BuildRequires: ninja
@@ -44,28 +44,28 @@ Features:
* Support for "all" of vertex, fragment, tessellation, geometry
and compute shaders.
%package -n %{_libpkg}
%package -n %lname
Summary: Library for SPIR-V reflection and disassembly
Group: System/Libraries
%description -n %{_libpkg}
%description -n %lname
SPIRV-Cross is a tool and library designed for parsing and
converting SPIR-V to other shader languages.
%package devel
Summary: Development headers for the SPIRV-Cross library
Group: Development/Libraries/C and C++
Requires: %{_libpkg} = %{version}-%{release}
Obsoletes: libspirv-cross-c-shared-devel < %{version}-%{release}
Provides: libspirv-cross-c-shared-devel = %{version}-%{release}
Requires: %lname = %version-%release
Obsoletes: libspirv-cross-c-shared-devel < %version-%release
Provides: libspirv-cross-c-shared-devel = %version-%release
%description devel
SPIRV-Cross is a tool and library designed for parsing and
converting SPIR-V to other shader languages.
%prep
%autosetup -p1 -n SPIRV-Cross-sdk-%{version}
sed -i 's,${CMAKE_INSTALL_PREFIX}/lib,%{_libdir},;s,/share/pkgconfig,/%{_lib}/pkgconfig,;s,DESTINATION lib,DESTINATION %{_lib},g' CMakeLists.txt
%autosetup -p1 -n SPIRV-Cross-vulkan-sdk-%version
sed -i 's,$CMAKE_INSTALL_PREFIX/lib,%_libdir,;s,/share/pkgconfig,/%_lib/pkgconfig,;s,DESTINATION lib,DESTINATION %_lib,g' CMakeLists.txt
%build
%cmake \
@@ -81,21 +81,21 @@ for i in c core cpp glsl hlsl msl reflect util; do
ln -s "libspirv-cross-c-shared.so" "%buildroot/%_libdir/libspirv-cross-$i.so"
done
%post -n %{_libpkg} -p /sbin/ldconfig
%postun -n %{_libpkg} -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files
%license LICENSE
%doc README.md
%{_bindir}/spirv-cross
%_bindir/spirv-cross
%files -n %{_libpkg}
%{_libdir}/libspirv-cross-c-shared.so.*
%files -n %lname
%_libdir/libspirv-cross-c-shared.so.*
%files devel
%_libdir/libspirv-cross-*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/spirv_cross
%_libdir/pkgconfig/*.pc
%_includedir/spirv_cross
%dir %_datadir/spirv*
%_datadir/spirv*/cmake/

View File

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