]> git.pld-linux.org Git - packages/svt-av1.git/blame - svt-av1.spec
- updated to 1.8.0
[packages/svt-av1.git] / svt-av1.spec
CommitLineData
102e92f1
JB
1Summary: Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder)
2Summary(pl.UTF-8): Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1)
3Name: svt-av1
a585834a 4Version: 1.8.0
102e92f1
JB
5Release: 1
6License: BSD
7Group: Libraries
23237acf
JB
8#Source0Download: https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases
9Source0: https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v%{version}/SVT-AV1-v%{version}.tar.bz2
a585834a 10# Source0-md5: 33cade54e2b1dfa0171166d9242f30a2
23237acf
JB
11URL: https://gitlab.com/AOMediaCodec/SVT-AV1
12BuildRequires: cmake >= 3.16
102e92f1
JB
13BuildRequires: libstdc++-devel >= 6:5.4
14BuildRequires: rpmbuild(macros) >= 1.605
15%ifarch %{x8664}
f7a636fe 16# or nasm >= 2.14
102e92f1
JB
17BuildRequires: yasm >= 1.2.0
18%endif
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is
23an AV1-compliant encoder/decoder library core. The SVT-AV1 encoder
24development is a work-in-progress targeting performance levels
25applicable to both VOD and Live encoding/transcoding video
26applications. The SVT-AV1 decoder implementation is targeting future
27codec research activities.
28
29%description -l pl.UTF-8
30Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1) to główna
31biblioteka kodera/dekodera zgodnego z AV1. Rozwój kodera SVT-AV1 trwa,
32a jego celem jest osiągnięcie wydajności nadającej się do kodowania i
33przekodowywania obrazu zarówno VOD, jak i w czasie rzeczywistym.
34Implementacja dekodera ma na celu dalsze badania nad kodekiem.
35
36%package devel
37Summary: Header files for SVT-AV1 library
38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SVT-AV1
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description devel
43Header files for SVT-AV1 library.
44
45%description devel -l pl.UTF-8
46Pliki 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
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} -C build install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%clean
66rm -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
This page took 0.26323 seconds and 4 git commands to generate.