[packages/libjxl] - added pc patch (support absolute CMAKE_INSTALL_{INCLUDE,LIB}DIR in .pc files); release 2

qboosh qboosh at pld-linux.org
Tue May 3 21:10:11 CEST 2022


commit 00e45f8d6e82e4d4f7a54888bff6e188e187b16d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue May 3 21:10:39 2022 +0200

    - added pc patch (support absolute CMAKE_INSTALL_{INCLUDE,LIB}DIR in .pc files); release 2

 libjxl-pc.patch | 24 ++++++++++++++++++++++++
 libjxl.spec     |  4 +++-
 2 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/libjxl.spec b/libjxl.spec
index efe416b..8a39dde 100644
--- a/libjxl.spec
+++ b/libjxl.spec
@@ -2,7 +2,7 @@ Summary:	JPEG XL reference implementation
 Summary(pl.UTF-8):	Referencyjna implementacja JPEG XL
 Name:		libjxl
 Version:	0.6.1
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/libjxl/libjxl/releases
@@ -10,6 +10,7 @@ Source0:	https://github.com/libjxl/libjxl/archive/v%{version}/%{name}-%{version}
 # Source0-md5:	5dae0f40ad6180c1b168bbf7edaf8e7d
 Patch0:		%{name}-system-libs.patch
 Patch1:		%{name}-hwy.patch
+Patch2:		%{name}-pc.patch
 URL:		https://github.com/libjxl/libjxl
 BuildRequires:	OpenEXR-devel
 BuildRequires:	asciidoc
@@ -122,6 +123,7 @@ Wtyczka wczytująca/zapisująca pliki JPEG XL dla GIMP-a.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 install -d build
diff --git a/libjxl-pc.patch b/libjxl-pc.patch
new file mode 100644
index 0000000..8ddbfe1
--- /dev/null
+++ b/libjxl-pc.patch
@@ -0,0 +1,24 @@
+--- libjxl-0.6.1/lib/jxl/libjxl.pc.in.orig	2021-10-29 20:48:36.000000000 +0200
++++ libjxl-0.6.1/lib/jxl/libjxl.pc.in	2022-05-03 21:03:58.423414779 +0200
+@@ -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_FULL_LIBDIR@
++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+ 
+ Name: libjxl
+ Description: Loads and saves JPEG XL files
+--- libjxl-0.6.1/lib/threads/libjxl_threads.pc.in.orig	2021-10-29 20:48:36.000000000 +0200
++++ libjxl-0.6.1/lib/threads/libjxl_threads.pc.in	2022-05-03 21:03:22.520275949 +0200
+@@ -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_FULL_LIBDIR@
++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+ 
+ Name: libjxl_threads
+ Description: JPEG XL multi-thread runner using std::threads.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libjxl.git/commitdiff/00e45f8d6e82e4d4f7a54888bff6e188e187b16d



More information about the pld-cvs-commit mailing list