summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-10-15 08:59:35 +0200
committerAlexis Ballier <aballier@gentoo.org>2015-10-15 08:59:51 +0200
commit1ea11df9782d3911550906e084e212b20628d2ec (patch)
tree07f5143edb743c4a325c367005b94cbb8b6fe22b /media-video/harvid
parentapp-admin/glance: actually install liberty (diff)
downloadgentoo-1ea11df9782d3911550906e084e212b20628d2ec.tar.gz
gentoo-1ea11df9782d3911550906e084e212b20628d2ec.tar.bz2
gentoo-1ea11df9782d3911550906e084e212b20628d2ec.zip
media-video/harvid: Initial import. Ebuild by me.
Package-Manager: portage-2.2.23
Diffstat (limited to 'media-video/harvid')
-rw-r--r--media-video/harvid/Manifest1
-rw-r--r--media-video/harvid/harvid-0.8.0.ebuild51
-rw-r--r--media-video/harvid/metadata.xml8
3 files changed, 60 insertions, 0 deletions
diff --git a/media-video/harvid/Manifest b/media-video/harvid/Manifest
new file mode 100644
index 000000000000..aba85716be6c
--- /dev/null
+++ b/media-video/harvid/Manifest
@@ -0,0 +1 @@
+DIST harvid-0.8.0.tar.gz 116079 SHA256 d4c017fb010aa1479d41d3f4cc9f77e8a0140dd359ea629faeda81093c2c8c88 SHA512 8e999e91e36708df7264fc351e5b6cac6c47fa5e0e612d0917bbfa02e98d13f9758f43312e6febebe56e7b8f2f72b80b6c47598de7100d3b5479b80720b91568 WHIRLPOOL d50f94b745192158d95f895ce6d13933891078b484f4d5e6b9a06d7c65e340a59cf5a3e66e87c9b013618c4a9ecea7f8006aa7489c932d0d61769e64446fed36
diff --git a/media-video/harvid/harvid-0.8.0.ebuild b/media-video/harvid/harvid-0.8.0.ebuild
new file mode 100644
index 000000000000..5c2db6056594
--- /dev/null
+++ b/media-video/harvid/harvid-0.8.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit toolchain-funcs multilib
+
+DESCRIPTION="HTTP Ardour Video Daemon"
+HOMEPAGE="http://x42.github.io/harvid/"
+SRC_URI="https://github.com/x42/harvid/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="libav"
+
+RDEPEND="
+ !libav? ( media-video/ffmpeg:= )
+ libav? ( media-video/libav:= )
+ media-libs/libpng:0=
+ virtual/jpeg:0
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+hv_make() {
+ emake \
+ CC="$(tc-getCC)" \
+ RANLIB="$(tc-getRANLIB)" \
+ STRIP="true" \
+ NM="$(tc-getNM) -B" \
+ LD="$(tc-getLD)" \
+ AR="$(tc-getAR)" \
+ PREFIX="${EPREFIX:-/}usr" \
+ libdir="${EPREFIX:-/}usr/$(get_libdir)" \
+ hdocdir="${EPREFIX:-/}usr/share/doc/${PF}" \
+ "${@}"
+}
+
+src_compile() {
+ hv_make -C libharvid
+ hv_make -C src
+ hv_make
+}
+
+src_install() {
+ hv_make DESTDIR="${D}" install
+ dodoc ChangeLog README.md
+}
diff --git a/media-video/harvid/metadata.xml b/media-video/harvid/metadata.xml
new file mode 100644
index 000000000000..c572c7d9b478
--- /dev/null
+++ b/media-video/harvid/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>