Changes of Revision 17
x265.spec
Changed
x
1
2
Group: Productivity/Multimedia/Video/Editors and Convertors
3
Source0: https://bitbucket.org/multicoreware/x265/downloads/%{name}_%{version}.tar.gz
4
Patch0: arm.patch
5
+Patch1: x265.pkgconfig.patch
6
BuildRequires: gcc gcc-c++
7
BuildRequires: cmake >= 2.8.8
8
BuildRequires: libnuma-devel >= 2.0.9
9
10
%prep
11
%setup -q -n %{name}_%{version}
12
%patch0 -p1
13
+%patch1 -p1
14
15
sed -i -e "s/0.0/%{soname}.0/g" source/cmake/version.cmake
16
17
x265.pkgconfig.patch
Added
12
1
2
+--- a/source/x265.pc.in
3
++++ b/source/x265.pc.in
4
+@@ -1,6 +1,6 @@
5
+ prefix=@CMAKE_INSTALL_PREFIX@
6
+ exec_prefix=${prefix}
7
+-libdir=${exec_prefix}/@LIB_INSTALL_DIR@
8
++libdir=@LIB_INSTALL_DIR@
9
+ includedir=${prefix}/include
10
+
11
+ Name: @CMAKE_PROJECT_NAME@
12