summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-03-05 18:39:54 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-03-05 18:39:54 +0000
commit1ddb6ee3ad2ea153e0da2b6cb04c7a36347ba5eb (patch)
tree375e650b177a49198144206945eb66b78c235eca /media-video/transcode/transcode-0.6.3.ebuild
parentIUSE fix (diff)
downloadgentoo-2-1ddb6ee3ad2ea153e0da2b6cb04c7a36347ba5eb.tar.gz
gentoo-2-1ddb6ee3ad2ea153e0da2b6cb04c7a36347ba5eb.tar.bz2
gentoo-2-1ddb6ee3ad2ea153e0da2b6cb04c7a36347ba5eb.zip
get to work with latest netpbm
Diffstat (limited to 'media-video/transcode/transcode-0.6.3.ebuild')
-rw-r--r--media-video/transcode/transcode-0.6.3.ebuild20
1 files changed, 17 insertions, 3 deletions
diff --git a/media-video/transcode/transcode-0.6.3.ebuild b/media-video/transcode/transcode-0.6.3.ebuild
index b22d90088bf4..d9a8f9234a0c 100644
--- a/media-video/transcode/transcode-0.6.3.ebuild
+++ b/media-video/transcode/transcode-0.6.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.3.ebuild,v 1.2 2003/03/02 19:27:20 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.3.ebuild,v 1.3 2003/03/05 18:39:54 azarah Exp $
inherit libtool flag-o-matic
@@ -26,7 +26,7 @@ DEPEND=">=media-libs/a52dec-0.7.3
>=dev-libs/lzo-1.08
>=media-libs/libfame-0.9.0
>=media-gfx/imagemagick-5.4.9.0
- =media-libs/netpbm-9.12*
+ media-libs/netpbm
X? ( virtual/x11 )
avi? ( >=media-video/avifile-0.7.25 )
mpeg? ( media-libs/libmpeg3 )
@@ -34,11 +34,25 @@ DEPEND=">=media-libs/a52dec-0.7.3
sdl? ( media-libs/libsdl )
quicktime? ( media-libs/quicktime4linux media-libs/openquicktime )"
+src_unpack() {
+ unpack ${A}
+
+ if has_version '>=media-libs/netpbm-9.13'
+ then
+ einfo "New netbpm (>9.12)..."
+ cp ${S}/contrib/subrip/Makefile ${S}/contrib/subrip/Makefile.orig
+ sed -e 's:-lppm:-lnetpbm:' \
+ ${S}/contrib/subrip/Makefile.orig > ${S}/contrib/subrip/Makefile
+ else
+ einfo "Old netbpm (<=9.12)..."
+ fi
+}
+
src_compile() {
# fix invalid paths in .la files of plugins
elibtoolize
- local myconf
+ local myconf=
myconf="--with-dvdread"
use mmx \