diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2019-11-20 13:46:08 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2019-11-20 14:07:19 +0000 |
commit | 5fc1b4fcc8354c3cb8cc97e7bef09e67bcdcab79 (patch) | |
tree | 16c546ab5c27dacc26e2f6c353d3439804ee7f2f /media-video | |
parent | media-libs/chromaprint: Drop 1.4.2 (diff) | |
download | gentoo-5fc1b4fcc8354c3cb8cc97e7bef09e67bcdcab79.tar.gz gentoo-5fc1b4fcc8354c3cb8cc97e7bef09e67bcdcab79.tar.bz2 gentoo-5fc1b4fcc8354c3cb8cc97e7bef09e67bcdcab79.zip |
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 <lu_zero@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/rav1e/metadata.xml | 7 | ||||
-rw-r--r-- | media-video/rav1e/rav1e-9999.ebuild | 38 |
2 files changed, 45 insertions, 0 deletions
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 @@ +<?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 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 . +} |