* [gentoo-commits] repo/user/gerislay:master commit in: media-video/rav1e/
@ 2020-02-22 20:42 gerion
0 siblings, 0 replies; only message in thread
From: gerion @ 2020-02-22 20:42 UTC (permalink / raw
To: gentoo-commits
commit: 1c8e74299a61fa9c4c4b9de368d45681374531d8
Author: Gerion Entrup <gerion.entrup <AT> flump <DOT> de>
AuthorDate: Sat Feb 22 20:41:38 2020 +0000
Commit: gerion <gerion.entrup <AT> flump <DOT> de>
CommitDate: Sat Feb 22 20:41:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/user/gerislay.git/commit/?id=1c8e7429
media-video/rav1e: support for c library
Signed-off-by: Gerion Entrup <gerion.entrup <AT> flump.de>
media-video/rav1e/Manifest | 2 ++
media-video/rav1e/metadata.xml | 8 ++++++
media-video/rav1e/rav1e-9999.ebuild | 54 +++++++++++++++++++++++++++++++++++++
3 files changed, 64 insertions(+)
diff --git a/media-video/rav1e/Manifest b/media-video/rav1e/Manifest
new file mode 100644
index 0000000..3a8b895
--- /dev/null
+++ b/media-video/rav1e/Manifest
@@ -0,0 +1,2 @@
+EBUILD rav1e-9999.ebuild 1115 BLAKE2B 663d7583ecb0274d82839a31935c857648ceb2600d302b6a780a1d74088bb4b5b933ceec16a989338908ae1793ea961d46c315e43159377f7f5b7093c10e4e07 SHA512 4537622f81ace4dcf86735aee245fc72b595f4c93590963aebfb3715f46a1007604068a5522b93b71181aae45ebdcb3a473d9b03a2b316cbcc94014da329c5b7
+MISC metadata.xml 257 BLAKE2B badba0fbfa1f75f96f5bcb2c87ac66b6eb63b243914e9587f515295031fa781f4951490b12a7f18e813dd499187ac2f078b7794acb1f0c6e85e3aa6780696597 SHA512 5da541252f64d35e3c348855e9db16a7aeb9451e152710347953281a9d080f52ddf571a686a5cad7d5f7e90e5a6f33853c0056e6c28ea9ff58096344983725d5
diff --git a/media-video/rav1e/metadata.xml b/media-video/rav1e/metadata.xml
new file mode 100644
index 0000000..894544c
--- /dev/null
+++ b/media-video/rav1e/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Gerion Entrup</name>
+ <email>gerion.entrup@flump.de</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-video/rav1e/rav1e-9999.ebuild b/media-video/rav1e/rav1e-9999.ebuild
new file mode 100644
index 0000000..e375c83
--- /dev/null
+++ b/media-video/rav1e/rav1e-9999.ebuild
@@ -0,0 +1,54 @@
+# 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="library"
+
+ASM_DEP=">=dev-lang/nasm-2.14"
+DEPEND="
+ amd64? ( ${ASM_DEP} )
+ library? ( dev-util/cargo-c )
+"
+RDEPEND=""
+
+src_unpack() {
+ if [[ "${PV}" == *9999* ]]; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ fi
+}
+
+src_compile() {
+ cargo_src_compile
+ if use library ; then
+ cargo cbuild --release || die
+ fi
+}
+
+src_install() {
+ cargo_src_install
+ if use library ; then
+ cargo cinstall --destdir="${ED}" --prefix="/usr" --libdir "/usr/lib64" --release || die
+ # cargo cinstall seems not to work here so dirty patch the generated pc file
+ sed -i 's,prefix=/usr/local,prefix=/usr,;s,^\(libdir.*\),\164,' "${ED}"/usr/lib64/pkgconfig/rav1e.pc
+ fi
+}
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-22 20:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-22 20:42 [gentoo-commits] repo/user/gerislay:master commit in: media-video/rav1e/ gerion
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox