diff options
Diffstat (limited to 'media-tv/nvtv')
-rw-r--r-- | media-tv/nvtv/ChangeLog | 5 | ||||
-rw-r--r-- | media-tv/nvtv/nvtv-0.4.5.ebuild | 53 |
2 files changed, 57 insertions, 1 deletions
diff --git a/media-tv/nvtv/ChangeLog b/media-tv/nvtv/ChangeLog index a80758e5aef0..7d21fca0ea4b 100644 --- a/media-tv/nvtv/ChangeLog +++ b/media-tv/nvtv/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-tv/nvtv # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/nvtv/ChangeLog,v 1.12 2009/01/10 12:32:33 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/nvtv/ChangeLog,v 1.13 2009/01/21 14:56:27 beandog Exp $ + + 21 Jan 2009; Steve Dibb <beandog@gentoo.org> +nvtv-0.4.5.ebuild: + Readd old stable ebuild *nvtv-0.4.7-r1 (10 Jan 2009) diff --git a/media-tv/nvtv/nvtv-0.4.5.ebuild b/media-tv/nvtv/nvtv-0.4.5.ebuild new file mode 100644 index 000000000000..1a5027f088b8 --- /dev/null +++ b/media-tv/nvtv/nvtv-0.4.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/nvtv/nvtv-0.4.5.ebuild,v 1.12 2009/01/21 14:56:27 beandog Exp $ + +IUSE="X gtk" + +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" + +RDEPEND="sys-apps/pciutils + gtk? ( x11-libs/gtk+ ) + X? ( x11-libs/libXi + x11-libs/libXmu + x11-libs/libXxf86vm )" +DEPEND="${RDEPEND} + X? ( x11-proto/xf86vidmodeproto )" + +src_compile() { + local myconf + + if use gtk + then + myconf="${myconf} --with-gtk" + 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 + + newinitd "${FILESDIR}"/nvtv.start nvtv +} |