From 5fc1b4fcc8354c3cb8cc97e7bef09e67bcdcab79 Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Wed, 20 Nov 2019 13:46:08 +0000 Subject: [PATCH] media-video/rav1e: Initial ebuild 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 --- media-video/rav1e/metadata.xml | 7 ++++++ media-video/rav1e/rav1e-9999.ebuild | 38 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 media-video/rav1e/metadata.xml create mode 100644 media-video/rav1e/rav1e-9999.ebuild diff --git a/media-video/rav1e/metadata.xml b/media-video/rav1e/metadata.xml new file mode 100644 index 000000000000..71e948fffb95 --- /dev/null +++ b/media-video/rav1e/metadata.xml @@ -0,0 +1,7 @@ + + + + + lu_zero@gentoo.org + + diff --git a/media-video/rav1e/rav1e-9999.ebuild b/media-video/rav1e/rav1e-9999.ebuild new file mode 100644 index 000000000000..0136a727b3a0 --- /dev/null +++ b/media-video/rav1e/rav1e-9999.ebuild @@ -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 . +} -- 2.26.2