commit 7b7658e20fbf4f92d08592465847003a685f6f93d8e664ac28b98168c73f5d72 Author: Takashi Iwai Date: Tue Dec 3 07:25:47 2019 +0000 Accepting request 752709 from home:gladiac This is an AV1 and AVIF encoder. OBS-URL: https://build.opensuse.org/request/show/752709 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/rav1e?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..6cd96d3 --- /dev/null +++ b/_service @@ -0,0 +1,4 @@ + + + + diff --git a/rav1e-0.1.0.tar.gz b/rav1e-0.1.0.tar.gz new file mode 100644 index 0000000..28d00db --- /dev/null +++ b/rav1e-0.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00395087eaba4778d17878924e007716e2f399116b8011bf057fd54cc528a6cb +size 637375 diff --git a/rav1e.changes b/rav1e.changes new file mode 100644 index 0000000..31fbfd3 --- /dev/null +++ b/rav1e.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Nov 20 08:11:45 UTC 2019 - Andreas Schneider + +- Initial package version 0.1.0 diff --git a/rav1e.spec b/rav1e.spec new file mode 100644 index 0000000..d2d4fb7 --- /dev/null +++ b/rav1e.spec @@ -0,0 +1,123 @@ +# +# spec file for package rav1e +# +# Copyright (c) 2019 Andreas Schneider . +# +# 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: rav1e +Version: 0.1.0 +Release: 0 +Summary: Fastest and safest AV1 encoder +Group: Productivity/Multimedia/Video/Editors and Convertors + +# Upstream license specification: BSD-2-Clause +License: BSD-2-Clause +URL: https://github.com/xiph/rav1e +# +Source0: https://github.com/xiph/rav1e/archive/%{version}/%{name}-%{version}.tar.gz +Source1: vendor.tar.xz +# +BuildRequires: cargo-c +BuildRequires: nasm +BuildRequires: rust-packaging + +%description +rav1e is an AV1 video encoder. It is designed to eventually cover all use +cases, though in its current form it is most suitable for cases where libaom +(the reference encoder) is too slow. + +Features +-------- + +* Intra and inter frames +* 64x64 superblocks +* 4x4 to 64x64 RDO-selected square and 2:1/1:2 rectangular blocks +* DC, H, V, Paeth, smooth, and a subset of directional prediction modes +* DCT, (FLIP-)ADST and identity transforms (up to 64x64, 16x16 and 32x32 respectively) +* 8-, 10- and 12-bit depth color +* 4:2:0 (full support), 4:2:2 and 4:4:4 (limited) chroma sampling +* Variable speed settings +* Near real-time encoding at high speed levels + +%package -n librav1e0 +Summary: AV1 encoder library +Group: System/Libraries + +%description -n librav1e0 +rav1e is an AV1 video encoder libary. It is designed to eventually cover all +use cases, though in its current form it is most suitable for cases where +libaom (the reference encoder) is too slow. + +%package devel +Summary: Development files for rav1e +Group: Development/Libraries/C and C++ +Requires: librav1e0 = %{version} + +%description devel +The rav1e-devel package contains libraries and header files for +developing applications that use rav1e. + +%prep +%autosetup -a1 -p1 + +install -d -m 0755 .cargo +cat >.cargo/config <