View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/media-tv/mythtv/mythtv-0.21_p17100.ebuild (-23 / +24 lines)
 Lines 1-7    Link Here 
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.21_p17100.ebuild,v 1.1 2008/04/23 16:42:45 cardoe Exp $
EAPI=1
EAPI=1
inherit flag-o-matic multilib eutils qt3 mythtv toolchain-funcs python
inherit flag-o-matic multilib eutils qt3 mythtv toolchain-funcs python
 Lines 9-17    Link Here 
SLOT="0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_via"
IUSE_VIDEO_CARDS="video_cards_nvidia"
IUSE="aac alsa altivec autostart debug directv dvb dvd \
IUSE="aac alsa altivec autostart debug directv dvb dvd \
ieee1394 jack lcd lirc mmx opengl opengl-video opengl-xvmc \
ieee1394 jack lcd lirc mmx opengl opengl-video \
perl python xvmc ${IUSE_VIDEO_CARDS}"
perl python xvmc ${IUSE_VIDEO_CARDS}"
RDEPEND=">=media-libs/freetype-2.0
RDEPEND=">=media-libs/freetype-2.0
 Lines 43-49    Link Here 
	lirc? ( app-misc/lirc )
	lirc? ( app-misc/lirc )
	perl? ( dev-perl/DBD-mysql )
	perl? ( dev-perl/DBD-mysql )
	python? ( dev-python/mysql-python )
	python? ( dev-python/mysql-python )
	opengl-xvmc? ( >=x11-drivers/nvidia-drivers-100 )
	xvmc? ( x11-libs/libXvMC
	xvmc? ( x11-libs/libXvMC
		app-admin/eselect-xvmc )"
		app-admin/eselect-xvmc )"
 Lines 75-85    Link Here 
	einfo "package building."
	einfo "package building."
	echo
	echo
	if use xvmc && use opengl-xvmc ; then
	if use xvmc && use video_cards_nvidia ; then
		einfo "Enabling USE=opengl-xvmc results in an experimental OpenGL"
		einfo "For NVIDIA based cards, the XvMC renderer only works on"
		einfo "& XvMC renderer that only works on NVIDIA GeForce 4,5,6, & 7"
		einfo "the NVIDIA GeForce 4,5,6, & 7 series of cards."
		einfo "series of cards. It is typically slower then stock XVideo"
		einfo "support that is the default in MythTV."
		echo
		echo
	fi
	fi
 Lines 117-128    Link Here 
	use altivec || myconf="${myconf} --disable-altivec"
	use altivec || myconf="${myconf} --disable-altivec"
	use jack || myconf="${myconf} --disable-audio-jack"
	use jack || myconf="${myconf} --disable-audio-jack"
	use opengl-video && myconf="${myconf} --enable-opengl-video"
	use opengl-video && myconf="${myconf} --enable-opengl-video"
	use xvmc && ! use video_cards_via && ! use opengl-xvmc && \
		myconf="${myconf} --enable-xvmc"
	if use xvmc; then
	use xvmc && use video_cards_via && myconf="${myconf} --enable-xvmc \
		# Default all XvMC to use the XmVC Wrapper (libXvMCW)
		--enable-xvmc-pro --disable-xvmcw"
		# This lets 'eselect-xvmc' do it's stuff and handle which XvMC implementation
	use xvmc && use video_cards_nvidia && use opengl-xvmc && \
		# gets used by way of /etc/X11/XvMCConfig
		myconf="${myconf} --enable-xvmc --enable-xvmc-opengl --disable-xvmcw"
		myconf="${myconf} --enable-xvmc --enable-xvmcw --disable-xvmc-vld"
		# Check to see if we have an XvMC library selected
		if [[ ! -f /etc/X11/XvMCConfig ]] || [[ -z `cat /etc/X11/XvMCConfig` ]]; then
			echo
			eerror "No XvMC implementation has been selected yet"
			eerror "Use 'eselect xvmc list' for a list of available choices"
			eerror "Then use 'eselect xvmc set <choice>' to choose"
			eerror "'eselect xvmc set nvidia' for example"
			echo
			die "No XvMC implementation has been selected yet"
		fi
	fi
	# nvidia-drivers-71 don't support GLX 1.4
	# nvidia-drivers-71 don't support GLX 1.4
	use video_cards_nvidia && has_version =x11-drivers/nvidia-drivers-71* \
	use video_cards_nvidia && has_version =x11-drivers/nvidia-drivers-71* \
		&& myconf="${myconf} --enable-glx-procaddrarb"
		&& myconf="${myconf} --enable-glx-procaddrarb"
 Lines 289-299    Link Here 
	ewarn "Your recordings folder must be owned by the user 'mythtv' now"
	ewarn "Your recordings folder must be owned by the user 'mythtv' now"
	ewarn "chown -R mythtv /path/to/store"
	ewarn "chown -R mythtv /path/to/store"
	if use xvmc; then
		echo
		elog "Please set the proper XvMC provider with eselect xvmc"
	fi
	if use autostart; then
	if use autostart; then
		echo
		echo
		elog "Please add the following to your /etc/inittab file at the end of"
		elog "Please add the following to your /etc/inittab file at the end of"