summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Lauwers <blauwers@gentoo.org>2004-06-06 16:15:08 +0000
committerBart Lauwers <blauwers@gentoo.org>2004-06-06 16:15:08 +0000
commitc6f1860b5d5267dd779003c837eab05f811b77a9 (patch)
treefecf1ff1d431b0b383e0d10260c98c665380d3f2 /media-tv/nvtv/nvtv-0.4.7.ebuild
parentStable on sparc. (Manifest recommit) (diff)
downloadgentoo-2-c6f1860b5d5267dd779003c837eab05f811b77a9.tar.gz
gentoo-2-c6f1860b5d5267dd779003c837eab05f811b77a9.tar.bz2
gentoo-2-c6f1860b5d5267dd779003c837eab05f811b77a9.zip
Fixes Bug #49698 and Bug #48959; version bump and dependency fix respectively
Diffstat (limited to 'media-tv/nvtv/nvtv-0.4.7.ebuild')
-rw-r--r--media-tv/nvtv/nvtv-0.4.7.ebuild58
1 files changed, 58 insertions, 0 deletions
diff --git a/media-tv/nvtv/nvtv-0.4.7.ebuild b/media-tv/nvtv/nvtv-0.4.7.ebuild
new file mode 100644
index 000000000000..2af0a23492ff
--- /dev/null
+++ b/media-tv/nvtv/nvtv-0.4.7.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/nvtv/nvtv-0.4.7.ebuild,v 1.1 2004/06/06 16:15:08 blauwers Exp $
+
+IUSE="X gtk gtk2"
+
+DESCRIPTION="TV-Out for NVidia cards"
+HOMEPAGE="http://sourceforge.net/projects/nv-tv-out/"
+SRC_URI="mirror://sourceforge/nv-tv-out/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="sys-apps/pciutils
+ gtk? (
+ gtk2? ( =x11-libs/gtk+-2* )
+ !gtk2? ( =x11-libs/gtk+-1.2* )
+ )
+ X? ( virtual/x11 )"
+
+src_compile() {
+ local myconf
+
+ if use gtk
+ then
+ if use gtk2
+ then
+ myconf="${myconf} --with-gtk=gtk2"
+ else
+ myconf="${myconf} --with-gtk=gtk1"
+ fi
+ else
+ myconf="${myconf} --without-gtk"
+ fi
+
+ use X \
+ && myconf="${myconf} --with-x" \
+ || myconf="${myconf} --without-x"
+
+ econf ${myconf} || die
+
+ # The CFLAGS don't seem to make it into the Makefile.
+ cd src
+ emake CXFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dobin src/nvtv
+ dosbin src/nvtvd
+
+ dodoc ANNOUNCE BUGS FAQ INSTALL README \
+ doc/USAGE doc/chips.txt doc/overview.txt \
+ doc/timing.txt xine/tvxine
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/nvtv.start nvtv
+}