From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 68AF1138206 for ; Tue, 26 Apr 2016 22:27:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45B7621C069; Tue, 26 Apr 2016 22:27:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 88E6C21C030 for ; Tue, 26 Apr 2016 22:27:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4A64340BBD for ; Tue, 26 Apr 2016 22:27:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D2D3976 for ; Tue, 26 Apr 2016 22:27:11 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1461709592.13301cad37c35e63f4f3e75507ccb3f2bca5f905.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/nvtv/files/, media-tv/nvtv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-tv/nvtv/files/nvtv.start media-tv/nvtv/nvtv-0.4.7-r2.ebuild X-VCS-Directories: media-tv/nvtv/files/ media-tv/nvtv/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 13301cad37c35e63f4f3e75507ccb3f2bca5f905 X-VCS-Branch: master Date: Tue, 26 Apr 2016 22:27:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9bade6da-5085-465e-9192-68a30e4efd7f X-Archives-Hash: 26046c74c4c1a5aa2495363a23006fea commit: 13301cad37c35e63f4f3e75507ccb3f2bca5f905 Author: Austin English gentoo org> AuthorDate: Tue Apr 26 22:25:46 2016 +0000 Commit: Austin English gentoo org> CommitDate: Tue Apr 26 22:26:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13301cad 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 media-tv/nvtv/files/nvtv.start | 4 +-- media-tv/nvtv/nvtv-0.4.7-r2.ebuild | 58 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 2 deletions(-) diff --git a/media-tv/nvtv/files/nvtv.start b/media-tv/nvtv/files/nvtv.start index 0d80445..76091c1 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 0000000..d017003 --- /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 +}