summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-05-19 19:03:15 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-05-19 19:03:15 +0000
commit3e393c642b7a1e5c69261526b6e94c9bd61dcc8a (patch)
treeffbd3214664e6845902ed43c76f87547f95aeca5 /media-video/drip
parenttypo (diff)
downloadhistorical-3e393c642b7a1e5c69261526b6e94c9bd61dcc8a.tar.gz
historical-3e393c642b7a1e5c69261526b6e94c9bd61dcc8a.tar.bz2
historical-3e393c642b7a1e5c69261526b6e94c9bd61dcc8a.zip
fix avifile-0.7 support
Diffstat (limited to 'media-video/drip')
-rw-r--r--media-video/drip/ChangeLog8
-rw-r--r--media-video/drip/drip-0.8.1-r2.ebuild95
-rw-r--r--media-video/drip/files/digest-drip-0.8.1-r21
3 files changed, 103 insertions, 1 deletions
diff --git a/media-video/drip/ChangeLog b/media-video/drip/ChangeLog
index 75343471fa90..2ab3a85391ae 100644
--- a/media-video/drip/ChangeLog
+++ b/media-video/drip/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/drip
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/drip/ChangeLog,v 1.3 2002/04/06 15:54:48 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/drip/ChangeLog,v 1.4 2002/05/19 19:03:15 azarah Exp $
+
+*drip-0.8.1-r2 (19 May 2002)
+
+ 19 May 2002; M.Schlemmer <azarah@gentoo.org> drip-0.8.1-r2.ebuild :
+
+ Should compile with avifile-0.7.4 now.
*drip-0.8.1-r1 (6 Apr 2002)
diff --git a/media-video/drip/drip-0.8.1-r2.ebuild b/media-video/drip/drip-0.8.1-r2.ebuild
new file mode 100644
index 000000000000..3c7541e6ae2c
--- /dev/null
+++ b/media-video/drip/drip-0.8.1-r2.ebuild
@@ -0,0 +1,95 @@
+# 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.1-r2.ebuild,v 1.1 2002/05/19 19:03:15 azarah Exp $
+
+AF_MINOR_VER=7
+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.7.4.20020426
+ >=media-libs/libdvdcss-1.1.1
+ >=media-libs/libdvdread-0.9.2
+ media-libs/gdk-pixbuf"
+
+DEPEND="${RDEPEND}
+ dev-lang/nasm
+ >=sys-devel/automake-1.5-r1"
+
+
+src_unpack() {
+
+ unpack ${A}
+
+ # Fix hardcoded path of plugins
+ cd ${S}
+ cp encoder/plugin-loader.cpp encoder/plugin-loader.cpp.orig
+ sed -e "s:/usr/local/lib:/usr/lib:g" \
+ encoder/plugin-loader.cpp.orig >encoder/plugin-loader.cpp
+
+ # Fixup to work with avifile-0.${AF_MINOR_VER}
+ cd ${S}/encoder
+ for x in encoder.hh main.hh encoder.cpp external.cpp
+ do
+ cp ${x} ${x}.orig
+ sed -e "s:AVIFILE_MINOR_VERSION==6:AVIFILE_MINOR_VERSION==${AF_MINOR_VER}:g" \
+ ${x}.orig >${x}
+ done
+
+ # Fix it to work with the suffix the new avifile introduces.
+ cd ${S}
+ for x in $(find . -name 'Makefile.am') configure.in
+ do
+ cp ${x} ${x}.orig
+ sed -e "s:avifile-config:avifile-config0.${AF_MINOR_VER}:g" \
+ ${x}.orig >${x}
+ done
+
+ export WANT_AUTOMAKE_1_5=1
+ aclocal -I macros
+ automake --add-missing
+ autoconf
+}
+
+src_compile() {
+
+ export WANT_AUTOMAKE_1_5=1
+
+ local myconf
+ use nls || myconf="--disable-nls"
+
+ CFLAGS= \
+ CXXFLAGS= \
+ ./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.1-r2 b/media-video/drip/files/digest-drip-0.8.1-r2
new file mode 100644
index 000000000000..53af5b8fffdc
--- /dev/null
+++ b/media-video/drip/files/digest-drip-0.8.1-r2
@@ -0,0 +1 @@
+MD5 b88e9731f7266f0e0b9ff412c13a3624 drip-0.8.1.tar.gz 603487