From c2760cac45c3a03829cfb59de33f8960d62707f3 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Sun, 15 Apr 2018 09:41:17 +0100 Subject: [PATCH] Fix pkgconfig file (rfbz #4853) --- x265-pkgconfig_path_fix.patch | 11 +++++++++++ x265.spec | 6 +++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 x265-pkgconfig_path_fix.patch diff --git a/x265-pkgconfig_path_fix.patch b/x265-pkgconfig_path_fix.patch new file mode 100644 index 0000000..5d958f3 --- /dev/null +++ b/x265-pkgconfig_path_fix.patch @@ -0,0 +1,11 @@ +--- a/source/x265.pc.in ++++ b/source/x265.pc.in +@@ -1,6 +1,6 @@ + prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=${prefix} +-libdir=${exec_prefix}/@LIB_INSTALL_DIR@ ++libdir=@LIB_INSTALL_DIR@ + includedir=${prefix}/include + + Name: @CMAKE_PROJECT_NAME@ + diff --git a/x265.spec b/x265.spec index 2f1a563..f25fb92 100644 --- a/x265.spec +++ b/x265.spec @@ -3,7 +3,7 @@ Summary: H.265/HEVC encoder Name: x265 Version: 2.7 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://x265.org/ # source/Lib/TLibCommon - BSD # source/Lib/TLibEncoder - BSD @@ -17,6 +17,7 @@ Patch0: x265-pic.patch Patch1: x265-high-bit-depth-soname.patch Patch2: x265-detect_cpu_armhfp.patch Patch3: x265-arm-cflags.patch +Patch4: x265-pkgconfig_path_fix.patch BuildRequires: cmake3 BuildRequires: nasm @@ -136,6 +137,9 @@ done %{_libdir}/pkgconfig/x265.pc %changelog +* Sun Apr 08 2018 Leigh Scott - 2.7-3 +- Fix pkgconfig file (rfbz #4853) + * Tue Feb 27 2018 Nicolas Chauvet - 2.7-2 - Fix CFLAGS on ARM