# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-tv/mythfrontend/mythfrontend-0.16.20050115.ebuild,v 1.1 2005/01/18 20:00:33 cardoe Exp $ inherit myth flag-o-matic DESCRIPTION="Homebrew PVR project frontend." HOMEPAGE="http://www.mythtv.org/" SRC_URI="mirror://gentoo/mythtv-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="alsa arts dvb directfb lcd lirc nvidia cle266 opengl X xv oss mmx" DEPEND=">=media-libs/freetype-2.0 >=media-sound/lame-3.93.1 X? ( >=x11-libs/qt-3.1 ) directfb? ( dev-libs/DirectFB >=x11-libs/qt-embedded-3.1 ) dev-db/mysql alsa? ( >=media-libs/alsa-lib-0.9 ) >=sys-apps/sed-4 arts? ( kde-base/arts ) dvb? ( media-libs/libdvb ) lcd? ( app-misc/lcdproc ) lirc? ( app-misc/lirc ) nvidia? ( media-video/nvidia-glx )" RDEPEND="${DEPEND} !media-tv/mythtv" S="${WORKDIR}/mythtv" pkg_setup() { if use X; then QTP=x11-libs/qt elif use directfb; then QTP=x11-libs/qt-embedded else eerror "You must have either X or directfb in USE" die "No QT library selected" fi local qt_use="$(