diff options
Diffstat (limited to 'media-video/transcode/transcode-0.6.3.ebuild')
-rw-r--r-- | media-video/transcode/transcode-0.6.3.ebuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/media-video/transcode/transcode-0.6.3.ebuild b/media-video/transcode/transcode-0.6.3.ebuild index 7356dfbb5110..a69f6bd49eb4 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.8 2003/09/07 00:08:13 msterret Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.3.ebuild,v 1.9 2003/10/11 11:15:09 lanius Exp $ inherit libtool flag-o-matic @@ -34,7 +34,7 @@ DEPEND=">=media-libs/a52dec-0.7.3 mpeg? ( media-libs/libmpeg3 ) encode? ( >=media-sound/lame-3.89 ) sdl? ( media-libs/libsdl ) - quicktime? ( virtual/quicktime media-libs/openquicktime )" + quicktime? ( virtual/quicktime )" src_unpack() { unpack ${A} @@ -79,9 +79,11 @@ src_compile() { && myconf="${myconf} --with-libmpeg3" \ || myconf="${myconf} --without-libmpeg3" - use quicktime \ - && myconf="${myconf} --with-qt --with-openqt" \ - || myconf="${myconf} --without-qt --without-openqt" + if [ "`use quicktime`" ]; then + has_version 'media-libs/openquicktime' \ + && myconf="${myconf} --with-openqt --without-qt" \ + || myconf="${myconf} --without-openqt --with-qt" + fi use X \ && myconf="${myconf} --enable-x" \ |