[packages/xevd] - added pc patch (fix dirs in .pc file); release 2

qboosh qboosh at pld-linux.org
Sun Apr 14 21:52:46 CEST 2024


commit 30d49a6628b6f131ff6f1ba6354299db215bd790
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 14 21:44:18 2024 +0200

    - added pc patch (fix dirs in .pc file); release 2

 xevd-pc.patch | 28 ++++++++++++++++++++++++++++
 xevd.spec     |  4 +++-
 2 files changed, 31 insertions(+), 1 deletion(-)
---
diff --git a/xevd.spec b/xevd.spec
index c0da41a..4477b37 100644
--- a/xevd.spec
+++ b/xevd.spec
@@ -7,7 +7,7 @@ Summary(pl.UTF-8):	eXtra-fast Essential Video Decoder - szybki dekoder obrazu MP
 Name:		xevd
 Version:	0.4.1
 %define	gitref	%{version}-4e76654c
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/mpeg5/xevd/releases
@@ -17,6 +17,7 @@ Patch0:		%{name}-string.patch
 Patch1:		%{name}-link.patch
 Patch2:		%{name}-dangling-pointer.patch
 Patch3:		%{name}-comparison.patch
+Patch4:		%{name}-pc.patch
 URL:		https://github.com/mpeg5/xevd
 BuildRequires:	cmake >= 3.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -132,6 +133,7 @@ Statyczna biblioteka XEVD (profil Baseline).
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 echo "v%{version}" > version.txt
 
diff --git a/xevd-pc.patch b/xevd-pc.patch
new file mode 100644
index 0000000..8ff51c9
--- /dev/null
+++ b/xevd-pc.patch
@@ -0,0 +1,28 @@
+--- xevd-0.4.1-4e76654c/pkgconfig/xevd.pc.in.orig	2022-12-21 06:54:35.000000000 +0100
++++ xevd-0.4.1-4e76654c/pkgconfig/xevd.pc.in	2024-04-14 20:47:22.619746994 +0200
+@@ -1,8 +1,8 @@
+ # --- xevd.pc.in file ---
+ prefix=@CMAKE_INSTALL_PREFIX@
+-exec_prefix=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@
+-libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
+-includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/@LIB_NAME@
++exec_prefix=${prefix}
++libdir=@CMAKE_INSTALL_FULL_LIBDIR@
++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME@
+ 
+ Name: xevd
+ Description: eXtra-fast Essential Video Decoder (XEVD) (MAIN profile)
+--- xevd-0.4.1-4e76654c/pkgconfig/xevdb.pc.in.orig	2022-12-21 06:54:35.000000000 +0100
++++ xevd-0.4.1-4e76654c/pkgconfig/xevdb.pc.in	2024-04-14 20:51:08.961854127 +0200
+@@ -1,8 +1,8 @@
+ # --- xevdb.pc.in file ---
+ prefix=@CMAKE_INSTALL_PREFIX@
+-exec_prefix=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_BINDIR@
+-libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
+-includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@/@LIB_NAME_BASE@
++exec_prefix=${prefix}
++libdir=@CMAKE_INSTALL_FULL_LIBDIR@
++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/@LIB_NAME_BASE@
+ 
+ Name: xevdb
+ Description: eXtra-fast Essential Video Decoder (XEVD) (BASE profile)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xevd.git/commitdiff/30d49a6628b6f131ff6f1ba6354299db215bd790



More information about the pld-cvs-commit mailing list