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

qboosh qboosh at pld-linux.org
Sun Apr 14 21:55:06 CEST 2024


commit eab03b246e169ca45cd553aa7501a9e9849a9aad
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 14 21:46:27 2024 +0200

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

 xeve-pc.patch | 28 ++++++++++++++++++++++++++++
 xeve.spec     |  4 +++-
 2 files changed, 31 insertions(+), 1 deletion(-)
---
diff --git a/xeve.spec b/xeve.spec
index f564dcd..dd8bd15 100644
--- a/xeve.spec
+++ b/xeve.spec
@@ -7,7 +7,7 @@ Summary(pl.UTF-8):	eXtra-fast Essential Video Encoder - szybki koder obrazu MPEG
 Name:		xeve
 Version:	0.4.3
 %define	gitref	%{version}-3890dae6
-Release:	1
+Release:	2
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/mpeg5/xeve/releases
@@ -16,6 +16,7 @@ Source0:	https://github.com/mpeg5/xeve/archive/v%{gitref}/%{name}-%{gitref}.tar.
 Patch0:		%{name}-string.patch
 Patch1:		%{name}-link.patch
 Patch2:		%{name}-dynamic.patch
+Patch3:		%{name}-pc.patch
 URL:		https://github.com/mpeg5/xeve
 BuildRequires:	cmake >= 3.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -129,6 +130,7 @@ Statyczna biblioteka XEVE (profil Baseline).
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 echo "v%{version}" > version.txt
 
diff --git a/xeve-pc.patch b/xeve-pc.patch
new file mode 100644
index 0000000..d1d5420
--- /dev/null
+++ b/xeve-pc.patch
@@ -0,0 +1,28 @@
+--- xeve-0.4.3-3890dae6/pkgconfig/xeveb.pc.in.orig	2022-12-21 06:54:14.000000000 +0100
++++ xeve-0.4.3-3890dae6/pkgconfig/xeveb.pc.in	2024-04-14 20:57:57.712973066 +0200
+@@ -1,8 +1,8 @@
+ # --- xeveb.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: xeveb
+ Description: eXtra-fast Essential Video Encoder (XEVE) (BASE profile)
+--- xeve-0.4.3-3890dae6/pkgconfig/xeve.pc.in.orig	2022-12-21 06:54:14.000000000 +0100
++++ xeve-0.4.3-3890dae6/pkgconfig/xeve.pc.in	2024-04-14 20:59:01.075963132 +0200
+@@ -1,8 +1,8 @@
+ # --- xeve.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: xeve
+ Description: eXtra-fast Essential Video Encoder (XEVE) (MAIN profile)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xeve.git/commitdiff/eab03b246e169ca45cd553aa7501a9e9849a9aad



More information about the pld-cvs-commit mailing list