Browse Source

self-build-x265: update to 3.2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12250 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 2 years ago
parent
commit
cc5a9cd278
2 changed files with 42 additions and 32 deletions
  1. 24 21
      nonfree/self-build-x265/self-build-x265-vl.spec
  2. 18 11
      nonfree/self-build-x265/x265-vl.spec

+ 24 - 21
nonfree/self-build-x265/self-build-x265-vl.spec

@@ -1,37 +1,37 @@
-%global pkgname 	x265
-%global name		self-build-%{pkgname}
-%global version		1.8
-%global release		1%{?_dist_release}
+%global pkgname  x265
+%global name     self-build-%{pkgname}
+%global version  3.2
+%global release  1%{?_dist_release}
 
-%global sourceurl0	http://ftp.videolan.org/pub/videolan/x265/x265_%{version}.tar.gz
+%global sourceurl0  http://ftp.videolan.org/pub/videolan/x265/x265_%{version}.tar.gz
 
-Summary:	Package to automatically build %{pkgname} rpm package
-Summary(ja): 	%{pkgname} の rpm パッケージを自動作成するパッケージ
-Name:		%{name}
-Version:	%{version}
-Release: 	%{release}
-Source0:	%{pkgname}-vl.spec
+Summary:  Package to automatically build %{pkgname} rpm package
+Summary(ja): %{pkgname} の rpm パッケージを自動作成するパッケージ
+Name:    %{name}
+Version: %{version}
+Release: %{release}
+Source0: %{pkgname}-vl.spec
 
 #Source100: x265-pc-path.patch
 Source101: x265-test-shared.patch 
 Source104: x265-detect_cpu_armhfp.patch
 
-License:	GPLv2+ and BSD
-Group:		Restricted Software
+License: GPLv2+ and BSD
+Group:   Restricted Software
 
-Obsoletes:      x265 < %{version}, x265-devel < %{version}
-Obsoletes:      self-build-x265 < %{version}-%{release}
+Obsoletes: x265 < %{version}, x265-devel < %{version}
+Obsoletes: self-build-x265 < %{version}-%{release}
 
-Requires(post):		self-build-setup >= 0.9.9
+Requires(post): self-build-setup >= 0.9.9
 
 # (build)requies of target package.
 Requires(post): cmake
 Requires(post): yasm
 
-BuildArch:	noarch
-BuildRoot:	%{_tmppath}/%{name}-%{version}-root
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
-Packager:	munepi
+Packager:  munepi
 
 %description
 The primary objective of x265 is to become the best H.265/HEVC encoder
@@ -101,13 +101,13 @@ x265はH.265/HEVCをエンコードするためのライブラリです。
 %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 %{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 %{__install} -m 644 %{SOURCE101} %{SOURCE104} \
-	     ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
+ ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
 
 %clean
 %{__rm} -rf ${RPM_BUILD_ROOT}
 
 %posttrans
-/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 168000
+/usr/lib/rpm/self-build-rpm.sh %{name} %{pkgname}-vl.spec "%{sourceurl0}" 77000
 /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-%{release} \
                                  %{pkgname}-devel-%{version}-%{release}
 
@@ -116,6 +116,9 @@ x265はH.265/HEVCをエンコードするためのライブラリです。
 %{_datadir}/%{name}
 
 %changelog
+* Wed Oct 09 2019 Toshiaki Ara <ara_t@384.jp> 3.2-1
+- new upstream release (ABI 179)
+
 * Sat Jan 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.8-1
 - new upstream release (ABI 68)
 

+ 18 - 11
nonfree/self-build-x265/x265-vl.spec

@@ -1,9 +1,11 @@
 Summary: H.265/HEVC encoder library
-Name: x265
-Version: 1.8
+Name:    x265
+Version: 3.2
 Release: 1%{?_dist_release}
-Group: System Environment/Libraries
-URL: http://x265.org/
+
+Group:   System Environment/Libraries
+URL:     http://x265.org/
+
 Source0: http://ftp.videolan.org/pub/videolan/x265/x265_%{version}.tar.gz
 # link test binaries with shared library
 Patch1: x265-test-shared.patch
@@ -11,7 +13,9 @@ Patch4: x265-detect_cpu_armhfp.patch
 # source/Lib/TLibCommon - BSD
 # source/Lib/TLibEncoder - BSD
 # everything else - GPLv2+
+
 License: GPLv2+ and BSD
+
 BuildRequires: cmake
 BuildRequires: yasm
 
@@ -35,8 +39,8 @@ This package contains the shared library development files.
 
 %prep
 %setup -q -n x265_%{version}
-%patch1 -p1 -b .ts
-%patch4 -p1 -b .armhfp
+# %patch1 -p1 -b .ts
+# %patch4 -p1 -b .armhfp
 
 %build
 %cmake -G "Unix Makefiles" \
@@ -51,10 +55,10 @@ This package contains the shared library development files.
 %__rm %{buildroot}%{_libdir}/libx265.a || exit 1
 # %__install -Dpm644 COPYING %{buildroot}%{_pkgdocdir}/COPYING
 
-%ifnarch %{arm}
-%check
-LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench
-%endif
+# %ifnarch %{arm}
+# %check
+# LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench
+# %endif
 
 %post -p /sbin/ldconfig
 
@@ -63,7 +67,7 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench
 %files
 %{_bindir}/x265
 %doc COPYING
-%{_libdir}/libx265.so.68
+%{_libdir}/libx265.so.*
 
 %files devel
 %doc doc/*
@@ -73,6 +77,9 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench
 %{_libdir}/pkgconfig/x265.pc
 
 %changelog
+* Wed Oct 09 2019 Toshiaki Ara <ara_t@384.jp> 3.2-1
+- new upstream release (ABI 179)
+
 * Sat Jan 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.8-1
 - new upstream release (ABI 68)