]>
Commit | Line | Data |
---|---|---|
102e92f1 JB |
1 | Summary: Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) |
2 | Summary(pl.UTF-8): Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1) | |
3 | Name: svt-av1 | |
23237acf | 4 | Version: 1.4.1 |
102e92f1 JB |
5 | Release: 1 |
6 | License: BSD | |
7 | Group: Libraries | |
23237acf JB |
8 | #Source0Download: https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases |
9 | Source0: https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v%{version}/SVT-AV1-v%{version}.tar.bz2 | |
10 | # Source0-md5: 10fbfc2da4f02bdcecdb3d5fba341e78 | |
11 | URL: https://gitlab.com/AOMediaCodec/SVT-AV1 | |
12 | BuildRequires: cmake >= 3.16 | |
102e92f1 JB |
13 | BuildRequires: libstdc++-devel >= 6:5.4 |
14 | BuildRequires: rpmbuild(macros) >= 1.605 | |
15 | %ifarch %{x8664} | |
f7a636fe | 16 | # or nasm >= 2.14 |
102e92f1 JB |
17 | BuildRequires: yasm >= 1.2.0 |
18 | %endif | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is | |
23 | an AV1-compliant encoder/decoder library core. The SVT-AV1 encoder | |
24 | development is a work-in-progress targeting performance levels | |
25 | applicable to both VOD and Live encoding/transcoding video | |
26 | applications. The SVT-AV1 decoder implementation is targeting future | |
27 | codec research activities. | |
28 | ||
29 | %description -l pl.UTF-8 | |
30 | Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1) to główna | |
31 | biblioteka kodera/dekodera zgodnego z AV1. Rozwój kodera SVT-AV1 trwa, | |
32 | a jego celem jest osiągnięcie wydajności nadającej się do kodowania i | |
33 | przekodowywania obrazu zarówno VOD, jak i w czasie rzeczywistym. | |
34 | Implementacja dekodera ma na celu dalsze badania nad kodekiem. | |
35 | ||
36 | %package devel | |
37 | Summary: Header files for SVT-AV1 library | |
38 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SVT-AV1 | |
39 | Group: Development/Libraries | |
40 | Requires: %{name} = %{version}-%{release} | |
41 | ||
42 | %description devel | |
43 | Header files for SVT-AV1 library. | |
44 | ||
45 | %description devel -l pl.UTF-8 | |
46 | Pliki nagłówkowe biblioteki SVT-AV1. | |
47 | ||
48 | %prep | |
23237acf | 49 | %setup -q -n SVT-AV1-v%{version} |
102e92f1 JB |
50 | |
51 | %build | |
23237acf | 52 | %cmake -B build \ |
c037bad3 | 53 | %ifnarch %{x8664} |
102e92f1 JB |
54 | -DCOMPILE_C_ONLY=ON |
55 | %endif | |
56 | ||
23237acf | 57 | %{__make} -C build |
102e92f1 JB |
58 | |
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} -C build install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post -p /sbin/ldconfig | |
69 | %postun -p /sbin/ldconfig | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc CHANGELOG.md LICENSE.md PATENTS.md README.md | |
74 | %attr(755,root,root) %{_bindir}/SvtAv1DecApp | |
75 | %attr(755,root,root) %{_bindir}/SvtAv1EncApp | |
76 | %attr(755,root,root) %{_libdir}/libSvtAv1Dec.so.*.*.* | |
77 | %attr(755,root,root) %ghost %{_libdir}/libSvtAv1Dec.so.0 | |
78 | %attr(755,root,root) %{_libdir}/libSvtAv1Enc.so.*.*.* | |
23237acf | 79 | %attr(755,root,root) %ghost %{_libdir}/libSvtAv1Enc.so.1 |
102e92f1 JB |
80 | |
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
83 | %attr(755,root,root) %{_libdir}/libSvtAv1Dec.so | |
84 | %attr(755,root,root) %{_libdir}/libSvtAv1Enc.so | |
85 | %{_includedir}/svt-av1 | |
86 | %{_pkgconfigdir}/SvtAv1Dec.pc | |
87 | %{_pkgconfigdir}/SvtAv1Enc.pc |