diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-tv/nvtv |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-tv/nvtv')
-rw-r--r-- | media-tv/nvtv/Manifest | 7 | ||||
-rw-r--r-- | media-tv/nvtv/files/nvtv.start | 20 | ||||
-rw-r--r-- | media-tv/nvtv/files/respect-cflags.patch | 31 | ||||
-rw-r--r-- | media-tv/nvtv/metadata.xml | 9 | ||||
-rw-r--r-- | media-tv/nvtv/nvtv-0.4.7-r3.ebuild | 43 |
5 files changed, 110 insertions, 0 deletions
diff --git a/media-tv/nvtv/Manifest b/media-tv/nvtv/Manifest new file mode 100644 index 000000000000..4250c03b9f3d --- /dev/null +++ b/media-tv/nvtv/Manifest @@ -0,0 +1,7 @@ +AUX nvtv.start 425 SHA256 7cf414a7aac450511c68fe17efbc06c0b70c761d4a253d9a86bdd09f30294778 SHA512 e91e5bfb5573becbebc0eea3070fd8d18c0abdea6687cdb540ceef0dad7021328cf28e6ca4e6399b1787586e325cd03f60e09a8462aef0341f2297ac05204b66 WHIRLPOOL c1c63b1c70ad4464fb9d99f4ff008c2e7c181a3e9d22ff3f7941c620c8bfb99c17f4db653128bdd8ffd733a2924c3dc87f169fb07ef6a3e0dc623db65940a8ef +AUX respect-cflags.patch 865 SHA256 1340bdd18264d3af5af87eb6b20d9a1610d54a97116377e2f346685e84937abb SHA512 abe0a9ccce9c9a9a729aadf444c4bd91e7c94ab3c04817ad12fa471f77fb8fa54235ddc86c798fac94c988cfa58075d3bf2fc40ef26fdd3c629b6f81848951e5 WHIRLPOOL bd62581764ab4ee3743170099fd5f8a975cdae26d006dfb536eda6cc170006153b7047531cd8e908beddc1ca9bb6a5217a29a28ddab46c454d0e1b98bbbe533e +DIST nvtv-0.4.7.tar.gz 419564 SHA256 f044c6de2df66196fa589ed0d33203bd10d88604f447befce1a6f62eb7b08dac SHA512 086de916b3b783a2071906e8f2eb98009f2f73627dc75ee086bde9864de3fb18ddf6d981c56225ac3dca3c837ff3575deb2aeca042be4cca9dc7a876cc41282d WHIRLPOOL c5ac613d4331f62c761addc321f3b619dc73206b5c5d5bbf75cbb7e261537521f8f67cbc4ea154dc89c9ebcba6b95c08b7b78569c50f8d2f895481b7aefc4a11 +EBUILD nvtv-0.4.7-r3.ebuild 819 SHA256 4e69fefa13e4c59e5140c684d0f1bd38a4143db7fd9f9869456f53e09895418a SHA512 b52b03361c6c122a26e22bc1ceb95c1c7d701be536695f0108c98eb01734f856f4f55c55120f3be9328794e65738485c97ba7a0577bd26d088fbfa64e78acd44 WHIRLPOOL 707f98ee33d8333aac030c041e4519159bb5d3dafe3639156dc130dc9304507cb82b361ab01bcc78db788909f57400098c832eadb616cd250366c6852e00a404 +MISC ChangeLog 3392 SHA256 efcd09af34baf6414c6f2ee3e2185df2426a52acb8538e6214ea51bda6eacd2d SHA512 6a4ae8c1e060e9d651cd4ee377198c676303474f4a0fa9698bdec87f2958b39642dba4d1cb8e418346785df1fe20e4281607253de8776ee01cbc634e3371bc86 WHIRLPOOL f74b934c679b73804ffea964bf5e259c1640d2267f86007217ef3389ff85c2a4b189b95776ce3bbb9a1b788bbbd9eb1c0a8955dd1222af8119d648b19ccd77f8 +MISC ChangeLog-2015 3206 SHA256 c7932bc11f699a3cc4b4ab42085e64c7f15b91f8b88a93b5cc4aee5cdb79934d SHA512 14822890f1a0a8b785d014e2bd459210f8d1a3533d2984486f82671f6b26d33d852cc3ea0a01ba3efe2087f379ed7104fc0cccd17e0863c37f46049c31b65471 WHIRLPOOL 584f5f39b0ee1eb12e93e2b1b5311308413a920319fcb0a21da4e43f7c7ccd318028509fb31b9010fd12e2be731b10caebbb66397a523e8752f4d18b09722a0d +MISC metadata.xml 306 SHA256 fd7158d14fd0d1f35148a06680ed1316e74c7c9427df3ebc22a3923be32810dc SHA512 fb364cfd967773a1db12aafedcae8812dba9413da3eea5513a29537733214ee128432296bc5a51a79ba72863b8344e8dcac657092d6b199e8c34f56052cc7d6d WHIRLPOOL 08793c97f5cd25d6a1a7f19557210fd323fa460c470489d0d2e29bfe9291a0214c694be595a42b2f554b816e704143bf330c75769add427d80719e233479f812 diff --git a/media-tv/nvtv/files/nvtv.start b/media-tv/nvtv/files/nvtv.start new file mode 100644 index 000000000000..57b471a0986b --- /dev/null +++ b/media-tv/nvtv/files/nvtv.start @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + use modules logger +} + +start() { + ebegin "Starting NVidia TV-Out Server" + start-stop-daemon --start --quiet --exec /usr/sbin/nvtvd \ + --background 1>&2 + eend $? +} + +stop() { + ebegin "Stopping NVidia TV-Out Server" + start-stop-daemon --stop --quiet --exec /usr/sbin/nvtvd 1>&2 + eend $? +} diff --git a/media-tv/nvtv/files/respect-cflags.patch b/media-tv/nvtv/files/respect-cflags.patch new file mode 100644 index 000000000000..2fa991f72638 --- /dev/null +++ b/media-tv/nvtv/files/respect-cflags.patch @@ -0,0 +1,31 @@ +The rest of the build system will respect the user's CFLAGS if we +don't wipe them out, so just delete the line that does that. The +removal of the gtk-1.x stuff is so that we can run eautoreconf and +have it work; we don't support gtk1 in Gentoo anyway. + +diff --git a/configure.in b/configure.in +index f8f48cc..d8f1261 100755 +--- a/configure.in ++++ b/configure.in +@@ -57,9 +57,6 @@ dnl + dnl Debugging enables, CFLAGS + dnl + +-dnl Clear -g -O2 from CFLAGS +-CFLAGS="" +- + AC_MSG_CHECKING(for debugging info) + + AC_ARG_ENABLE(debug, +@@ -110,11 +107,6 @@ if test ${with_gtk} = no ; then + fi + + if test ${have_gtk} = no ; then +- if test ${with_gtk} = yes -o ${with_gtk} = gtk1 ; then +- AM_PATH_GTK(1.2.0, have_gtk=gtk1) +- fi +-fi +-if test ${have_gtk} = no ; then + if test ${with_gtk} = yes -o ${with_gtk} = gtk2 ; then + AM_PATH_GTK_2_0(2.0.0, have_gtk=gtk2) + fi diff --git a/media-tv/nvtv/metadata.xml b/media-tv/nvtv/metadata.xml new file mode 100644 index 000000000000..3f29b9b27482 --- /dev/null +++ b/media-tv/nvtv/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription>TV-Out for NVidia cards</longdescription> + <upstream> + <remote-id type="sourceforge">nv-tv-out</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-tv/nvtv/nvtv-0.4.7-r3.ebuild b/media-tv/nvtv/nvtv-0.4.7-r3.ebuild new file mode 100644 index 000000000000..39d120ba773d --- /dev/null +++ b/media-tv/nvtv/nvtv-0.4.7-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +IUSE="X gtk" + +DESCRIPTION="TV-Out for NVidia cards" +HOMEPAGE="https://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 )" + +PATCHES=( "${FILESDIR}/respect-cflags.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_with gtk) $(use_with X x) +} + +src_install() { + dobin src/nvtv + dosbin src/nvtvd + dodoc ANNOUNCE BUGS FAQ README doc/*.txt doc/USAGE + newinitd "${FILESDIR}"/nvtv.start nvtv +} |