commit d87b513a9b705dd1d91621b3f4d27552714cd25b
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Mon Oct 16 12:41:08 2017 +0100
update to 2.5
.gitignore | 1 +
sources | 2 +-
x265-pic.patch | 12 ++++++------
x265.spec | 15 ++++++++++-----
4 files changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 23e3f28..c784e86 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ x265_1.6.tar.gz
/x265_2.1.tar.gz
/x265_2.2.tar.gz
/x265_2.4.tar.gz
+/x265_2.5.tar.gz
diff --git a/sources b/sources
index a0a5c32..49f3a79 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ab0986aa5c4465b874de94095b0d0cae x265_2.4.tar.gz
+192e54fa3068b594aa44ab2b703f071d x265_2.5.tar.gz
diff --git a/x265-pic.patch b/x265-pic.patch
index f3c02b9..65e89fd 100644
--- a/x265-pic.patch
+++ b/x265-pic.patch
@@ -1,15 +1,15 @@
-diff -up x265_1.8/source/CMakeLists.txt.pic x265_1.8/source/CMakeLists.txt
---- x265_1.8/source/CMakeLists.txt.pic 2015-09-22 10:10:07.000000000 +0200
-+++ x265_1.8/source/CMakeLists.txt 2015-10-25 22:43:12.666153586 +0100
-@@ -158,7 +162,7 @@ if(GCC)
- add_definitions(-D__STDC_LIMIT_MACROS=1)
- add_definitions(-std=gnu++98)
+--- a/source/CMakeLists.txt
++++ b/source/CMakeLists.txt
+@@ -196,7 +196,7 @@
+ add_definitions(-std=gnu++98)
+ endif()
if(ENABLE_PIC)
- add_definitions(-fPIC)
+ add_definitions(-fPIC -DPIC)
endif(ENABLE_PIC)
if(NATIVE_BUILD)
if(INTEL_CXX)
+
diff -up x265_1.8/source/test/checkasm-a.asm.pic x265_1.8/source/test/checkasm-a.asm
--- x265_1.8/source/test/checkasm-a.asm.pic 2015-09-22 10:10:07.000000000 +0200
+++ x265_1.8/source/test/checkasm-a.asm 2015-10-25 23:23:45.041877640 +0100
diff --git a/x265.spec b/x265.spec
index 783b750..5be23ae 100644
--- a/x265.spec
+++ b/x265.spec
@@ -1,7 +1,9 @@
+%global _so_version 130
+
Summary: H.265/HEVC encoder
Name: x265
-Version: 2.4
-Release: 2%{?dist}
+Version: 2.5
+Release: 1%{?dist}
URL:
http://x265.org/
# source/Lib/TLibCommon - BSD
# source/Lib/TLibEncoder - BSD
@@ -122,10 +124,10 @@ done
%files libs
%license COPYING
-%{_libdir}/libx265.so.116
+%{_libdir}/libx265.so.%{_so_version}
%ifarch x86_64 aarch64 ppc64 ppc64le
-%{_libdir}/libx265_main10.so.116
-%{_libdir}/libx265_main12.so.116
+%{_libdir}/libx265_main10.so.%{_so_version}
+%{_libdir}/libx265_main12.so.%{_so_version}
%endif
%files devel
@@ -136,6 +138,9 @@ done
%{_libdir}/pkgconfig/x265.pc
%changelog
+* Mon Oct 16 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 2.5-1
+- update to 2.5
+
* Thu Aug 31 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 2.4-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild