2019-02-05 10:00:05 +01:00
|
|
|
#
|
2019-02-18 12:59:55 +01:00
|
|
|
# spec file for package SVT-AV1
|
2019-02-05 10:00:05 +01:00
|
|
|
#
|
2021-05-28 12:10:49 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2019-02-05 10:00:05 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-02-18 12:59:55 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-02-05 10:00:05 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-11-11 14:29:30 +01:00
|
|
|
%define sover 0
|
2019-02-05 10:00:05 +01:00
|
|
|
Name: SVT-AV1
|
2021-05-28 12:10:49 +02:00
|
|
|
Version: 0.8.7
|
2019-02-05 10:00:05 +01:00
|
|
|
Release: 0
|
2020-11-11 14:29:30 +01:00
|
|
|
Summary: An AV1 decoder/encoder for video streams
|
2019-02-05 11:59:45 +01:00
|
|
|
License: BSD-2-Clause-Patent
|
2019-02-05 10:00:05 +01:00
|
|
|
Group: Productivity/Multimedia/Other
|
2021-05-28 12:10:49 +02:00
|
|
|
URL: https://gitlab.com/AOMediaCodec/SVT-AV1
|
|
|
|
Source: https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v%{version}/SVT-AV1-v%{version}.tar.gz
|
2019-02-05 10:00:05 +01:00
|
|
|
BuildRequires: cmake
|
2021-05-28 12:10:49 +02:00
|
|
|
BuildRequires: fdupes
|
2019-07-08 08:37:46 +02:00
|
|
|
BuildRequires: gcc-c++
|
2021-05-28 12:10:49 +02:00
|
|
|
BuildRequires: help2man
|
2019-02-05 10:37:16 +01:00
|
|
|
BuildRequires: pkg-config
|
2019-02-05 10:00:05 +01:00
|
|
|
BuildRequires: yasm
|
2019-02-05 10:06:42 +01:00
|
|
|
ExclusiveArch: x86_64
|
2019-02-05 10:00:05 +01:00
|
|
|
|
|
|
|
%description
|
2020-11-11 14:29:30 +01:00
|
|
|
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 libSvtAv1Dec%{sover}
|
|
|
|
Summary: An AV1 decoder/encoder for video streams
|
2019-07-08 08:37:46 +02:00
|
|
|
Group: System/Libraries
|
2020-11-11 14:29:30 +01:00
|
|
|
|
|
|
|
%description -n libSvtAv1Dec%{sover}
|
|
|
|
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 libSvtAv1Enc%{sover}
|
|
|
|
Summary: An AV1 decoder/encoder for video streams
|
2019-02-05 10:00:05 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2020-11-11 14:29:30 +01:00
|
|
|
%description -n libSvtAv1Enc%{sover}
|
|
|
|
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.
|
2019-02-05 10:00:05 +01:00
|
|
|
|
|
|
|
%package devel
|
2020-11-11 14:29:30 +01:00
|
|
|
Summary: Development files for %{name}
|
2019-02-05 10:00:05 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-11-11 14:29:30 +01:00
|
|
|
Requires: libSvtAv1Dec%{sover} = %{version}
|
|
|
|
Requires: libSvtAv1Enc%{sover} = %{version}
|
2019-02-05 10:00:05 +01:00
|
|
|
|
|
|
|
%description devel
|
2019-02-18 10:50:29 +01:00
|
|
|
An AV1 encoder for video streams from Intel.
|
|
|
|
|
|
|
|
This package contains the header files for svt-av1.
|
2019-02-05 10:00:05 +01:00
|
|
|
|
|
|
|
%prep
|
2021-05-28 12:10:49 +02:00
|
|
|
%autosetup -p1 -n %{name}-v%{version}
|
2019-02-05 10:00:05 +01:00
|
|
|
|
|
|
|
%build
|
2020-11-11 14:29:30 +01:00
|
|
|
%cmake
|
|
|
|
%cmake_build
|
2019-02-05 10:00:05 +01:00
|
|
|
|
|
|
|
%install
|
2019-02-18 12:59:55 +01:00
|
|
|
%cmake_install
|
2019-07-08 08:37:46 +02:00
|
|
|
|
2020-11-11 14:29:30 +01:00
|
|
|
# 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
|
|
|
|
|
2021-05-28 13:24:16 +02:00
|
|
|
b="%{buildroot}/%{_defaultdocdir}/%{name}"
|
|
|
|
mkdir -p "$b"
|
|
|
|
cp -a Docs README.md "$b/"
|
2021-05-28 12:10:49 +02:00
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
2019-02-05 10:00:05 +01:00
|
|
|
|
2021-05-28 12:10:49 +02:00
|
|
|
%post -n libSvtAv1Dec%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libSvtAv1Dec%{sover} -p /sbin/ldconfig
|
2020-11-11 14:29:30 +01:00
|
|
|
%post -n libSvtAv1Enc%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libSvtAv1Enc%{sover} -p /sbin/ldconfig
|
2019-02-05 10:00:05 +01:00
|
|
|
|
2020-11-11 14:29:30 +01:00
|
|
|
%files -n libSvtAv1Dec%{sover}
|
2019-07-08 08:37:46 +02:00
|
|
|
%license LICENSE.md
|
2020-11-11 14:29:30 +01:00
|
|
|
%{_libdir}/libSvtAv1Dec.so.%{sover}*
|
2019-07-08 08:37:46 +02:00
|
|
|
|
2020-11-11 14:29:30 +01:00
|
|
|
%files -n libSvtAv1Enc%{sover}
|
2019-02-05 10:00:05 +01:00
|
|
|
%license LICENSE.md
|
2020-11-11 14:29:30 +01:00
|
|
|
%{_libdir}/libSvtAv1Enc.so.%{sover}*
|
2019-02-05 10:00:05 +01:00
|
|
|
|
|
|
|
%files
|
2020-11-11 14:29:30 +01:00
|
|
|
%{_bindir}/SvtAv1DecApp
|
|
|
|
%{_bindir}/SvtAv1EncApp
|
|
|
|
%{_mandir}/man1/SvtAv1DecApp.1*
|
|
|
|
%{_mandir}/man1/SvtAv1EncApp.1*
|
2021-05-28 13:24:16 +02:00
|
|
|
%doc %{_defaultdocdir}/%{name}/
|
2019-02-05 10:00:05 +01:00
|
|
|
|
|
|
|
%files devel
|
2020-11-11 14:29:30 +01:00
|
|
|
%{_libdir}/libSvtAv1Dec.so
|
|
|
|
%{_libdir}/libSvtAv1Enc.so
|
|
|
|
%{_libdir}/pkgconfig/SvtAv1Dec.pc
|
|
|
|
%{_libdir}/pkgconfig/SvtAv1Enc.pc
|
|
|
|
%{_includedir}/svt-av1/
|
2019-02-05 10:00:05 +01:00
|
|
|
|
|
|
|
%changelog
|