summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-12-31 23:46:18 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-12-31 23:46:18 +0000
commit20f708c0818ad7c986178ed6661767ccc6f8e7e7 (patch)
treedb96aafac1db0dabc60d4ee1422435675fbf6aa7 /media-video/drip
parenteclass for handeling packages that need the latest automake and autoconf (diff)
downloadgentoo-2-20f708c0818ad7c986178ed6661767ccc6f8e7e7.tar.gz
gentoo-2-20f708c0818ad7c986178ed6661767ccc6f8e7e7.tar.bz2
gentoo-2-20f708c0818ad7c986178ed6661767ccc6f8e7e7.zip
drip, for video conversion to divx
Diffstat (limited to 'media-video/drip')
-rw-r--r--media-video/drip/drip-0.8.0.ebuild73
-rw-r--r--media-video/drip/files/digest-drip-0.8.03
-rw-r--r--media-video/drip/files/drip-0.8.0-automake.diff25
-rw-r--r--media-video/drip/files/drip.desktop7
4 files changed, 108 insertions, 0 deletions
diff --git a/media-video/drip/drip-0.8.0.ebuild b/media-video/drip/drip-0.8.0.ebuild
new file mode 100644
index 000000000000..9d82c5c43205
--- /dev/null
+++ b/media-video/drip/drip-0.8.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Martin Schlemmer <azarah@cvs.gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-video/drip/drip-0.8.0.ebuild,v 1.1 2001/12/31 23:46:18 azarah Exp $
+
+# Drip needs automake-1.5 exactly
+AMAKEVER=1.5b
+ACONFVER=2.52
+
+. /usr/portage/eclass/inherit.eclass || die
+inherit autotools || die
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Drip - A DVD to DIVX convertor frontend"
+SRC_URI="${SRC_URI} http://drip.sourceforge.net/files/${P}.tar.gz"
+HOMEPAGE="http://drip.sourceforge.net/"
+
+RDEPEND="gnome-base/gnome-libs
+ >=media-video/avifile-0.6
+ media-libs/libdvdcss
+ media-libs/libdvdread
+ media-libs/gdk-pixbuf"
+
+DEPEND="${DEPEND}
+ ${RDEPEND}
+ dev-lang/nasm"
+
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd ${S}
+ patch < ${FILESDIR}/drip-0.8.0-automake.diff || die
+}
+
+src_compile() {
+
+ install_autotools
+
+ local myconf
+ use nls || myconf="--disable-nls"
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var/lib \
+ --sysconfdir=/etc \
+ $myconf || die
+
+ emake || die
+}
+
+src_install() {
+
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ localstatedir=${D}/var/lib \
+ sysconfdir=${D}/etc \
+ drip_helpdir=${D}/usr/share/gnome/help/drip/C \
+ drip_pixmapdir=${D}/usr/share/pixmaps \
+ install || die
+
+ dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
+
+ insinto /usr/share/pixmaps
+ newins ${S}/pixmaps/drip_logo.jpg drip.jpg
+ insinto /usr/share/gnome/apps/Multimedia
+ doins ${FILESDIR}/drip.desktop
+}
+
diff --git a/media-video/drip/files/digest-drip-0.8.0 b/media-video/drip/files/digest-drip-0.8.0
new file mode 100644
index 000000000000..a6c6eb06bded
--- /dev/null
+++ b/media-video/drip/files/digest-drip-0.8.0
@@ -0,0 +1,3 @@
+MD5 10c84c06700d841a2f50a7e49baa742b autoconf-2.52.tar.bz2 638976
+MD5 f5cc037f05f3b80d6cfd4ebe615ac5a7 automake-1.5b.tar.bz2 450560
+MD5 cee282fdb62241b5b58b177ab16689b3 drip-0.8.0.tar.gz 643072
diff --git a/media-video/drip/files/drip-0.8.0-automake.diff b/media-video/drip/files/drip-0.8.0-automake.diff
new file mode 100644
index 000000000000..2c8aa94d8ba2
--- /dev/null
+++ b/media-video/drip/files/drip-0.8.0-automake.diff
@@ -0,0 +1,25 @@
+--- configure.orig Sun Dec 16 18:00:21 2001
++++ configure Sun Dec 16 18:01:20 2001
+@@ -6767,14 +6767,14 @@
+ ;;
+ esac
+
+-echo $ac_n "checking for automake version 1.5""... $ac_c" 1>&6
+-echo "configure:6772: checking for automake version 1.5" >&5
+-AUTOMAKEVERSION=`$HASAUTOMAKE --version | head -n 1 | $AWK '{printf($4)}'`
+-if (test "$AUTOMAKEVERSION" = "1.5"); then
+- echo "$ac_t""found" 1>&6
+-else
+- { echo "configure: error: automake 1.5 is requiered. " 1>&2; exit 1; }
+-fi
++#echo $ac_n "checking for automake version 1.5""... $ac_c" 1>&6
++#echo "configure:6772: checking for automake version 1.5" >&5
++#AUTOMAKEVERSION=`$HASAUTOMAKE --version | head -n 1 | $AWK '{printf($4)}'`
++#if (test "$AUTOMAKEVERSION" = "1.5"); then
++# echo "$ac_t""found" 1>&6
++#else
++# { echo "configure: error: automake 1.5 is requiered. " 1>&2; exit 1; }
++#fi
+
+
+ # Extract the first word of "avifile-config", so it can be a program name with args.
diff --git a/media-video/drip/files/drip.desktop b/media-video/drip/files/drip.desktop
new file mode 100644
index 000000000000..b7daaab82347
--- /dev/null
+++ b/media-video/drip/files/drip.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=Drip
+Comment=A DVD to DIVX convertor frontend
+Exec=drip
+Icon=drip.jpg
+Terminal=0
+Type=Application