source: projects/specs/trunk/nonfree/self-build-x265/x265-vl.spec @ 12250

Revision 12250, 3.6 KB checked in by ara_t, 5 years ago (diff)

self-build-x265: update to 3.2

RevLine 
[9215]1Summary: H.265/HEVC encoder library
[12250]2Name:    x265
3Version: 3.2
[9663]4Release: 1%{?_dist_release}
[12250]5
6Group:   System Environment/Libraries
7URL:     http://x265.org/
8
[9663]9Source0: http://ftp.videolan.org/pub/videolan/x265/x265_%{version}.tar.gz
[9215]10# link test binaries with shared library
[9663]11Patch1: x265-test-shared.patch
12Patch4: x265-detect_cpu_armhfp.patch
[9215]13# source/Lib/TLibCommon - BSD
14# source/Lib/TLibEncoder - BSD
15# everything else - GPLv2+
[12250]16
[9215]17License: GPLv2+ and BSD
[12250]18
[9215]19BuildRequires: cmake
20BuildRequires: yasm
21
22%description
23The primary objective of x265 is to become the best H.265/HEVC encoder
24available anywhere, offering the highest compression efficiency and the
25highest performance on a wide variety of hardware platforms.
26
27This package contains the command line encoder and the shared library.
28
29%package devel
30Summary: H.265/HEVC encoder library development files
[9367]31Requires: %{name}%{?_isa} = %{version}-%{release}
[9215]32
33%description devel
34The primary objective of x265 is to become the best H.265/HEVC encoder
35available anywhere, offering the highest compression efficiency and the
36highest performance on a wide variety of hardware platforms.
37
38This package contains the shared library development files.
39
40%prep
[9663]41%setup -q -n x265_%{version}
[12250]42# %patch1 -p1 -b .ts
43# %patch4 -p1 -b .armhfp
[9215]44
45%build
46%cmake -G "Unix Makefiles" \
47 -DCMAKE_SKIP_RPATH:BOOL=YES \
[9663]48 -DENABLE_PIC:BOOL=ON \
[9215]49 -DENABLE_TESTS:BOOL=ON \
50 source
51%__make %{?_smp_mflags}
52
53%install
54%__make DESTDIR=%{buildroot} install
55%__rm %{buildroot}%{_libdir}/libx265.a || exit 1
56# %__install -Dpm644 COPYING %{buildroot}%{_pkgdocdir}/COPYING
57
[12250]58# %ifnarch %{arm}
59# %check
60# LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench
61# %endif
[9215]62
63%post -p /sbin/ldconfig
64
65%postun -p /sbin/ldconfig
66
67%files
68%{_bindir}/x265
69%doc COPYING
[12250]70%{_libdir}/libx265.so.*
[9215]71
72%files devel
73%doc doc/*
74%{_includedir}/x265.h
75%{_includedir}/x265_config.h
76%{_libdir}/libx265.so
77%{_libdir}/pkgconfig/x265.pc
78
79%changelog
[12250]80* Wed Oct 09 2019 Toshiaki Ara <ara_t@384.jp> 3.2-1
81- new upstream release (ABI 179)
82
[9973]83* Sat Jan 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.8-1
84- new upstream release (ABI 68)
85
[9663]86* Sat Jul 11 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.7-1
87- new upstream release (ABI 59)
88
89* Sat Jul 11 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.6-1
90- new upstream release (ABI 51)
91- release tarballs are now hosted on videolan.org
92
[9368]93* Sat Feb 21 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.5-2
94- rebuild
95
[9367]96* Sat Feb 21 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.5-1
97- new upstream release (ABI 43)
98- drop x265-pc-path.patch
99- add x265-1.5-test-shared.patch
[9335]100
[9368]101* Sat Feb  7 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4-2
102- added Group tag to Source0
103
[9215]104* Fri Jan  2 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.4-1
[9367]105- new upstream release (ABI 35)
[9215]106- initial build based on RPM Fusion rawhide
107
108* Sun Aug 17 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-5
109- don't include contributor agreement in doc
110- make sure /usr/share/doc/x265 is owned
111- add a comment noting which files are BSD-licenced
112
113* Fri Aug 08 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-4
114- don't create bogus soname (patch by Xavier)
115
116* Thu Jul 17 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-3
117- fix tr call to remove DOS EOL
118- build the library with -fPIC on arm and i686, too
119
120* Sun Jul 13 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-2
121- use version in source URL
122- update License tag
123- fix EOL in drag-uncrustify.bat
124- don't link test binaries with shared binary on x86 (segfault)
125
126* Thu Jul 10 2014 Dominik Mierzejewski <rpm@greysector.net> 1.2-1
127- initial build
128- fix pkgconfig file install location
129- link test binaries with shared library
Note: See TracBrowser for help on using the repository browser.