summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared H.Hudson <jhhudso@gentoo.org>2002-05-04 03:44:57 +0000
committerJared H.Hudson <jhhudso@gentoo.org>2002-05-04 03:44:57 +0000
commitce08c162d6aed00f263bb13bcc65bc47871f3b0c (patch)
treedad766d4bc3e2f055205c41b124c3b54b1e5bcfd
parentadded LICENSE, SLOT. (diff)
downloadgentoo-2-ce08c162d6aed00f263bb13bcc65bc47871f3b0c.tar.gz
gentoo-2-ce08c162d6aed00f263bb13bcc65bc47871f3b0c.tar.bz2
gentoo-2-ce08c162d6aed00f263bb13bcc65bc47871f3b0c.zip
Fixed a gcc3 bug in transcode.
-rw-r--r--media-video/transcode/ChangeLog10
-rw-r--r--media-video/transcode/files/transcode-0.6.0_pre4.diff11
-rw-r--r--media-video/transcode/transcode-0.6.0_pre4-r2.ebuild58
3 files changed, 78 insertions, 1 deletions
diff --git a/media-video/transcode/ChangeLog b/media-video/transcode/ChangeLog
index 674f702edd87..4a8319c854c9 100644
--- a/media-video/transcode/ChangeLog
+++ b/media-video/transcode/ChangeLog
@@ -1,7 +1,15 @@
# ChangeLog for media-video/transcode
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.4 2002/04/21 23:34:38 mkennedy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.5 2002/05/04 03:44:57 jhhudso Exp $
+*transcode-0.6.0_pre4-r2 (3 May 2002)
+
+ 3 May 2002; J.Hudson <jhhudso@gentoo.org>
+ transcode-0.6.0_pre4-r2.ebuild,
+ files/digest-transcode-0.6.0_pre4-r1, Changelog :
+
+ Added a patch that fixes gcc3 compiles with this package.
+
*transcode-0.6.0_pre4-r1 (21 Apr 2002)
21 Apr 2002; Matthew Kennedy <mkennedy@gentoo.org>
diff --git a/media-video/transcode/files/transcode-0.6.0_pre4.diff b/media-video/transcode/files/transcode-0.6.0_pre4.diff
new file mode 100644
index 000000000000..9f827e42df33
--- /dev/null
+++ b/media-video/transcode/files/transcode-0.6.0_pre4.diff
@@ -0,0 +1,11 @@
+diff -ur transcode-0.6.0pre4.orig/import/af6_decore.cpp transcode-0.6.0pre4/import/af6_decore.cpp
+--- transcode-0.6.0pre4.orig/import/af6_decore.cpp Tue Mar 26 15:40:31 2002
++++ transcode-0.6.0pre4/import/af6_decore.cpp Fri May 3 22:30:24 2002
+@@ -42,7 +42,6 @@
+ #include <avifile/creators.h>
+ #include <iostream>
+
+-using namespace std;
+ using namespace Creators;
+
+ #ifdef __cplusplus
diff --git a/media-video/transcode/transcode-0.6.0_pre4-r2.ebuild b/media-video/transcode/transcode-0.6.0_pre4-r2.ebuild
new file mode 100644
index 000000000000..36bc9cfe8705
--- /dev/null
+++ b/media-video/transcode/transcode-0.6.0_pre4-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Dan Armak <danarmak@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.0_pre4-r2.ebuild,v 1.1 2002/05/04 03:44:57 jhhudso Exp $
+
+MY_P=${P/_/}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="video stream processing tool"
+SRC_URI="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/pre/${MY_P}.tgz"
+HOMEPAGE="http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode"
+
+# Note: transcode can use pretty much any media-related package ever written as
+# a plugin. An exhaustive dep list would make me add about 20-30 packages to
+# portage. perhaps another time :-)
+
+DEPEND=">=media-libs/a52dec-0.7.3
+ media-libs/libdv
+ media-libs/libsdl
+ =x11-libs/gtk+-1.2*
+ >=media-video/avifile-0.6
+ dvd? ( media-libs/libdvdread )
+ mpeg? ( media-libs/libmpeg3 )
+ encode? ( >=media-sound/lame-3.89 )
+ quicktime? ( media-libs/quicktime4linux )"
+
+src_unpack() {
+ unpack ${A}
+
+ if [ "`gcc --version | cut -f1 -d.`" = "3" ];
+ then
+ patch -p0 < ${FILESDIR}/transcode-0.6.0_pre4.diff
+ fi
+}
+
+src_compile() {
+
+ local myconf
+
+ use encode \
+ && myconf="${myconf} --with-lame" \
+ || myconf="${myconf} --without-lame"
+
+ use mpeg \
+ && myconf="${myconf} --with-libmpeg3" \
+ || myconf="${myconf} --without-libmpeg3"
+
+ econf ${myconf} || die
+
+ emake all || die
+
+}
+
+src_install () {
+
+ make \
+ DESTDIR=${D} \
+ install || die
+}