[packages/spirv-headers] - fixed includedir in .pc file; release 2
qboosh
qboosh at pld-linux.org
Sun Dec 26 21:35:56 CET 2021
commit 04ab95c41bf9cd57870cf4ccef7cd1c161a95825
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 26 21:36:42 2021 +0100
- fixed includedir in .pc file; release 2
spirv-headers.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/spirv-headers.spec b/spirv-headers.spec
index 07476bb..9ba3032 100644
--- a/spirv-headers.spec
+++ b/spirv-headers.spec
@@ -6,7 +6,7 @@ Summary(pl.UTF-8): Pliki nagłówkowe SPIR-V
Name: spirv-headers
# see CMakeLists.txt /VERSION or include/spirv/unified1/spirv.h /SPV_VERSION + /SPV_REVISION (whichever is greater)
Version: 1.5.5
-Release: 1
+Release: 2
License: MIT
Group: Libraries
#Source0Download: https://github.com/KhronosGroup/SPIRV-Headers/tags
@@ -39,7 +39,9 @@ Obejmują one:
%build
install -d build
cd build
-%cmake ..
+# relative CMAKE_INSTALL_INCLUDEDIR for .pc file
+%cmake .. \
+ -DCMAKE_INSTALL_INCLUDEDIR=include
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/spirv-headers.git/commitdiff/04ab95c41bf9cd57870cf4ccef7cd1c161a95825
More information about the pld-cvs-commit
mailing list