forked from pool/SVT-AV1
Jan Engelhardt
324008f57c
- update to 1.4.1: * Fix CRF with maxrate bug causing bitrate to be significantly limited for CRF encodings * Fix command line parsing forcing 1-pass in a 2-pass encoding mode when the --keyint=`x`s format is used * Fix decoder segfault due to assuming aligned buffers in the inverse transform assembly OBS-URL: https://build.opensuse.org/request/show/1046316 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/SVT-AV1?expand=0&rev=35
124 lines
4.0 KiB
RPMSpec
124 lines
4.0 KiB
RPMSpec
#
|
|
# spec file for package SVT-AV1
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: SVT-AV1
|
|
Version: 1.4.1
|
|
Release: 0
|
|
Summary: An AV1 decoder/encoder for video streams
|
|
License: BSD-3-Clause-Clear
|
|
Group: Productivity/Multimedia/Other
|
|
URL: https://gitlab.com/AOMediaCodec/SVT-AV1
|
|
Source: %url/-/archive/v%version/SVT-AV1-v%version.tar.gz
|
|
BuildRequires: cmake >= 3.5.1
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++ >= 5.4.0
|
|
BuildRequires: help2man
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: yasm >= 1.2.0
|
|
ExclusiveArch: x86_64
|
|
|
|
%description
|
|
The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is an
|
|
AV1-compliant encoder/decoder library core. The SVT-AV1 encoder development is
|
|
a work-in-progress targeting performance levels applicable to both VOD and Live
|
|
encoding / transcoding video applications. The SVT-AV1 decoder implementation
|
|
is targeting future codec research activities.
|
|
|
|
%package -n libSvtAv1Dec0
|
|
Summary: An AV1 decoder/encoder for video streams
|
|
Group: System/Libraries
|
|
|
|
%description -n libSvtAv1Dec0
|
|
The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is an
|
|
AV1-compliant encoder/decoder library core. The SVT-AV1 encoder development is
|
|
a work-in-progress targeting performance levels applicable to both VOD and Live
|
|
encoding / transcoding video applications. The SVT-AV1 decoder implementation
|
|
is targeting future codec research activities.
|
|
|
|
%package -n libSvtAv1Enc1
|
|
Summary: An AV1 decoder/encoder for video streams
|
|
Group: System/Libraries
|
|
|
|
%description -n libSvtAv1Enc1
|
|
The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) is an
|
|
AV1-compliant encoder/decoder library core. The SVT-AV1 encoder development is
|
|
a work-in-progress targeting performance levels applicable to both VOD and Live
|
|
encoding / transcoding video applications. The SVT-AV1 decoder implementation
|
|
is targeting future codec research activities.
|
|
|
|
%package devel
|
|
Summary: Development files for %name
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libSvtAv1Dec0 = %version
|
|
Requires: libSvtAv1Enc1 = %version
|
|
|
|
%description devel
|
|
An AV1 encoder for video streams from Intel.
|
|
|
|
This package contains the header files for svt-av1.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %name-v%version
|
|
|
|
%build
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
# Generate manpages
|
|
install -d -m0755 %buildroot/%_mandir/man1
|
|
|
|
LD_LIBRARY_PATH="%buildroot%_libdir" \
|
|
help2man -N --help-option=-help --version-string=%version %buildroot%_bindir/SvtAv1DecApp > %buildroot%_mandir/man1/SvtAv1DecApp.1
|
|
|
|
LD_LIBRARY_PATH="%buildroot%_libdir" \
|
|
help2man -N --help-option=-help --version-string=%version --no-discard-stderr %buildroot%_bindir/SvtAv1EncApp > %buildroot%_mandir/man1/SvtAv1EncApp.1
|
|
|
|
b="%buildroot/%_defaultdocdir/%name"
|
|
mkdir -p "$b"
|
|
cp -a Docs README.md "$b/"
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
%post -n libSvtAv1Dec0 -p /sbin/ldconfig
|
|
%postun -n libSvtAv1Dec0 -p /sbin/ldconfig
|
|
%post -n libSvtAv1Enc1 -p /sbin/ldconfig
|
|
%postun -n libSvtAv1Enc1 -p /sbin/ldconfig
|
|
|
|
%files -n libSvtAv1Dec0
|
|
%license LICENSE.md PATENTS.md
|
|
%_libdir/libSvtAv1Dec.so.*
|
|
|
|
%files -n libSvtAv1Enc1
|
|
%license LICENSE.md PATENTS.md
|
|
%_libdir/libSvtAv1Enc.so.*
|
|
|
|
%files
|
|
%_bindir/Svt*
|
|
%_mandir/man1/Svt*
|
|
%doc %_defaultdocdir/%name/
|
|
|
|
%files devel
|
|
%_libdir/libSvtAv1Dec.so
|
|
%_libdir/libSvtAv1Enc.so
|
|
%_libdir/pkgconfig/*.pc
|
|
%_includedir/svt-av1/
|
|
|
|
%changelog
|