summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-04-26 17:25:46 -0500
committerAustin English <wizardedit@gentoo.org>2016-04-26 17:26:32 -0500
commit13301cad37c35e63f4f3e75507ccb3f2bca5f905 (patch)
tree6dd20849e5a7727811b4d1dbcb13b3dac9d67eaf /media-tv/nvtv
parentmedia-sound/squeezeslave: remove squeezeslave-1.1_p365 / squeezeslave-1.1_p381 (diff)
downloadgentoo-13301cad37c35e63f4f3e75507ccb3f2bca5f905.tar.gz
gentoo-13301cad37c35e63f4f3e75507ccb3f2bca5f905.tar.bz2
gentoo-13301cad37c35e63f4f3e75507ccb3f2bca5f905.zip
media-tv/nvtv: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=573846 Package-Manager: portage-2.2.26
Diffstat (limited to 'media-tv/nvtv')
-rw-r--r--media-tv/nvtv/files/nvtv.start4
-rw-r--r--media-tv/nvtv/nvtv-0.4.7-r2.ebuild58
2 files changed, 60 insertions, 2 deletions
diff --git a/media-tv/nvtv/files/nvtv.start b/media-tv/nvtv/files/nvtv.start
index 0d8044537ef3..76091c18d514 100644
--- a/media-tv/nvtv/files/nvtv.start
+++ b/media-tv/nvtv/files/nvtv.start
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
diff --git a/media-tv/nvtv/nvtv-0.4.7-r2.ebuild b/media-tv/nvtv/nvtv-0.4.7-r2.ebuild
new file mode 100644
index 000000000000..d017003100ea
--- /dev/null
+++ b/media-tv/nvtv/nvtv-0.4.7-r2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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[-zlib]
+ gtk? ( x11-libs/gtk+:2 )
+ X? ( x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXxf86vm )"
+
+DEPEND="${RDEPEND}
+ X? ( x11-proto/xf86vidmodeproto )"
+
+src_configure() {
+ 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}
+}
+
+src_compile() {
+ # The CFLAGS don't seem to make it into the Makefile.
+ cd src
+ emake CXFLAGS="${CFLAGS}"
+}
+
+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
+}