dav1d/dav1d.spec
Luigi Baldoni ea22feb88e Accepting request 782013 from home:alois:branches:multimedia:libs
- Update to version 0.6.0
  * New ARM64 optimizations for the 10/12bit depth:
    + mc_avg, mc_w_avg, mc_mask
    + mc_put/mc_prep 8tap/bilin
    + mc_warp_8x8
    + mc_w_mask
    + mc_blend
    + wiener
    + SGR
    + loopfilter
    + cdef
  * New AVX-512 optimizations for prep_bilin, prep_8tap,
    cdef_filter, mc_avg/w_avg/mask
  * New SSSE3 optimizations for film grain
  * New AVX2 optimizations for msac_adapt16
  * Fix rare mismatches against the reference decoder, notably
    because of clipping
  * Improvements on ARM64 on msac, cdef and looprestoration
    optimizations
  * Improvements on AVX2 optimizations for cdef_filter
  * Improvements in the C version for itxfm, cdef_filter
- Bump sover to 4

OBS-URL: https://build.opensuse.org/request/show/782013
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dav1d?expand=0&rev=30
2020-03-06 07:35:05 +00:00

90 lines
2.5 KiB
RPMSpec

#
# spec file for package dav1d
#
# Copyright (c) 2020 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/
#
%define sover 4
Name: dav1d
Version: 0.6.0
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
Source99: baselibs.conf
BuildRequires: meson >= 0.47.0
BuildRequires: nasm >= 2.14
BuildRequires: pkgconfig
# necessary to meson
BuildRequires: rpm >= 4.14
%description
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.
%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
%autosetup -p1
%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}
%license COPYING
%{_libdir}/lib%{name}.so.%{sover}*
%changelog