diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2006-02-07 17:02:23 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2006-02-07 17:02:23 +0000 |
commit | e008fb3b68e424f30407a8d087e86112f2c20e10 (patch) | |
tree | 2d376791a3a90b949229f2113a7f222416341b27 /media-tv/rivatv | |
parent | repoman: Trim trailing whitespace (diff) | |
download | gentoo-2-e008fb3b68e424f30407a8d087e86112f2c20e10.tar.gz gentoo-2-e008fb3b68e424f30407a8d087e86112f2c20e10.tar.bz2 gentoo-2-e008fb3b68e424f30407a8d087e86112f2c20e10.zip |
Spring Cleaning. No longer using old kernel-mod eclass
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'media-tv/rivatv')
-rw-r--r-- | media-tv/rivatv/ChangeLog | 9 | ||||
-rw-r--r-- | media-tv/rivatv/files/digest-rivatv-0.8.2 | 1 | ||||
-rw-r--r-- | media-tv/rivatv/files/digest-rivatv-0.8.5-r2 | 1 | ||||
-rw-r--r-- | media-tv/rivatv/files/digest-rivatv-0.8.5-r3 | 1 | ||||
-rw-r--r-- | media-tv/rivatv/files/rivatv-0.8.3-configure.patch | 11 | ||||
-rw-r--r-- | media-tv/rivatv/files/rivatv-0.8.5-configure.patch | 14 | ||||
-rw-r--r-- | media-tv/rivatv/rivatv-0.8.2.ebuild | 36 | ||||
-rw-r--r-- | media-tv/rivatv/rivatv-0.8.5-r2.ebuild | 93 | ||||
-rw-r--r-- | media-tv/rivatv/rivatv-0.8.5-r3.ebuild | 49 |
9 files changed, 7 insertions, 208 deletions
diff --git a/media-tv/rivatv/ChangeLog b/media-tv/rivatv/ChangeLog index dd8e0aa446f6..1b50d4a9b89c 100644 --- a/media-tv/rivatv/ChangeLog +++ b/media-tv/rivatv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-tv/rivatv -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/ChangeLog,v 1.14 2005/11/16 16:55:31 blauwers Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/ChangeLog,v 1.15 2006/02/07 17:02:23 cardoe Exp $ + + 07 Feb 2006; Doug Goldstein <cardoe@gentoo.org> + -files/rivatv-0.8.3-configure.patch, -files/rivatv-0.8.5-configure.patch, + -rivatv-0.8.2.ebuild, -rivatv-0.8.5-r2.ebuild, -rivatv-0.8.5-r3.ebuild: + Spring Cleaning. No longer using old kernel-mod eclass *rivatv-0.8.6 (16 Nov 2005) diff --git a/media-tv/rivatv/files/digest-rivatv-0.8.2 b/media-tv/rivatv/files/digest-rivatv-0.8.2 deleted file mode 100644 index aaaab7f7f088..000000000000 --- a/media-tv/rivatv/files/digest-rivatv-0.8.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 4b96cdec91acba3bc007bf8500b6ad71 rivatv-0.8.2.tar.gz 136718 diff --git a/media-tv/rivatv/files/digest-rivatv-0.8.5-r2 b/media-tv/rivatv/files/digest-rivatv-0.8.5-r2 deleted file mode 100644 index ee929ca79fdf..000000000000 --- a/media-tv/rivatv/files/digest-rivatv-0.8.5-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 7e00cad36c0b684b022a833a11b58ed8 rivatv-0.8.5.tar.gz 200588 diff --git a/media-tv/rivatv/files/digest-rivatv-0.8.5-r3 b/media-tv/rivatv/files/digest-rivatv-0.8.5-r3 deleted file mode 100644 index ee929ca79fdf..000000000000 --- a/media-tv/rivatv/files/digest-rivatv-0.8.5-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 7e00cad36c0b684b022a833a11b58ed8 rivatv-0.8.5.tar.gz 200588 diff --git a/media-tv/rivatv/files/rivatv-0.8.3-configure.patch b/media-tv/rivatv/files/rivatv-0.8.3-configure.patch deleted file mode 100644 index 7247fd93b221..000000000000 --- a/media-tv/rivatv/files/rivatv-0.8.3-configure.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.ORG 2003-10-11 01:08:45.000000000 +0200 -+++ configure 2003-10-11 01:09:42.000000000 +0200 -@@ -194,7 +194,7 @@ - echo -n "Checking for kernel gcc... " - - kgcc=`cat /proc/version | sed 's/\(.*\)gcc version \([0-9.]*\).*/\2/'` --bgcc=`gcc -v 2>&1|tail -1|sed 's/\(.*\) \([0-9.]*\).*/\2/'` -+bgcc=`gcc -v 2>&1 | tail -n 1 | sed 's/\(.*\)gcc version \([0-9.]*\).*/\2/'` - if test -z $bgcc; then - bgcc=`gcc --version` - fi diff --git a/media-tv/rivatv/files/rivatv-0.8.5-configure.patch b/media-tv/rivatv/files/rivatv-0.8.5-configure.patch deleted file mode 100644 index c27624a4b56a..000000000000 --- a/media-tv/rivatv/files/rivatv-0.8.5-configure.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur rivatv-0.8.5.ORG/configure rivatv-0.8.5/configure ---- rivatv-0.8.5.ORG/configure 2004-05-28 14:38:27.000000000 +0200 -+++ rivatv-0.8.5/configure 2005-01-10 02:56:14.807417188 +0100 -@@ -220,8 +220,8 @@ - - echo -n "Checking for kernel gcc... " - --kgcc=`cat /proc/version | sed 's/\(.*\)gcc[ -][vV]ersion \([0-9.]*\).*/\2/'` --bgcc=`gcc -v 2>&1 |tail -1|sed 's/\(.*\)gcc[ -][vV]ersion \([0-9.]*\).*/\2/'` -+kgcc=`cat /proc/version | sed 's/\(.*\)\(gcc[ -][vV]ersion\|[vV]ersion[ -]gcc\) \([0-9.]*\).*/\3/'` -+bgcc=`gcc -v 2>&1 |tail -1|sed 's/\(.*\)\(gcc[ -][vV]ersion\|[vV]ersion[ -]gcc\) \([0-9.]*\).*/\3/'` - echo $kgcc - - if test "$bgcc" != "$kgcc"; then diff --git a/media-tv/rivatv/rivatv-0.8.2.ebuild b/media-tv/rivatv/rivatv-0.8.2.ebuild deleted file mode 100644 index 9d9470e3bb3f..000000000000 --- a/media-tv/rivatv/rivatv-0.8.2.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# 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.2.ebuild,v 1.7 2005/01/10 00:54:38 blauwers Exp $ - -S=${WORKDIR}/${P/_/-} -DESCRIPTION="kernel driver for nVidia based cards with video-in" -SRC_URI="mirror://sourceforge/rivatv/${P/_/-}.tar.gz" -HOMEPAGE="http://rivatv.sourceforge.net/" -DEPEND="virtual/x11 - >=virtual/linux-sources-2.4.17" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86" -IUSE="" - -src_compile() { - #cd rivatv/linux/drivers/media/video - econf || die - emake || die -} - -src_install () { - modp=`awk '/^MODULES/{ print "'${D}'" $3}' Makefile` || die - mkdir -p ${modp} || die - emake MODULES=${modp} DEPMOD=":" install || die - dodoc README -} - -pkg_postinst() { - depmod -a - einfo "To load the module automatically at boot up, add these and" - einfo "\"rivatv\" to your /etc/modules.autoload." - einfo - einfo "Also, see ${HOMEPAGE} for more information." -} diff --git a/media-tv/rivatv/rivatv-0.8.5-r2.ebuild b/media-tv/rivatv/rivatv-0.8.5-r2.ebuild deleted file mode 100644 index 238b90ff42c0..000000000000 --- a/media-tv/rivatv/rivatv-0.8.5-r2.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# 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.5-r2.ebuild,v 1.2 2005/01/10 01:59:40 blauwers Exp $ - -inherit eutils kernel-mod - -S=${WORKDIR}/${P/_/-} -DESCRIPTION="kernel driver for nVidia based cards with video-in" -SRC_URI="mirror://sourceforge/rivatv/${P/_/-}.tar.gz" -HOMEPAGE="http://rivatv.sourceforge.net/" -DEPEND="virtual/x11 - >=virtual/linux-sources-2.4.17" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86" -IUSE="" - -src_unpack() { - check_KV - unpack ${A} - - epatch ${FILESDIR}/${P/_/-}-configure.patch - - # Symlink kernel source to a directory we have permissions for - mkdir ${WORKDIR}/build - cd ${WORKDIR}/build - SRC=/lib/modules/${KV}/build - for f in ${SRC}/.config ${SRC}/.version ${SRC}/*; do ln -s $f; done -} - - -src_compile() { - # Alter Makefile.in to install into an alternate directory and - # set the kernel source path to the build folder - cd ${S} - sed 's/\@KERNEL\@/\$\{KDIR\}/' Makefile.in > Makefile.in.new || die - mv -f Makefile.in.new Makefile.in || die - sed 's/install\: devices/install\:/' Makefile.in > Makefile.in.new || die - mv -f Makefile.in.new Makefile.in || die - sed 's/\/lib\/modules\//\$\{D\}lib\/modules\//' Makefile.in > Makefile.in.new || die - mv -f Makefile.in.new Makefile.in || die - sed 's/\$(DEPMOD)/echo replaced/' Makefile.in > Makefile.in.new || die - mv -f Makefile.in.new Makefile.in || die - - # Configure and build - set_arch_to_kernel - econf || die - emake KDIR=${WORKDIR}/build ARCH=i386 V=1 DEPMOD='' || die -} - -src_install () { - # Create kernel modules folder in the image directory - dodir lib/modules/${KV}/kernel - - # Install to the image directory - make install DESTDIR=${D} || die - set_arch_to_portage -} - -pkg_postinst() { - # Update modules - depmod -a - - # If devfsd is not being used create devices - if [ "${ROOT}" = "/" ] - then - if [ ! -e /dev/.devfsd ] && [ ! -e /dev/video0 ] - then - # Create devices - mknod /dev/video0 c 81 0 - chmod 660 /dev/video0 - mknod /dev/video1 c 81 0 - chmod 660 /dev/video1 - mknod /dev/video2 c 81 0 - chmod 660 /dev/video2 - mknod /dev/video3 c 81 0 - chmod 660 /dev/video3 - ln -s /dev/video0 /dev/video - fi - fi - - einfo "To load the module automatically at boot up, add these and" - einfo "\"rivatv\" to your /etc/modules.autoload." - einfo - einfo "Also, see ${HOMEPAGE} for more information." -} - -pkg_postrm() { - # Update modules - depmod -a - einfo "If you added modules to /etc/modules.autoload remember to" - einfo "remove them now." -} diff --git a/media-tv/rivatv/rivatv-0.8.5-r3.ebuild b/media-tv/rivatv/rivatv-0.8.5-r3.ebuild deleted file mode 100644 index 834662f62fb2..000000000000 --- a/media-tv/rivatv/rivatv-0.8.5-r3.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# 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.5-r3.ebuild,v 1.2 2005/01/28 01:37:59 cardoe Exp $ - -inherit linux-mod toolchain-funcs - -S=${WORKDIR}/${P/_/-} -DESCRIPTION="kernel driver for nVidia based cards with video-in" -SRC_URI="mirror://sourceforge/rivatv/${P/_/-}.tar.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" -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 -} - - -src_compile() { - econf || die "configure failed" - - linux-mod_src_compile -} - -pkg_postinst() { - linux-mod_pkg_postinst - - einfo "See ${HOMEPAGE} for more information." -} |