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

Line 
1Summary: H.265/HEVC encoder library
2Name:    x265
3Version: 3.2
4Release: 1%{?_dist_release}
5
6Group:   System Environment/Libraries
7URL:     http://x265.org/
8
9Source0: http://ftp.videolan.org/pub/videolan/x265/x265_%{version}.tar.gz
10# link test binaries with shared library
11Patch1: x265-test-shared.patch
12Patch4: x265-detect_cpu_armhfp.patch
13# source/Lib/TLibCommon - BSD
14# source/Lib/TLibEncoder - BSD
15# everything else - GPLv2+
16
17License: GPLv2+ and BSD
18
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
31Requires: %{name}%{?_isa} = %{version}-%{release}
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
41%setup -q -n x265_%{version}
42# %patch1 -p1 -b .ts
43# %patch4 -p1 -b .armhfp
44
45%build
46%cmake -G "Unix Makefiles" \
47 -DCMAKE_SKIP_RPATH:BOOL=YES \
48 -DENABLE_PIC:BOOL=ON \
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
58# %ifnarch %{arm}
59# %check
60# LD_LIBRARY_PATH=%{buildroot}%{_libdir} test/TestBench
61# %endif
62
63%post -p /sbin/ldconfig
64
65%postun -p /sbin/ldconfig
66
67%files
68%{_bindir}/x265
69%doc COPYING
70%{_libdir}/libx265.so.*
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
80* Wed Oct 09 2019 Toshiaki Ara <ara_t@384.jp> 3.2-1
81- new upstream release (ABI 179)
82
83* Sat Jan 23 2016 Munehiro Yamamoto <munepi@vinelinux.org> 1.8-1
84- new upstream release (ABI 68)
85
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
93* Sat Feb 21 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.5-2
94- rebuild
95
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
100
101* Sat Feb  7 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4-2
102- added Group tag to Source0
103
104* Fri Jan  2 2015 Munehiro Yamamoto <munepi@vinelinux.org> 1.4-1
105- new upstream release (ABI 35)
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.