[packages/vulkan-loader] Fix built-in ICD config dirs

jajcus jajcus at pld-linux.org
Sat Feb 20 16:52:24 CET 2016


commit ca3d96abda1acfc718dd64786a15f412f07e3a02
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Feb 20 16:51:04 2016 +0100

    Fix built-in ICD config dirs
    
    The code assumes CMAKE data and sysconfig dirs are relative and would
    look for ICD configs in /usr//usr/share/vulkan/icd.d
    
    Release: 3

 vulkan-loader.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/vulkan-loader.spec b/vulkan-loader.spec
index 6306669..8a44d20 100644
--- a/vulkan-loader.spec
+++ b/vulkan-loader.spec
@@ -7,7 +7,7 @@
 Summary:	Vulkan API loader
 Name:		vulkan-loader
 Version:	1.0.3.0
-Release:	2
+Release:	3
 License:	MIT-like
 Group:		Applications
 Source0:	https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/archive/%{tag}/%{name}-%{version}.tar.gz
@@ -70,6 +70,8 @@ Vulkan loader utilities.
 install -d build
 cd build
 %cmake \
+	-DCMAKE_INSTALL_DATADIR=share \
+	-DCMAKE_INSTALL_SYSCONFDIR=etc \
 	%{?with_tests:-DBUILD_TESTS=ON} \
 	%{!?with_tests:-DBUILD_TESTS=OFF} \
 		../
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vulkan-loader.git/commitdiff/ca3d96abda1acfc718dd64786a15f412f07e3a02



More information about the pld-cvs-commit mailing list