summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/motiontrack')
-rw-r--r--media-video/motiontrack/ChangeLog7
-rw-r--r--media-video/motiontrack/Manifest2
-rw-r--r--media-video/motiontrack/files/digest-motiontrack-0.1.31
-rw-r--r--media-video/motiontrack/motiontrack-0.1.3.ebuild80
4 files changed, 89 insertions, 1 deletions
diff --git a/media-video/motiontrack/ChangeLog b/media-video/motiontrack/ChangeLog
index 947b4fabd8a9..bd31270764ce 100644
--- a/media-video/motiontrack/ChangeLog
+++ b/media-video/motiontrack/ChangeLog
@@ -1,6 +1,11 @@
# 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.5 2004/10/20 00:34:41 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/motiontrack/ChangeLog,v 1.6 2004/12/09 01:24:42 chriswhite Exp $
+
+*motiontrack-0.1.3 (09 Dec 2004)
+
+ 09 Dec 2004; Chris White <chriswhite@gentoo.org> +motiontrack-0.1.3.ebuild:
+ Bumped to version 0.1.3.
19 Oct 2004; Chris White <chriswhite@gentoo.org> motiontrack-0.1.0.ebuild,
motiontrack-0.1.2.ebuild:
diff --git a/media-video/motiontrack/Manifest b/media-video/motiontrack/Manifest
index 5c196aae9b83..c836c0c9323b 100644
--- a/media-video/motiontrack/Manifest
+++ b/media-video/motiontrack/Manifest
@@ -2,5 +2,7 @@ MD5 d332ef8e12314ad7ad3cc92210ef5e3b ChangeLog 1121
MD5 31018765c8c65a239dba78a98c405543 metadata.xml 224
MD5 95dd1ae456ce1489665da5631c29ced9 motiontrack-0.1.0.ebuild 1946
MD5 5e17175bc71732b667f810dbaf4a4b7b motiontrack-0.1.2.ebuild 1955
+MD5 e6b12f70c6dad5ddaf7bb75ca4286c82 motiontrack-0.1.3.ebuild 2009
MD5 1e0932e975040bc45ea22a77983a2247 files/digest-motiontrack-0.1.0 69
MD5 657b34d97059cec1a62b7e41615ed406 files/digest-motiontrack-0.1.2 69
+MD5 69f35a2546de93eff00bbf1dba20c9b1 files/digest-motiontrack-0.1.3 69
diff --git a/media-video/motiontrack/files/digest-motiontrack-0.1.3 b/media-video/motiontrack/files/digest-motiontrack-0.1.3
new file mode 100644
index 000000000000..b702ac413281
--- /dev/null
+++ b/media-video/motiontrack/files/digest-motiontrack-0.1.3
@@ -0,0 +1 @@
+MD5 d5ac6bd18bdf4dae8c552d0b2707395e motiontrack-0.1.3.tar.gz 136592
diff --git a/media-video/motiontrack/motiontrack-0.1.3.ebuild b/media-video/motiontrack/motiontrack-0.1.3.ebuild
new file mode 100644
index 000000000000..a4b07e60397a
--- /dev/null
+++ b/media-video/motiontrack/motiontrack-0.1.3.ebuild
@@ -0,0 +1,80 @@
+# 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.3.ebuild,v 1.1 2004/12/09 01:24:42 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="gd imagemagick debug multiprocess"
+
+DEPEND="virtual/libc
+ debug? (
+ gd? (
+ imagemagick? ( >=media-gfx/imagemagick-5.5.7 )
+ !imagemagick? ( media-libs/gd )
+ )
+ !gd? ( >=media-gfx/imagemagick-5.5.7 )
+ )
+ !debug? (
+ imagemagick? (
+ gd? ( media-libs/gd )
+ !gd? ( >=media-gfx/imagemagick-5.5.7 )
+ )
+ !imagemagick? ( media-libs/gd )
+ )"
+
+src_compile() {
+
+ local myconf
+
+ if use gd; 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 gd; 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 gd; 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 \
+ $(use_enable multiprocess cluster) \
+ || die "configure failed"
+ emake || die "make failed"
+
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "install failed"
+ dodoc README src/TheCode.txt
+}