[packages/Vulkan-Loader] up to 1.3.224.1

atler atler at pld-linux.org
Sun Nov 27 14:14:16 CET 2022


commit 919413fcad16aa2e2fc1bccbeb2e7220ac08c7c3
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Nov 27 14:13:09 2022 +0100

    up to 1.3.224.1
    
    - quick fix for pkgconfig file having doubly prefixed paths

 Vulkan-Loader.spec |  8 +++++---
 pc.patch           | 12 ++++++++++++
 2 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/Vulkan-Loader.spec b/Vulkan-Loader.spec
index 8f30153..f75f8c8 100644
--- a/Vulkan-Loader.spec
+++ b/Vulkan-Loader.spec
@@ -4,19 +4,20 @@
 %bcond_without	wayland	# Wayland support in loader
 %bcond_without	x11	# XLib support in loader
 
-%define	api_version	1.2.198.0
+%define	api_version	1.3.224.1
 
 Summary:	Vulkan API loader
 Summary(pl.UTF-8):	Biblioteka wczytująca sterowniki Vulkan
 Name:		Vulkan-Loader
 # note: prefer "sdk-" tags for better quality level
-Version:	1.2.198.1
+Version:	%{api_version}
 Release:	1
 License:	Apache v2.0, parts MIT-like
 Group:		Libraries
 #Source0Download: https://github.com/KhronosGroup/Vulkan-Loader/tags
 Source0:	https://github.com/KhronosGroup/Vulkan-Loader/archive/sdk-%{version}/%{name}-sdk-%{version}.tar.gz
-# Source0-md5:	e2a381bb2457227519a0a75aeee62975
+# Source0-md5:	54b7498c122e2ec8eb3d1dc80c654456
+Patch0:		pc.patch
 URL:		https://github.com/KhronosGroup/Vulkan-Loader/
 BuildRequires:	cmake >= 3.10.2
 %if %{with tests} && %(locale -a | grep -q '^C\.utf8$'; echo $?)
@@ -60,6 +61,7 @@ Pliki nagłówkowe loadera Vulkan.
 
 %prep
 %setup -qn %{name}-sdk-%{version}
+%patch0 -p1
 
 %build
 install -d build
diff --git a/pc.patch b/pc.patch
new file mode 100644
index 0000000..777fe4e
--- /dev/null
+++ b/pc.patch
@@ -0,0 +1,12 @@
+--- Vulkan-Loader-sdk-1.3.224.1/loader/vulkan.pc.in.orig	2022-08-15 17:32:06.000000000 +0200
++++ Vulkan-Loader-sdk-1.3.224.1/loader/vulkan.pc.in	2022-11-27 01:05:11.149652405 +0100
+@@ -1,7 +1,7 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
+-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
++libdir=@CMAKE_INSTALL_LIBDIR@
++includedir=@CMAKE_INSTALL_INCLUDEDIR@
+ 
+ Name: @CMAKE_PROJECT_NAME@
+ Description: Vulkan Loader
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Vulkan-Loader.git/commitdiff/919413fcad16aa2e2fc1bccbeb2e7220ac08c7c3



More information about the pld-cvs-commit mailing list