]> git.pld-linux.org Git - packages/svt-av1.git/blob - svt-av1.spec
8b16f07a6505b9dbbc4fab3cefeeb966eb734bf1
[packages/svt-av1.git] / svt-av1.spec
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
4 Version:        1.8.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
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:  33cade54e2b1dfa0171166d9242f30a2
11 URL:            https://gitlab.com/AOMediaCodec/SVT-AV1
12 BuildRequires:  cmake >= 3.16
13 BuildRequires:  libstdc++-devel >= 6:5.4
14 BuildRequires:  rpmbuild(macros) >= 1.605
15 %ifarch %{x8664}
16 # or nasm >= 2.14
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
49 %setup -q -n SVT-AV1-v%{version}
50
51 %build
52 %cmake -B build \
53 %ifnarch %{x8664}
54         -DCOMPILE_C_ONLY=ON
55 %endif
56
57 %{__make} -C build
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.*.*.*
79 %attr(755,root,root) %ghost %{_libdir}/libSvtAv1Enc.so.1
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.023739 seconds and 2 git commands to generate.