]> git.pld-linux.org Git - packages/svt-av1.git/blame - svt-av1.spec
- disable asm on x32
[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
4Version: 0.8.6
5Release: 1
6License: BSD
7Group: Libraries
8#Source0Download: https://github.com/AOMediaCodec/SVT-AV1/releases
9Source0: https://github.com/AOMediaCodec/SVT-AV1/archive/v%{version}/SVT-AV1-%{version}.tar.gz
10# Source0-md5: 56385825865400bfb79ed7871d7ca876
11URL: https://github.com/AOMediaCodec/SVT-AV1
12BuildRequires: cmake >= 3.5.1
13BuildRequires: libstdc++-devel >= 6:5.4
14BuildRequires: rpmbuild(macros) >= 1.605
15%ifarch %{x8664}
16BuildRequires: yasm >= 1.2.0
17%endif
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is
22an AV1-compliant encoder/decoder library core. The SVT-AV1 encoder
23development is a work-in-progress targeting performance levels
24applicable to both VOD and Live encoding/transcoding video
25applications. The SVT-AV1 decoder implementation is targeting future
26codec research activities.
27
28%description -l pl.UTF-8
29Scalable Video Technology dla AV1 (koder i dekoder SVT-AV1) to główna
30biblioteka kodera/dekodera zgodnego z AV1. Rozwój kodera SVT-AV1 trwa,
31a jego celem jest osiągnięcie wydajności nadającej się do kodowania i
32przekodowywania obrazu zarówno VOD, jak i w czasie rzeczywistym.
33Implementacja dekodera ma na celu dalsze badania nad kodekiem.
34
35%package devel
36Summary: Header files for SVT-AV1 library
37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki SVT-AV1
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40
41%description devel
42Header files for SVT-AV1 library.
43
44%description devel -l pl.UTF-8
45Pliki nagłówkowe biblioteki SVT-AV1.
46
47%prep
48%setup -q -n SVT-AV1-%{version}
49
50%build
51install -d build
52cd build
53%cmake .. \
c037bad3 54%ifnarch %{x8664}
102e92f1
JB
55 -DCOMPILE_C_ONLY=ON
56%endif
57
58%{__make}
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.*.*.*
80%attr(755,root,root) %ghost %{_libdir}/libSvtAv1Enc.so.0
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.033008 seconds and 4 git commands to generate.