diff options
Diffstat (limited to 'media-tv/ivtv/ivtv-0.7.0.ebuild')
-rw-r--r-- | media-tv/ivtv/ivtv-0.7.0.ebuild | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/media-tv/ivtv/ivtv-0.7.0.ebuild b/media-tv/ivtv/ivtv-0.7.0.ebuild index 70c4637c16e5..cef40806b808 100644 --- a/media-tv/ivtv/ivtv-0.7.0.ebuild +++ b/media-tv/ivtv/ivtv-0.7.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.7.0.ebuild,v 1.5 2006/11/28 03:30:17 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.7.0.ebuild,v 1.6 2006/11/28 03:39:32 beandog Exp $ inherit eutils linux-mod @@ -29,15 +29,8 @@ RDEPEND="sys-apps/hotplug" DEPEND="app-arch/unzip" pkg_setup() { - linux-mod_pkg_setup - MODULE_NAMES="ivtv(extra:${S}/driver) \ - saa717x(extra:${S}/i2c-drivers)" - if kernel_is 2 6 17; then - CONFIG_CHECK="EXPERIMENTAL VIDEO_DEV I2C VIDEO_V4L1 VIDEO_V4L2 FW_LOADER" - CONFIG_CHECK="${CONFIG_CHECK} VIDEO_WM8775 VIDEO_MSP3400 VIDEO_CX25840 VIDEO_TUNER" - CONFIG_CHECK="${CONFIG_CHECK} VIDEO_SAA711X VIDEO_SAA7127 VIDEO_TVEEPROM" - else + if ! kernel_is 2 6 17; then eerror "Each IVTV driver branch will only work with a specific" eerror "linux kernel branch." eerror "" @@ -55,6 +48,14 @@ pkg_setup() { die "This only works on 2.6.17 kernels" fi + linux-mod_pkg_setup + MODULE_NAMES="ivtv(extra:${S}/driver) \ + saa717x(extra:${S}/i2c-drivers)" + + CONFIG_CHECK="EXPERIMENTAL VIDEO_DEV I2C VIDEO_V4L1 VIDEO_V4L2 FW_LOADER" + CONFIG_CHECK="${CONFIG_CHECK} VIDEO_WM8775 VIDEO_MSP3400 VIDEO_CX25840 VIDEO_TUNER" + CONFIG_CHECK="${CONFIG_CHECK} VIDEO_SAA711X VIDEO_SAA7127 VIDEO_TVEEPROM" + linux_chkconfig_present FB && \ MODULE_NAMES="${MODULE_NAMES} ivtv-fb(extra:${S}/driver)" |