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