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