2018-12-13 08:45:48 +01:00
|
|
|
#
|
|
|
|
# spec file for package dav1d
|
|
|
|
#
|
2020-03-06 08:35:05 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2018-12-13 08:45:48 +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-03-04 19:47:57 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-12-13 08:45:48 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-11-24 11:10:54 +01:00
|
|
|
%define sover 5
|
2018-12-13 08:45:48 +01:00
|
|
|
Name: dav1d
|
2020-11-24 11:10:54 +01:00
|
|
|
Version: 0.8.0
|
2018-12-13 08:45:48 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: An AV1 decoder
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Productivity/Multimedia/Video/Editors and Convertors
|
|
|
|
URL: https://code.videolan.org/videolan/dav1d
|
|
|
|
Source0: https://code.videolan.org/videolan/dav1d/-/archive/%{version}/dav1d-%{version}.tar.gz
|
2019-04-02 09:02:39 +02:00
|
|
|
Source99: baselibs.conf
|
2020-11-24 11:10:54 +01:00
|
|
|
BuildRequires: meson >= 0.49.0
|
2020-03-06 08:35:05 +01:00
|
|
|
BuildRequires: nasm >= 2.14
|
2018-12-13 08:45:48 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
# necessary to meson
|
|
|
|
BuildRequires: rpm >= 4.14
|
|
|
|
|
|
|
|
%description
|
2018-12-13 15:06:42 +01:00
|
|
|
dav1d is a SIMD-enhanced decoder for AV1 video. It features
|
|
|
|
|
|
|
|
* Accelerated assembly using x86 AVX2.
|
|
|
|
* Partial acceleration using x86 SSSE3 and ARM NEON.
|
|
|
|
* Support for bitdepths 8, 10 and 12.
|
|
|
|
* Support for chroma subsamplings 4:2:0, 4:2:2, 4:4:4 and grayscale.
|
|
|
|
|
|
|
|
AV1 is a royalty-free video codec by the Alliance for Open Media. It
|
|
|
|
has the potential to be up to 20%% better than the HEVC codec.
|
2018-12-13 08:45:48 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: lib%{name}%{sover} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}%{sover}
|
|
|
|
Summary: AV1 decoder library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n lib%{name}%{sover}
|
|
|
|
%{name} is an AV1 decoder library.
|
|
|
|
|
|
|
|
%prep
|
2019-05-13 22:36:22 +02:00
|
|
|
%autosetup -p1
|
2018-12-13 08:45:48 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc CONTRIBUTING.md doc/PATENTS NEWS README.md THANKS.md
|
|
|
|
%license COPYING
|
|
|
|
%{_includedir}/dav1d
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
%files -n lib%{name}%{sover}
|
2018-12-13 12:54:19 +01:00
|
|
|
%license COPYING
|
2018-12-13 08:45:48 +01:00
|
|
|
%{_libdir}/lib%{name}.so.%{sover}*
|
|
|
|
|
|
|
|
%changelog
|