summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2005-05-28 07:48:38 +0000
committerLuca Barbato <lu_zero@gentoo.org>2005-05-28 07:48:38 +0000
commit14a94d803111ba7cb030841f37813a651a3bd1e7 (patch)
treecafebb5bedac33791c457c95952852c4e263829d /media-video/tcvp/tcvp-0.2.0.ebuild
parentuse the official htb patch (diff)
downloadgentoo-2-14a94d803111ba7cb030841f37813a651a3bd1e7.tar.gz
gentoo-2-14a94d803111ba7cb030841f37813a651a3bd1e7.tar.bz2
gentoo-2-14a94d803111ba7cb030841f37813a651a3bd1e7.zip
oggvorbis -> vorbis
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-video/tcvp/tcvp-0.2.0.ebuild')
-rw-r--r--media-video/tcvp/tcvp-0.2.0.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/media-video/tcvp/tcvp-0.2.0.ebuild b/media-video/tcvp/tcvp-0.2.0.ebuild
index 4bfb40c46caf..73b569ae316a 100644
--- a/media-video/tcvp/tcvp-0.2.0.ebuild
+++ b/media-video/tcvp/tcvp-0.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/tcvp/tcvp-0.2.0.ebuild,v 1.7 2004/12/14 12:24:16 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/tcvp/tcvp-0.2.0.ebuild,v 1.8 2005/05/28 07:48:38 lu_zero Exp $
DESCRIPTION="A modular player and encoder/transcoder for music and video."
HOMEPAGE="http://tcvp.sourceforge.net/"
@@ -10,7 +10,7 @@ SLOT="0"
LICENSE="MIT"
KEYWORDS="~x86 ~ppc"
-IUSE="aac mpeg mad alsa dvd encode ffmpeg oggvorbis oss"
+IUSE="aac mpeg mad alsa dvd encode ffmpeg ogg vorbis oss"
DEPEND=">=dev-libs/libtc-1.1.0
>=dev-libs/tc2-0.6.0
@@ -26,8 +26,8 @@ DEPEND=">=dev-libs/libtc-1.1.0
ffmpeg? ( >=media-video/ffmpeg-0.4.8 )
mad? ( >=media-sound/madplay-0.15.2b )
mpeg? ( >=media-libs/libmpeg2-0.4.0b )
- oggvorbis? ( >=media-libs/libogg-1.1
- >=media-libs/libvorbis-1.0.1-r2 )"
+ ogg? ( >=media-libs/libogg-1.1 )
+ vorbis? ( >=media-libs/libvorbis-1.0.1-r2 )"
src_compile() {
local myconf
@@ -38,7 +38,11 @@ src_compile() {
use ffmpeg || myconf="${myconf} --disable-avcodec --disable-avformat --disable-avimage --disable-scale"
use mad || myconf="${myconf} --disable-mad"
use mpeg || myconf="${myconf} --disable-mpeg2"
- use oggvorbis || myconf="${myconf} --disable-ogg --disable-vorbis"
+ if ! use vorbis
+ then
+ myconf="${myconf} --disable-vorbis"
+ use ogg || myconf="${myconf} --disable-ogg"
+ fi
use oss || myconf="${myconf} --disable-oss"
econf ${myconf} || die "configure failed"
make || die