summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-10 11:48:00 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-07-10 11:48:00 +0000
commitf6cfd30ade6a85044650e3cea51b896ff2d56e49 (patch)
treeff0e7635978733ba40ae9cf45d28ecc6d6822774 /media-tv
parentAdded to ~x86 (diff)
downloadgentoo-2-f6cfd30ade6a85044650e3cea51b896ff2d56e49.tar.gz
gentoo-2-f6cfd30ade6a85044650e3cea51b896ff2d56e49.tar.bz2
gentoo-2-f6cfd30ade6a85044650e3cea51b896ff2d56e49.zip
Added dependency over linuxtv-dvb-headers when dvb is enabled. Fixed the missing DEPEND variable.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/xdtv/ChangeLog6
-rw-r--r--media-tv/xdtv/xdtv-2.2.0.ebuild10
2 files changed, 13 insertions, 3 deletions
diff --git a/media-tv/xdtv/ChangeLog b/media-tv/xdtv/ChangeLog
index 13ace4b0987d..e184218124c9 100644
--- a/media-tv/xdtv/ChangeLog
+++ b/media-tv/xdtv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-tv/xdtv
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/ChangeLog,v 1.2 2005/07/10 11:26:33 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/ChangeLog,v 1.3 2005/07/10 11:48:00 flameeyes Exp $
+
+ 10 Jul 2005; Diego Pettenò <flameeyes@gentoo.org> xdtv-2.2.0.ebuild:
+ Added dependency over linuxtv-dvb-headers when dvb is enabled. Fixed the
+ missing DEPEND variable.
10 Jul 2005; Matthias Schwarzott <zzam@gentoo.org> xdtv-2.2.0.ebuild:
Added to ~x86
diff --git a/media-tv/xdtv/xdtv-2.2.0.ebuild b/media-tv/xdtv/xdtv-2.2.0.ebuild
index 9031c155dd10..a8db72fceb1e 100644
--- a/media-tv/xdtv/xdtv-2.2.0.ebuild
+++ b/media-tv/xdtv/xdtv-2.2.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/xdtv-2.2.0.ebuild,v 1.2 2005/07/10 11:26:33 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/xdtv/xdtv-2.2.0.ebuild,v 1.3 2005/07/10 11:48:00 flameeyes Exp $
-inherit font multilib
+inherit font multilib flag-o-matic
IUSE="alsa jpeg encode ffmpeg xvid lirc xinerama divx4linux
neXt Xaw3d mmx zvbi aqua_theme xv debug dvb"
@@ -74,6 +74,9 @@ RDEPEND="virtual/x11
lirc? ( app-misc/lirc )
alsa? ( >=media-libs/alsa-lib-0.9 )"
+DEPEND="${RDEPEND}
+ dvb? ( =media-tv/linuxtv-dvb-headers-3* )"
+
FONT_S="${S}/font"
FONT_SUFFIX="pcf.gz"
@@ -133,6 +136,9 @@ src_compile() {
( use mmx || use amd64 ) && myconf="${myconf} --enable-mmx" || \
myconf="${myconf} --disable-mmx"
+ # linux-dvb headers are installed in /usr/include/dvb to avoid collision-protect
+ use dvb && append-flags -I/usr/include/dvb
+
econf ${xawconf} \
$(use_enable divx4linux) \
$(use_enable alsa) \