Accepting request 657304 from home:alois:branches:multimedia:libs

- Initial stable package (v0.1.0)

OBS-URL: https://build.opensuse.org/request/show/657304
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/dav1d?expand=0&rev=1
This commit is contained in:
Tomáš Chvátal 2018-12-13 07:45:48 +00:00 committed by Git OBS Bridge
commit 117cdce9a6
5 changed files with 123 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
dav1d-0.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bd54884594997a35f0b5292d7afce6d1c9c2471b6866d231c18738a2d752c257
size 443433

4
dav1d.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Dec 11 18:25:04 UTC 2018 - Luigi Baldoni <aloisio@gmx.com>
- Initial stable package (v0.1.0)

92
dav1d.spec Normal file
View File

@ -0,0 +1,92 @@
#
# spec file for package dav1d
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%define sover 0
Name: dav1d
Version: 0.1.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
BuildRequires: nasm
BuildRequires: meson >= 0.47.0
BuildRequires: pkgconfig
# necessary to meson
BuildRequires: rpm >= 4.14
###ExcludeArch: %arm
%description
AV1 is a video codec by the Alliance for Open Media, composed of most
of the important Web companies (Google, Facebook, Netflix, Amazon,
Microsoft, Mozilla...).
AV1 has the potential to be up to 20% better than the HEVC codec, but
the patents license is totally free, while HEVC patents licenses are
insanely high and very confusing.
dav1d supports:
* all the features of AV1, even the less know ones
* 8, 10, 12 bits, and all chroma subsamplings
* all AV1 files that were shared to the developers
%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
%setup -q
%build
%meson
%meson_build
%install
%meson_install
%post -n lib%{name}%{sover} -p /sbin/ldconfig
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
%files
%license COPYING
%{_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}
%{_libdir}/lib%{name}.so.%{sover}*
%changelog