diff options
author | Chris White <chriswhite@gentoo.org> | 2004-07-20 06:23:17 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2004-07-20 06:23:17 +0000 |
commit | 0ba14205c7276dcbb0343e71bd946b6932536d8e (patch) | |
tree | 9bb60971c5272d7287fe70683263c4ea8ffc2cf0 /media-video | |
parent | || die for sparc's make in src_compile(). (Manifest recommit) (diff) | |
download | gentoo-2-0ba14205c7276dcbb0343e71bd946b6932536d8e.tar.gz gentoo-2-0ba14205c7276dcbb0343e71bd946b6932536d8e.tar.bz2 gentoo-2-0ba14205c7276dcbb0343e71bd946b6932536d8e.zip |
Initial addition of motiontrack to portage tree. Fixes Bug #47130. Added myself as maintainer
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/motiontrack/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/motiontrack/Manifest | 2 | ||||
-rw-r--r-- | media-video/motiontrack/files/digest-motiontrack-0.1.0 | 1 | ||||
-rw-r--r-- | media-video/motiontrack/metadata.xml | 8 | ||||
-rw-r--r-- | media-video/motiontrack/motiontrack-0.1.0.ebuild | 75 |
5 files changed, 94 insertions, 0 deletions
diff --git a/media-video/motiontrack/ChangeLog b/media-video/motiontrack/ChangeLog new file mode 100644 index 000000000000..6756e37c4668 --- /dev/null +++ b/media-video/motiontrack/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-video/motiontrack +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/motiontrack/ChangeLog,v 1.1 2004/07/20 06:23:17 chriswhite Exp $ + + 20 Jul 2004; Chris White <chriswhite@gentoo.org> : + Initial addition to the tree. Thanks to gentoo <eric.noack@gemia.de> for + submitting the ebuild in Bug #47130. + diff --git a/media-video/motiontrack/Manifest b/media-video/motiontrack/Manifest new file mode 100644 index 000000000000..8559addc129d --- /dev/null +++ b/media-video/motiontrack/Manifest @@ -0,0 +1,2 @@ +MD5 d529d7f9259e5bab2d8ad075c620aea4 motiontrack-0.1.0.ebuild 1820 +MD5 1e0932e975040bc45ea22a77983a2247 files/digest-motiontrack-0.1.0 69 diff --git a/media-video/motiontrack/files/digest-motiontrack-0.1.0 b/media-video/motiontrack/files/digest-motiontrack-0.1.0 new file mode 100644 index 000000000000..dbb77b9744df --- /dev/null +++ b/media-video/motiontrack/files/digest-motiontrack-0.1.0 @@ -0,0 +1 @@ +MD5 2715c39defe4ac4499248a21d9355b8c motiontrack-0.1.0.tar.gz 107121 diff --git a/media-video/motiontrack/metadata.xml b/media-video/motiontrack/metadata.xml new file mode 100644 index 000000000000..6fb162be6d97 --- /dev/null +++ b/media-video/motiontrack/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>media-video</herd> +<maintainer> + <email>chriswhite@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/media-video/motiontrack/motiontrack-0.1.0.ebuild b/media-video/motiontrack/motiontrack-0.1.0.ebuild new file mode 100644 index 000000000000..ce3ef504c7bf --- /dev/null +++ b/media-video/motiontrack/motiontrack-0.1.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/motiontrack/motiontrack-0.1.0.ebuild,v 1.1 2004/07/20 06:23:17 chriswhite Exp $ + + +DESCRIPTION="A set of tools that detect motion between two images" +SRC_URI="http://gemia.de/motion/${P}.tar.gz" +HOMEPAGE="http://motiontrack.sourceforge.net" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~ppc64 ~sparc ~mips ~alpha ~hppa ~amd64" + +IUSE="libgd imagemagick debug" + +DEPEND="virtual/glibc + debug? ( + libgd? ( + imagemagick? ( >=media-gfx/imagemagick-5.5.7 ) : ( media-libs/gd ) + ) : ( >=media-gfx/imagemagick-5.5.7 ) + ) : ( + imagemagick? ( + gd? ( media-libs/gd ) : ( >=media-gfx/imagemagick-5.5.7 ) + ) : ( media-libs/gd ) + )" + +src_compile() { + + local myconf + + if use libgd; then + if use imagemagick; then + einfo "motiontrack can only use one of libgd or imagemagick, not both." + einfo "default is libgd when debug is unset, imagemagick otherwise." + einfo "please unset one of these use flags if you have other intentions." + fi + fi + if use debug; then + #default to imagemagick for providing better features + #for debugging + myconf="--enable-debug" + if use libgd; then + if use imagemagick; then + myconf="${myconf} --enable-magick --disable-gd"; + else + myconf="${myconf} --disable-magick --enable-gd"; + fi + else + myconf="${myconf} --enable-magick --disable-gd"; + fi + else + #default to libgd for being faster + myconf="--disable-debug" + if use imagemagick; then + if use libgd; then + myconf="${myconf} --disable-magick --enable-gd"; + else + myconf="${myconf} --enable-magick --disable-gd"; + fi + else + myconf="${myconf} --disable-magick --enable-gd"; + fi + fi + + econf $myconf || die "configure failed" + emake || die "make failed" + +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + dodoc README src/TheCode.txt +} + + |