summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Lauwers <blauwers@gentoo.org>2005-11-16 16:50:52 +0000
committerBart Lauwers <blauwers@gentoo.org>2005-11-16 16:50:52 +0000
commitfeda9900cf8dc21d3db72fa52eea87ad87f13a7e (patch)
treea984655ba63a0f4f11d131ca9aa061fa9581e536 /media-tv/rivatv
parentRemoving 2006.0 x86/dev no-nptl profile as I have made it a root of x86, so i... (diff)
downloadgentoo-2-feda9900cf8dc21d3db72fa52eea87ad87f13a7e.tar.gz
gentoo-2-feda9900cf8dc21d3db72fa52eea87ad87f13a7e.tar.bz2
gentoo-2-feda9900cf8dc21d3db72fa52eea87ad87f13a7e.zip
New experimental build with custom patches to run on linux 2.6.14 (submitted upstream)
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'media-tv/rivatv')
-rw-r--r--media-tv/rivatv/Manifest3
-rw-r--r--media-tv/rivatv/files/digest-rivatv-0.8.6-r12
-rw-r--r--media-tv/rivatv/files/rivatv-0.8.6-tuner.patch14
-rw-r--r--media-tv/rivatv/rivatv-0.8.6-r1.ebuild53
4 files changed, 72 insertions, 0 deletions
diff --git a/media-tv/rivatv/Manifest b/media-tv/rivatv/Manifest
index 0e16b4323188..98846af9f43c 100644
--- a/media-tv/rivatv/Manifest
+++ b/media-tv/rivatv/Manifest
@@ -4,9 +4,12 @@ MD5 5131b86f70269727631f034136b8f1fb rivatv-0.8.2.ebuild 970
MD5 718bd9b01897d40d98b4074e95c0ad6f rivatv-0.8.5-r2.ebuild 2536
MD5 71b6a86fcc50c85cd482cb7142ead820 rivatv-0.8.5-r3.ebuild 1539
MD5 4ccf2019460426667498574453a52a1e rivatv-0.8.6.ebuild 1549
+MD5 bafbad253c15176e62d3d0cdea7c3031 rivatv-0.8.6-r1.ebuild 1713
MD5 675738a65f00503869783cd7f88ce0b1 files/digest-rivatv-0.8.2 64
MD5 84ee270b3c1dc945b92fb29af05a6323 files/digest-rivatv-0.8.5-r2 64
MD5 84ee270b3c1dc945b92fb29af05a6323 files/digest-rivatv-0.8.5-r3 64
MD5 f6b7a21ad2968b561a94db1b084fad7d files/rivatv-0.8.3-configure.patch 429
MD5 22e60b9c10aa69eaef9978e7998fccb9 files/rivatv-0.8.5-configure.patch 662
MD5 d7a8e92699b45b313929668d6fa497be files/digest-rivatv-0.8.6 64
+MD5 da2e24b668021c2fd855b2dbd9ba1bb2 files/digest-rivatv-0.8.6-r1 136
+MD5 23e3cae24884509837bbad01d0978bb5 files/rivatv-0.8.6-tuner.patch 508
diff --git a/media-tv/rivatv/files/digest-rivatv-0.8.6-r1 b/media-tv/rivatv/files/digest-rivatv-0.8.6-r1
new file mode 100644
index 000000000000..5c2b850b96ea
--- /dev/null
+++ b/media-tv/rivatv/files/digest-rivatv-0.8.6-r1
@@ -0,0 +1,2 @@
+MD5 2a8e26fb4d01ae2b23b2fdea407082f4 rivatv-0.8.6.tar.gz 203401
+MD5 4215868b639d36f5196d01e58495900d rivatv-linux-2.6.14.patch.gz 23949
diff --git a/media-tv/rivatv/files/rivatv-0.8.6-tuner.patch b/media-tv/rivatv/files/rivatv-0.8.6-tuner.patch
new file mode 100644
index 000000000000..9b125bde52ba
--- /dev/null
+++ b/media-tv/rivatv/files/rivatv-0.8.6-tuner.patch
@@ -0,0 +1,14 @@
+diff -Naur rivatv-0.8.6.ORG/bttv-2.6/tuner.c rivatv-0.8.6/bttv-2.6/tuner.c
+--- rivatv-0.8.6.ORG/bttv-2.6/tuner.c 2005-11-16 06:08:36.000000000 +0100
++++ rivatv-0.8.6/bttv-2.6/tuner.c 2005-11-16 06:12:39.000000000 +0100
+@@ -19,8 +19,8 @@
+ #include "audiochip.h"
+ #include "i2c-compat.h"
+ #else
+-#include <media/tuner.h>
+-#include <media/audiochip.h>
++#include "tuner.h"
++#include "audiochip.h"
+ #endif
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,71)
+ # define strlcpy(dest,src,len) strncpy(dest,src,(len)-1)
diff --git a/media-tv/rivatv/rivatv-0.8.6-r1.ebuild b/media-tv/rivatv/rivatv-0.8.6-r1.ebuild
new file mode 100644
index 000000000000..82ada1eac0f6
--- /dev/null
+++ b/media-tv/rivatv/rivatv-0.8.6-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/rivatv-0.8.6-r1.ebuild,v 1.1 2005/11/16 16:50:52 blauwers Exp $
+
+inherit linux-mod toolchain-funcs eutils
+
+S=${WORKDIR}/${P/_/-}
+DESCRIPTION="kernel driver for nVidia based cards with video-in"
+SRC_URI="mirror://sourceforge/rivatv/${P/_/-}.tar.gz
+ http://www.fmwb.org/gentoo/rivatv-linux-2.6.14.patch.gz"
+HOMEPAGE="http://rivatv.sourceforge.net/"
+DEPEND="virtual/x11
+ >=virtual/linux-sources-2.4.20"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+CONFIG_CHECK="VIDEO_DEV I2C_ALGOBIT"
+MODULE_NAMES="tuner(media/video:${S}:${S}/bttv) tvmixer(media/video:${S}:${S}/bttv) tvaudio(media/video:${S}:${S}/bttv) rivatv(media/video:${S}:${S}/src) \
+ saa7108e(media/video:${S}:${S}/src) saa7111a(media/video:${S}:${S}/src) saa7113h(media/video:${S}:${S}/src) saa7174hl(media/video:${S}:${S}/src) \
+ tw98(media/video:${S}:${S}/src) vpx32xx(media/video:${S}:${S}/src)"
+BUILD_PARAMS="KSRC=${ROOT}${KV_DIR} KVERS=${KV_MAJOR}${KV_MINOR}"
+BUILD_TARGETS="all"
+MODULESD_TUNER_ALIASES=("/dev/video0 char-major-81" "/dev/video1 char-major-81" "/dev/video2 char-major-81" "/dev/video3 char-major-81")
+
+src_unpack() {
+ unpack ${A}
+
+ # set compiler
+ sed -i "s:gcc:$(tc-getCC):" ${S}/Makefile.in
+
+ # fix for new coreutils (#31801)
+ sed -i "s:tail -1:tail -n 1:" ${S}/configure
+
+ convert_to_m ${S}/Makefile.in
+
+ epatch ${DISTDIR}/rivatv-linux-2.6.14.patch.gz
+ epatch ${FILESDIR}/rivatv-0.8.6-tuner.patch
+}
+
+
+src_compile() {
+ econf || die "configure failed"
+
+ linux-mod_src_compile
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ einfo "See ${HOMEPAGE} for more information."
+}