summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/mythtv/mythtv-0.16.20050115.ebuild')
-rw-r--r--media-tv/mythtv/mythtv-0.16.20050115.ebuild23
1 files changed, 7 insertions, 16 deletions
diff --git a/media-tv/mythtv/mythtv-0.16.20050115.ebuild b/media-tv/mythtv/mythtv-0.16.20050115.ebuild
index cb76bf056509..85c716064f9e 100644
--- a/media-tv/mythtv/mythtv-0.16.20050115.ebuild
+++ b/media-tv/mythtv/mythtv-0.16.20050115.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.16.20050115.ebuild,v 1.2 2005/02/06 23:58:41 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.16.20050115.ebuild,v 1.3 2005/02/10 07:24:51 cardoe Exp $
inherit myth flag-o-matic eutils
@@ -12,7 +12,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
-IUSE="alsa arts dvb directfb lcd lirc nvidia cle266 opengl X xv oss mmx"
+IUSE="alsa arts dvb directfb lcd lirc nvidia cle266 opengl X xv mmx"
S=${WORKDIR}/mythtv
@@ -50,10 +50,6 @@ pkg_setup() {
die "Qt needs MySQL support"
fi
- if ! use oss && ! use alsa && ! use arts ; then
- eerror "You must have one of oss alsa or arts enabled"
- die "No audio selected"
- fi
return 0
}
@@ -86,12 +82,6 @@ setup_pro() {
-i 'settings.pro' || die "enable lcd sed failed"
fi
- if ! use oss ; then
- sed -e 's:CONFIG += using_oss:#CONFIG += using_oss:' \
- -e 's:DEFINES += USING_OSS:#DEFINES += USING_OSS:' \
- -i 'settings.pro' || die "disable oss failed"
- fi
-
if use alsa ; then
sed -e 's:#CONFIG += using_alsa:CONFIG += using_alsa:' \
-e 's:#ALSA_LIBS = -lasound:ALSA_LIBS = -lasound:' \
@@ -129,13 +119,14 @@ setup_pro() {
fi
if use cle266 ; then
- sed -e 's:#EXTRA_LIBS += -lviaXvMC -lXvMC:EXTRA_LIBS += -lviaXvMC -lXvMC:' \
+ sed -e 's:#CONFIG += using_xvmc using_xvmc_vld:CONFIG += using_xvmc using_xvmc_vld:' \
+ -e 's:#DEFINES += USING_XVMC USING_XVMC_VLD:DEFINES += USING_XVMC USING_XVMC_VLD:' \
+ -e 's:#EXTRA_LIBS += -lviaXvMC -lXvMC:EXTRA_LIBS += -lviaXvMC -lXvMC:' \
-i 'settings.pro' || die "enable cle266 sed failed"
fi
- if ! use cle266 ; then
- sed -e 's:CONFIG += using_xvmc using_xvmc_vld:#CONFIG += using_xvmc using_xvmc_vld:' \
- -e 's:DEFINES += USING_XVMC USING_XVMC_VLD:#DEFINES += USING_XVMC USING_XVMC_VLD:' \
+ if ! use cle266 ; then # needed because nvidia and cle266 are not compatible
+ sed -e 's:EXTRA_LIBS += -lviaXvMC -lXvMC:#EXTRA_LIBS += -lviaXvMC -lXvMC:' \
-i 'settings.pro' || die "disable VLD XvMC sed failed"
fi