[packages/kvazaar] - added pc patch (fix variables); release 2

qboosh qboosh at pld-linux.org
Thu Feb 29 20:51:35 CET 2024


commit a2622a5ba61c0dd33dcfd722a0887e820f9923d4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Feb 29 20:37:20 2024 +0100

    - added pc patch (fix variables); release 2

 kvazaar-pc.patch | 20 ++++++++++++++++++++
 kvazaar.spec     |  4 +++-
 2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/kvazaar.spec b/kvazaar.spec
index eeb81fd..47316f9 100644
--- a/kvazaar.spec
+++ b/kvazaar.spec
@@ -6,7 +6,7 @@ Summary:	Kvazaar - open-source HEVC encoder
 Summary(pl.UTF-8):	Kvazaar - koder HEVC o otwartych źródłach
 Name:		kvazaar
 Version:	2.3.0
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://github.com/ultravideo/kvazaar/releases
@@ -14,6 +14,7 @@ Source0:	https://github.com/ultravideo/kvazaar/releases/download/v%{version}/%{n
 # Source0-md5:	480716b27cacac494d273b71484ce52b
 Patch0:		x32.patch
 Patch1:		%{name}-link.patch
+Patch2:		%{name}-pc.patch
 URL:		https://github.com/ultravideo/kvazaar
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1:1.11
@@ -75,6 +76,7 @@ Statyczna biblioteka Kvazaar.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
diff --git a/kvazaar-pc.patch b/kvazaar-pc.patch
new file mode 100644
index 0000000..f2a88d3
--- /dev/null
+++ b/kvazaar-pc.patch
@@ -0,0 +1,20 @@
+--- kvazaar-2.3.0/src/kvazaar.pc.in.orig	2024-01-17 11:29:32.000000000 +0100
++++ kvazaar-2.3.0/src/kvazaar.pc.in	2024-02-29 20:22:27.648427574 +0100
+@@ -1,12 +1,11 @@
+-prefix=@CMAKE_INSTALL_PREFIX@
++prefix=@prefix@
+ exec_prefix=${prefix}
+-libdir=${prefix}/lib
+-incdir=${prefix}/include
++libdir=@libdir@
++incdir=@includedir@
+ 
+ Name: libkvazaar
+-Description: @CMAKE_PROJECT_DESCRIPTION@
+-URL: @CMAKE_PROJECT_HOMEPAGE_URL@
+-Version: @PROJECT_VERSION@
++Description: Open-source HEVC encoder
++Version: @PACKAGE_VERSION@
+ Libs: -L${libdir} -lkvazaar
+ Libs.private: @LIBS@
+ Cflags: -I${incdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kvazaar.git/commitdiff/a2622a5ba61c0dd33dcfd722a0887e820f9923d4



More information about the pld-cvs-commit mailing list