media-video/rav1e: Initial ebuild
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 20 Nov 2019 13:46:08 +0000 (13:46 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 20 Nov 2019 14:07:19 +0000 (14:07 +0000)
Release 0.2.0 will be the first landing Gentoo.

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
media-video/rav1e/metadata.xml [new file with mode: 0644]
media-video/rav1e/rav1e-9999.ebuild [new file with mode: 0644]

diff --git a/media-video/rav1e/metadata.xml b/media-video/rav1e/metadata.xml
new file mode 100644 (file)
index 0000000..71e948f
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lu_zero@gentoo.org</email>
+  </maintainer>
+</pkgmetadata>
diff --git a/media-video/rav1e/rav1e-9999.ebuild b/media-video/rav1e/rav1e-9999.ebuild
new file mode 100644 (file)
index 0000000..0136a72
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 2017-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Auto-Generated by cargo-ebuild 0.2.0
+
+EAPI=7
+
+inherit cargo
+
+if [[ ${PV} == *9999 ]] ; then
+       EGIT_REPO_URI="https://github.com/xiph/rav1e.git"
+       inherit git-r3
+fi
+
+DESCRIPTION="The fastest and safest AV1 encoder"
+HOMEPAGE="https://github.com/xiph/rav1e/"
+SRC_URI="$(cargo_crate_uris ${CRATES})"
+RESTRICT="mirror"
+LICENSE="BSD-2"
+SLOT="0"
+
+KEYWORDS=""
+IUSE=""
+
+ASM_DEP=">=dev-lang/nasm-2.14"
+DEPEND="amd64? ( ${ASM_DEP} )"
+RDEPEND=""
+
+src_unpack() {
+       if [[ "${PV}" == *9999* ]]; then
+               git-r3_src_unpack
+               cargo_live_src_unpack
+       fi
+}
+
+src_install() {
+       cargo_src_install --path .
+}