summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2007-03-10 23:13:52 +0000
committerSteve Dibb <beandog@gentoo.org>2007-03-10 23:13:52 +0000
commitaf5de08fdac5abed7fbd4eb34d8fb4f271450f29 (patch)
tree7cc4c171a2e30eb82fb890b21fd13a6f5fedf234 /media-tv
parentfix typo in compiz startscript (diff)
downloadgentoo-2-af5de08fdac5abed7fbd4eb34d8fb4f271450f29.tar.gz
gentoo-2-af5de08fdac5abed7fbd4eb34d8fb4f271450f29.tar.bz2
gentoo-2-af5de08fdac5abed7fbd4eb34d8fb4f271450f29.zip
Warn about kernel versions, add linux-mod_pkg_postinst, bug 167780
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/ivtv/ChangeLog9
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.10.0-r1 (renamed from media-tv/ivtv/files/digest-ivtv-0.10.0)0
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.10.1-r1 (renamed from media-tv/ivtv/files/digest-ivtv-0.10.1)0
-rw-r--r--media-tv/ivtv/ivtv-0.10.0-r1.ebuild (renamed from media-tv/ivtv/ivtv-0.10.0.ebuild)26
-rw-r--r--media-tv/ivtv/ivtv-0.10.1-r1.ebuild (renamed from media-tv/ivtv/ivtv-0.10.1.ebuild)27
5 files changed, 36 insertions, 26 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog
index 3a6b870db992..5e3b6ddf4644 100644
--- a/media-tv/ivtv/ChangeLog
+++ b/media-tv/ivtv/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-tv/ivtv
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.75 2007/03/03 14:46:19 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.76 2007/03/10 23:13:52 beandog Exp $
+
+*ivtv-0.10.1-r1 (10 Mar 2007)
+*ivtv-0.10.0-r1 (10 Mar 2007)
+
+ 10 Mar 2007; Steve Dibb <beandog@gentoo.org> -ivtv-0.10.0.ebuild,
+ +ivtv-0.10.0-r1.ebuild, -ivtv-0.10.1.ebuild, +ivtv-0.10.1-r1.ebuild:
+ Warn about kernel versions, add linux-mod_pkg_postinst, bug 167780
03 Mar 2007; Steve Dibb <beandog@gentoo.org> ivtv-0.9.1.ebuild:
Stabling on arches
diff --git a/media-tv/ivtv/files/digest-ivtv-0.10.0 b/media-tv/ivtv/files/digest-ivtv-0.10.0-r1
index 6c9c3ba31e89..6c9c3ba31e89 100644
--- a/media-tv/ivtv/files/digest-ivtv-0.10.0
+++ b/media-tv/ivtv/files/digest-ivtv-0.10.0-r1
diff --git a/media-tv/ivtv/files/digest-ivtv-0.10.1 b/media-tv/ivtv/files/digest-ivtv-0.10.1-r1
index 5cf2bca3c253..5cf2bca3c253 100644
--- a/media-tv/ivtv/files/digest-ivtv-0.10.1
+++ b/media-tv/ivtv/files/digest-ivtv-0.10.1-r1
diff --git a/media-tv/ivtv/ivtv-0.10.0.ebuild b/media-tv/ivtv/ivtv-0.10.0-r1.ebuild
index c8f548be00a4..248e28c1ad4f 100644
--- a/media-tv/ivtv/ivtv-0.10.0.ebuild
+++ b/media-tv/ivtv/ivtv-0.10.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.10.0.ebuild,v 1.1 2007/02/22 15:19:18 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.10.0-r1.ebuild,v 1.1 2007/03/10 23:13:52 beandog Exp $
inherit eutils linux-mod
@@ -50,22 +50,21 @@ pkg_setup() {
die "This only works on kernels 2.6.18 through 2.6.20"
fi
+ if kernel_is 2 6 20; then
+ ewarn
+ ewarn "For 2.6.20.x kernels, this module will *only* work against"
+ ewarn "these versions:"
+ ewarn ">=sys-kernel/gentoo-sources-2.6.20-r1"
+ ewarn ">=sys-kernel/vanilla-sources.2.6.20.2"
+ ewarn ""
+ epause 5
+ fi
+
linux-mod_pkg_setup
BUILD_PARAMS="KDIR=${KV_DIR}"
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
- if kernel_is 2 6 20; then
- #epatch "misc/cx25840.diff"
- ewarn "If your card has the cx2584x chip, then this driver will not work."
- ewarn "A patch is available for the kernel module, but doesn't work yet"
- ewarn "in this ebuild."
- fi
-}
-
src_compile() {
cd "${S}/driver"
@@ -92,6 +91,9 @@ src_install() {
}
pkg_postinst() {
+
+ linux-mod_pkg_postinst
+
elog ""
elog "This version of the IVTV driver supports the following hardware:"
elog "Hauppauge WinTV PVR-250"
diff --git a/media-tv/ivtv/ivtv-0.10.1.ebuild b/media-tv/ivtv/ivtv-0.10.1-r1.ebuild
index fca7645d4d1a..919fc49657aa 100644
--- a/media-tv/ivtv/ivtv-0.10.1.ebuild
+++ b/media-tv/ivtv/ivtv-0.10.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.10.1.ebuild,v 1.1 2007/03/02 14:00:49 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.10.1-r1.ebuild,v 1.1 2007/03/10 23:13:52 beandog Exp $
inherit eutils linux-mod
@@ -50,23 +50,21 @@ pkg_setup() {
die "This only works on kernels 2.6.18 through 2.6.20"
fi
+ if kernel_is 2 6 20; then
+ ewarn
+ ewarn "For 2.6.20.x kernels, this module will *only* work against"
+ ewarn "these versions:"
+ ewarn ">=sys-kernel/gentoo-sources-2.6.20-r1"
+ ewarn ">=sys-kernel/vanilla-sources.2.6.20.2"
+ ewarn ""
+ epause 5
+ fi
+
linux-mod_pkg_setup
BUILD_PARAMS="KDIR=${KV_DIR}"
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
- if kernel_is 2 6 20; then
- #epatch "misc/cx25840.diff"
- ewarn "If your card has the cx2584x chip, then this driver will not work."
- ewarn "A patch is available for the kernel module, but doesn't work yet"
- ewarn "in this ebuild."
- ewarn "See http://bugs.gentoo.org/show_bug.cgi?id=168007"
- fi
-}
-
src_compile() {
cd "${S}/driver"
@@ -93,6 +91,9 @@ src_install() {
}
pkg_postinst() {
+
+ linux-mod_pkg_postinst
+
elog ""
elog "This version of the IVTV driver supports the following hardware:"
elog "Hauppauge WinTV PVR-250"