[packages/spirv-tools] - updated to 2020.1; requires SPIRV-Headers at least 1.5.1.corrected for SPV_KHR_physical_storage_bu
qboosh
qboosh at pld-linux.org
Sun Mar 15 07:56:37 CET 2020
commit 1d016c331e99c91a12ae148aca1a9e5ba81e3928
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 15 07:57:40 2020 +0100
- updated to 2020.1; requires SPIRV-Headers at least 1.5.1.corrected for SPV_KHR_physical_storage_buffer
spirv-tools.spec | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/spirv-tools.spec b/spirv-tools.spec
index 0201111..2d52347 100644
--- a/spirv-tools.spec
+++ b/spirv-tools.spec
@@ -1,21 +1,21 @@
Summary: Khronos SPIR-V Tools
Summary(pl.UTF-8): Narzędzia SPIR-V z projektu Khronos
Name: spirv-tools
-Version: 2019.4
+Version: 2020.1
Release: 1
Epoch: 1
License: Apache v2.0
Group: Development/Tools
#Source0Download: https://github.com/KhronosGroup/SPIRV-Tools/releases
-# TODO: https://github.com/KhronosGroup/SPIRV-Tools/archive/v%{version}/SPIRV-Tools-%{version}.tar.gz
-Source0: https://github.com/KhronosGroup/SPIRV-Tools/archive/v%{version}.tar.gz
-# Source0-md5: c666f17aa0338af05918270885f81a6c
+Source0: https://github.com/KhronosGroup/SPIRV-Tools/archive/v%{version}/SPIRV-Tools-%{version}.tar.gz
+# Source0-md5: d7c8167ed79cc80234faca8eed243502
Patch0: no-git-describe.patch
URL: https://github.com/KhronosGroup/SPIRV-Tools
BuildRequires: cmake >= 2.8.12
BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: python3 >= 1:3
-BuildRequires: spirv-headers >= 1.5.1
+BuildRequires: sed >= 4.0
+BuildRequires: spirv-headers >= 1.5.1-2
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -63,7 +63,7 @@ Projekt SPIR-V Tools udostepnia API do przetwarzania modułów SPIR-V.
Summary: Header files for SPIR-V Tools library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SPIR-V Tools
Group: Development/Libraries
-Requires: spirv-headers
+Requires: spirv-headers >= 1.5.1-2
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
%description devel
@@ -76,6 +76,8 @@ Pliki nagłówkowe biblioteki SPIR-V Tools.
%setup -q -n SPIRV-Tools-%{version}
%patch0 -p1
+%{__sed} -i -e '1s,/usr/bin/env sh,/bin/sh,' tools/lesspipe/spirv-lesspipe.sh
+
%build
install -d build external/spirv-headers/include
ln -s /usr/include/spirv external/spirv-headers/include/spirv
@@ -102,7 +104,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGES README.md syntax.md
+%doc CHANGES README.md docs/syntax.md
%attr(755,root,root) %{_bindir}/spirv-as
%attr(755,root,root) %{_bindir}/spirv-cfg
%attr(755,root,root) %{_bindir}/spirv-dis
@@ -125,3 +127,7 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/spirv-tools
%{_pkgconfigdir}/SPIRV-Tools.pc
%{_pkgconfigdir}/SPIRV-Tools-shared.pc
+%{_libdir}/cmake/SPIRV-Tools
+%{_libdir}/cmake/SPIRV-Tools-link
+%{_libdir}/cmake/SPIRV-Tools-opt
+%{_libdir}/cmake/SPIRV-Tools-reduce
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/spirv-tools.git/commitdiff/1d016c331e99c91a12ae148aca1a9e5ba81e3928
More information about the pld-cvs-commit
mailing list