summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2006-12-11 22:31:03 +0000
committerSteve Dibb <beandog@gentoo.org>2006-12-11 22:31:03 +0000
commite7ffa3429fc10f449e5be90e919b4a7de4e61e67 (patch)
treef9dbc1ba6b1238eab97d6aee95c140766a20cdc0 /media-tv
parentInstall desktop entry, bug #157527 (diff)
downloadgentoo-2-e7ffa3429fc10f449e5be90e919b4a7de4e61e67.tar.gz
gentoo-2-e7ffa3429fc10f449e5be90e919b4a7de4e61e67.tar.bz2
gentoo-2-e7ffa3429fc10f449e5be90e919b4a7de4e61e67.zip
Version bumps
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/ivtv/ChangeLog13
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.4.93
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.6.63
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.7.33
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.8.23
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.9.13
-rw-r--r--media-tv/ivtv/ivtv-0.4.9.ebuild133
-rw-r--r--media-tv/ivtv/ivtv-0.6.6.ebuild117
-rw-r--r--media-tv/ivtv/ivtv-0.7.3.ebuild86
-rw-r--r--media-tv/ivtv/ivtv-0.8.2.ebuild78
-rw-r--r--media-tv/ivtv/ivtv-0.9.1.ebuild81
11 files changed, 522 insertions, 1 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog
index ab969470b757..5cc1693bf93c 100644
--- a/media-tv/ivtv/ChangeLog
+++ b/media-tv/ivtv/ChangeLog
@@ -1,6 +1,17 @@
# ChangeLog for media-tv/ivtv
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.65 2006/12/04 17:12:14 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.66 2006/12/11 22:31:03 beandog Exp $
+
+*ivtv-0.9.1 (11 Dec 2006)
+*ivtv-0.8.2 (11 Dec 2006)
+*ivtv-0.7.3 (11 Dec 2006)
+*ivtv-0.6.6 (11 Dec 2006)
+*ivtv-0.4.9 (11 Dec 2006)
+
+ 11 Dec 2006; Steve Dibb <beandog@gentoo.org> +ivtv-0.4.9.ebuild,
+ +ivtv-0.6.6.ebuild, +ivtv-0.7.3.ebuild, +ivtv-0.8.2.ebuild,
+ +ivtv-0.9.1.ebuild:
+ Version bumps
04 Dec 2006; Doug Goldstein <cardoe@gentoo.org> ivtv-0.7.1.ebuild,
ivtv-0.7.2.ebuild, ivtv-0.8.0.ebuild, ivtv-0.8.0-r1.ebuild,
diff --git a/media-tv/ivtv/files/digest-ivtv-0.4.9 b/media-tv/ivtv/files/digest-ivtv-0.4.9
new file mode 100644
index 000000000000..0589866afef2
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.4.9
@@ -0,0 +1,3 @@
+MD5 30b837fe0b2deeb8922215ff4260d90f ivtv-0.4.9.tar.gz 503886
+RMD160 848da4186569b24686d22b68382bba9ce567cf73 ivtv-0.4.9.tar.gz 503886
+SHA256 88c5cc828c16f3b1a6299fc7409a17e1be652914b74c7cfd1c4006a9beb72775 ivtv-0.4.9.tar.gz 503886
diff --git a/media-tv/ivtv/files/digest-ivtv-0.6.6 b/media-tv/ivtv/files/digest-ivtv-0.6.6
new file mode 100644
index 000000000000..97b4c8b9847c
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.6.6
@@ -0,0 +1,3 @@
+MD5 d8e6b2e245e740a9ca066355f202960d ivtv-0.6.6.tar.gz 434712
+RMD160 ed8957dc48adf8e7a3042f0a8e4f59f428d93657 ivtv-0.6.6.tar.gz 434712
+SHA256 d00bfed68f129692c2d8199e69c73f92331c956a434b5126455f7129ba7d11f8 ivtv-0.6.6.tar.gz 434712
diff --git a/media-tv/ivtv/files/digest-ivtv-0.7.3 b/media-tv/ivtv/files/digest-ivtv-0.7.3
new file mode 100644
index 000000000000..3ac34db34104
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.7.3
@@ -0,0 +1,3 @@
+MD5 c05d7314ae56472e4065b03dabb299a2 ivtv-0.7.3.tar.gz 423689
+RMD160 9b4776eb8a2d9864ac320d92131160d7f23ab9aa ivtv-0.7.3.tar.gz 423689
+SHA256 bb6ba3f1954ebf1beff86e126b0210b2e68acf2cf0dea8d2be51cec221ce6a3c ivtv-0.7.3.tar.gz 423689
diff --git a/media-tv/ivtv/files/digest-ivtv-0.8.2 b/media-tv/ivtv/files/digest-ivtv-0.8.2
new file mode 100644
index 000000000000..04a0aa57d8cc
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.8.2
@@ -0,0 +1,3 @@
+MD5 b6b8639a0b304afd8eee5037b17dd54e ivtv-0.8.2.tar.gz 404034
+RMD160 fcf2b63cde0856e98f10d3844fc6bb68a8fc8b7b ivtv-0.8.2.tar.gz 404034
+SHA256 de3196faf192827c93af0bbd55ffbcf1703483822fb8402a8c53179e3962476a ivtv-0.8.2.tar.gz 404034
diff --git a/media-tv/ivtv/files/digest-ivtv-0.9.1 b/media-tv/ivtv/files/digest-ivtv-0.9.1
new file mode 100644
index 000000000000..23b73599a3d0
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.9.1
@@ -0,0 +1,3 @@
+MD5 b41eb93427599dca38504c2307678aa4 ivtv-0.9.1.tar.gz 404714
+RMD160 cf52471375bdda4199d3415c857288f97a4c30f0 ivtv-0.9.1.tar.gz 404714
+SHA256 3bef36e1792112e03483d39cf1318a86608dbec1b93c9084dfd7e75ce137f8d1 ivtv-0.9.1.tar.gz 404714
diff --git a/media-tv/ivtv/ivtv-0.4.9.ebuild b/media-tv/ivtv/ivtv-0.4.9.ebuild
new file mode 100644
index 000000000000..f47a11831a2f
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.4.9.ebuild
@@ -0,0 +1,133 @@
+# 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.4.9.ebuild,v 1.1 2006/12/11 22:31:03 beandog Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
+HOMEPAGE="http://www.ivtvdriver.org"
+SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/0.4.x/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+BUILD_TARGETS="all"
+BUILD_PARAMS="KDIR=${KERNEL_DIR}"
+CONFIG_CHECK="I2C_ALGOBIT VIDEO_DEV I2C_CHARDEV I2C"
+
+RDEPEND="sys-apps/hotplug"
+DEPEND="app-arch/unzip"
+PDEPEND="media-tv/pvr-firmware"
+
+pkg_setup() {
+
+ if kernel_is gt 2 6 15; then
+ eerror "Each IVTV driver branch will only work with a specific"
+ eerror "linux kernel branch."
+ eerror ""
+ eerror "You will need to either:"
+ eerror "a) emerge a different kernel"
+ eerror "b) emerge a different driver"
+ eerror ""
+ eerror "ivtv branch <--> kernel branch"
+ eerror "0.9.x <--> 2.6.19.x"
+ eerror "0.8.x <--> 2.6.18.x"
+ eerror "0.7.x <--> 2.6.17.x"
+ eerror "0.6.x <--> 2.6.16.x"
+ eerror "0.4.x <--> 2.6.15.x"
+ eerror ""
+ eerror "See http://ivtvdriver.org/ for more information"
+ echo ""
+ ewarn "You must use 0.6.x with a 2.6.16 kernel."
+ die "This does not work with kernel versions higher then 2.6.15"
+ fi
+
+ MODULE_NAMES="ivtv(extra:${S}/driver)"
+
+ if kernel_is le 2 6 14; then
+ MODULE_NAMES="${MODULE_NAMES}
+ msp3400(extra:${S}/driver)
+ saa7115(extra:${S}/driver)
+ tveeprom(extra:${S}/driver)
+ saa7127(extra:${S}/driver)
+ cx25840(extra:${S}/driver)
+ tuner(extra:${S}/driver)
+ wm8775(extra:${S}/driver)
+ tda9887(extra:${S}/driver)
+ cs53l32a(extra:${S}/driver)"
+ else
+ CONFIG_CHECK="${CONFIG_CHECK} VIDEO_DECODER VIDEO_AUDIO_DECODER VIDEO_BT848"
+ fi
+
+ linux_chkconfig_present FB && \
+ MODULE_NAMES="${MODULE_NAMES} ivtv-fb(extra:${S}/driver)"
+
+ linux-mod_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -e "s:^VERS26=.*:VERS26=${KV_MAJOR}.${KV_MINOR}:g" \
+ -i ${S}/driver/Makefile || die "sed failed"
+}
+
+src_compile() {
+ cd ${S}/driver
+ linux-mod_src_compile || die "failed to build driver "
+
+ cd ${S}/utils
+ emake || die "failed to build utils "
+}
+
+src_install() {
+ cd ${S}/utils
+
+ make KERNELDIR="${KERNEL_DIR}" DESTDIR="${D}" PREFIX=/usr install \
+ || die "failed to install utils"
+
+ cd ${S}
+ dodoc README doc/* utils/README.X11
+
+ cd ${S}/driver
+ linux-mod_src_install || die "failed to install modules"
+
+ # Add the aliases
+ insinto /etc/modules.d
+ newins "${FILESDIR}"/ivtv ivtv
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # The MCE versions of the PVR cards come without remote control because (I
+ # assume) a remote control is included in Windows Media Center Edition. It
+ # is probably a good idea to just say that if your package comes with a
+ # remote then emerge lirc. Lirc should build all drivers anyway.
+ #
+ # einfo "To get the ir remote working, you'll need to emerge lirc"
+ # einfo "with the following set:"
+ # einfo "LIRC_OPTS=\"--with-x --with-driver=hauppauge --with-major=61 "
+ # einfo " --with-port=none --with-irq=none\" emerge lirc"
+ # echo
+ # einfo "You can also add the above LIRC_OPTS line to /etc/make.conf for"
+ # einfo "it to remain there for future updates."
+ # echo
+ # einfo "To use vbi, you'll need a few other things, check README.vbi in the docs dir"
+ # echo
+
+ # Similar checks are performed by the make install in the drivers directory.
+ BADMODS="msp3400 tda9887 tuner tveeprom"
+
+ if [ ${KV_PATCH} -le 14 ]; then
+ for MODNAME in ${BADMODS}; do
+ if [ -f "${ROOT}/lib/modules/${KV_FULL}/kernel/drivers/media/video/${MODNAME}.ko" ] ; then
+ ewarn "You have the ${MODNAME} module that comes with the kernel. It isn't compatible"
+ ewarn "with ivtv. You need to back it up to somewhere else, then run 'modules-update'"
+ ewarn "The file to remove is ${ROOT}/lib/modules/${KV_FULL}/kernel/drivers/media/video/${MODNAME}.ko"
+ echo
+ fi
+ done
+ fi
+}
diff --git a/media-tv/ivtv/ivtv-0.6.6.ebuild b/media-tv/ivtv/ivtv-0.6.6.ebuild
new file mode 100644
index 000000000000..c5f6da78b4b3
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.6.6.ebuild
@@ -0,0 +1,117 @@
+# 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.6.6.ebuild,v 1.1 2006/12/11 22:31:03 beandog Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
+HOMEPAGE="http://www.ivtvdriver.org"
+SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/0.6.x/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+BUILD_TARGETS="all"
+BUILD_PARAMS="KDIR=${KERNEL_DIR}"
+CONFIG_CHECK="I2C_ALGOBIT VIDEO_DEV I2C_CHARDEV I2C"
+
+RDEPEND="sys-apps/hotplug"
+DEPEND="app-arch/unzip"
+PDEPEND="media-tv/pvr-firmware"
+
+pkg_setup() {
+
+ if ! kernel_is 2 6 16; then
+ eerror "Each IVTV driver branch will only work with a specific"
+ eerror "linux kernel branch."
+ eerror ""
+ eerror "You will need to either:"
+ eerror "a) emerge a different kernel"
+ eerror "b) emerge a different driver"
+ eerror ""
+ eerror "ivtv branch <--> kernel branch"
+ eerror "0.9.x <--> 2.6.19.x"
+ eerror "0.8.x <--> 2.6.18.x"
+ eerror "0.7.x <--> 2.6.17.x"
+ eerror "0.6.x <--> 2.6.16.x"
+ eerror "0.4.x <--> 2.6.15.x"
+ eerror ""
+ eerror "See http://ivtvdriver.org/ for more information"
+ die "This only works on 2.6.16 kernels"
+ fi
+
+ linux-mod_pkg_setup
+ MODULE_NAMES="ivtv(extra:${S}/driver)"
+ CONFIG_CHECK="${CONFIG_CHECK} VIDEO_DECODER VIDEO_AUDIO_DECODER VIDEO_BT848"
+
+ linux_chkconfig_present FB && \
+ MODULE_NAMES="${MODULE_NAMES} ivtv-fb(extra:${S}/driver)"
+
+ linux-mod_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -e "s:^VERS26=.*:VERS26=${KV_MAJOR}.${KV_MINOR}:g" \
+ -i ${S}/driver/Makefile || die "sed failed"
+}
+
+src_compile() {
+ cd ${S}/driver
+ linux-mod_src_compile || die "failed to build driver "
+
+ cd ${S}/utils
+ emake || die "failed to build utils "
+}
+
+src_install() {
+ cd ${S}/utils
+ make KERNELDIR="${KERNEL_DIR}" DESTDIR="${D}" PREFIX=/usr install \
+ || die "failed to install utils"
+
+ cd ${S}
+ dodoc README doc/* utils/README.X11
+
+ cd ${S}/driver
+ linux-mod_src_install || die "failed to install modules"
+
+ # Add the aliases
+ insinto /etc/modules.d
+ newins "${FILESDIR}"/ivtv ivtv
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+
+ # The MCE versions of the PVR cards come without remote control because (I
+ # assume) a remote control is included in Windows Media Center Edition. It
+ # is probably a good idea to just say that if your package comes with a
+ # remote then emerge lirc. Lirc should build all drivers anyway.
+ #
+ # einfo "To get the ir remote working, you'll need to emerge lirc"
+ # einfo "with the following set:"
+ # einfo "LIRC_OPTS=\"--with-x --with-driver=hauppauge --with-major=61 "
+ # einfo " --with-port=none --with-irq=none\" emerge lirc"
+ # echo
+ # einfo "You can also add the above LIRC_OPTS line to /etc/make.conf for"
+ # einfo "it to remain there for future updates."
+ # echo
+ # einfo "To use vbi, you'll need a few other things, check README.vbi in the docs dir"
+ # echo
+
+ # Similar checks are performed by the make install in the drivers directory.
+ BADMODS="msp3400 tda9887 tuner tveeprom"
+
+ if [ ${KV_PATCH} -le 14 ]; then
+ for MODNAME in ${BADMODS}; do
+ if [ -f "${ROOT}/lib/modules/${KV_FULL}/kernel/drivers/media/video/${MODNAME}.ko" ] ; then
+ ewarn "You have the ${MODNAME} module that comes with the kernel. It isn't compatible"
+ ewarn "with ivtv. You need to back it up to somewhere else, then run 'modules-update'"
+ ewarn "The file to remove is ${ROOT}/lib/modules/${KV_FULL}/kernel/drivers/media/video/${MODNAME}.ko"
+ echo
+ fi
+ done
+ fi
+}
diff --git a/media-tv/ivtv/ivtv-0.7.3.ebuild b/media-tv/ivtv/ivtv-0.7.3.ebuild
new file mode 100644
index 000000000000..0a520235721b
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.7.3.ebuild
@@ -0,0 +1,86 @@
+# 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.3.ebuild,v 1.1 2006/12/11 22:31:03 beandog Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
+HOMEPAGE="http://www.ivtvdriver.org"
+SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/0.7.x/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~ppc"
+IUSE=""
+
+BUILD_TARGETS="all"
+BUILD_PARAMS="KDIR=${KERNEL_DIR}"
+
+RDEPEND="sys-apps/hotplug-base"
+DEPEND="app-arch/unzip"
+PDEPEND="media-tv/pvr-firmware"
+
+pkg_setup() {
+
+ if ! kernel_is 2 6 17; then
+ eerror "Each IVTV driver branch will only work with a specific"
+ eerror "linux kernel branch."
+ eerror ""
+ eerror "You will need to either:"
+ eerror "a) emerge a different kernel"
+ eerror "b) emerge a different driver"
+ eerror ""
+ eerror "ivtv branch <--> kernel branch"
+ eerror "0.9.x <--> 2.6.19.x"
+ eerror "0.8.x <--> 2.6.18.x"
+ eerror "0.7.x <--> 2.6.17.x"
+ eerror "0.6.x <--> 2.6.16.x"
+ eerror "0.4.x <--> 2.6.15.x"
+ eerror ""
+ eerror "See http://ivtvdriver.org/ for more information"
+ 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)"
+
+ linux-mod_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -e "s:^VERS26=.*:VERS26=${KV_MAJOR}.${KV_MINOR}:g" \
+ -i ${S}/driver/Makefile || die "sed failed"
+}
+
+src_compile() {
+ cd ${S}/driver
+ linux-mod_src_compile || die "failed to build driver "
+
+ cd ${S}/utils
+ emake || die "failed to build utils "
+}
+
+src_install() {
+ cd ${S}/utils
+ make KERNELDIR="${KERNEL_DIR}" DESTDIR="${D}" PREFIX=/usr install \
+ || die "failed to install utils"
+
+ cd ${S}
+ dodoc README doc/* utils/README.X11
+
+ cd ${S}/driver
+ linux-mod_src_install || die "failed to install modules"
+
+ # Add the aliases
+ insinto /etc/modules.d
+ newins "${FILESDIR}"/ivtv ivtv
+}
diff --git a/media-tv/ivtv/ivtv-0.8.2.ebuild b/media-tv/ivtv/ivtv-0.8.2.ebuild
new file mode 100644
index 000000000000..e5062fff38cf
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.8.2.ebuild
@@ -0,0 +1,78 @@
+# 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.8.2.ebuild,v 1.1 2006/12/11 22:31:03 beandog Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
+HOMEPAGE="http://www.ivtvdriver.org"
+SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/0.8.x/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="fbcon"
+
+RDEPEND="sys-apps/hotplug-base"
+DEPEND="app-arch/unzip"
+PDEPEND="media-tv/pvr-firmware"
+
+pkg_setup() {
+
+ MODULE_NAMES="ivtv(extra:${S}/driver)
+ saa717x(extra:${S}/i2c-drivers)"
+ BUILD_TARGETS="all"
+ CONFIG_CHECK="EXPERIMENTAL KMOD VIDEO_DEV I2C VIDEO_V4L1_COMPAT VIDEO_V4L2
+ FW_LOADER VIDEO_WM8775 VIDEO_MSP3400 VIDEO_CX25840 VIDEO_TUNER
+ VIDEO_SAA711X VIDEO_CX2341X VIDEO_SAA7127 VIDEO_TVEEPROM"
+
+ if use fbcon; then
+ MODULE_NAMES="${MODULE_NAMES} ivtv-fb(extra:${S}/driver)"
+ CONFIG_CHECK="${CONFIG_CHECK} FB"
+ fi
+
+ if ! kernel_is 2 6 18; then
+ eerror "Each IVTV driver branch will only work with a specific"
+ eerror "linux kernel branch."
+ eerror ""
+ eerror "You will need to either:"
+ eerror "a) emerge a different kernel"
+ eerror "b) emerge a different driver"
+ eerror ""
+ eerror "ivtv branch <--> kernel branch"
+ eerror "0.8.x <--> 2.6.18.x"
+ eerror "0.7.x <--> 2.6.17.x"
+ eerror "0.6.x <--> 2.6.16.x"
+ eerror "0.4.x <--> 2.6.15.x"
+ eerror ""
+ eerror "See http://ivtvdriver.org/ for more information"
+ die "This only works on 2.6.18 kernels"
+ fi
+
+ linux-mod_pkg_setup
+
+ BUILD_PARAMS="KDIR=${KV_DIR}"
+}
+
+src_compile() {
+
+ cd "${S}/driver"
+ linux-mod_src_compile || die "failed to build driver"
+
+ cd "${S}/utils"
+ emake INCDIR="${KV_DIR}/include" || die "failed to build utils "
+}
+
+src_install() {
+ cd "${S}/utils"
+ make DESTDIR="${D}" PREFIX="/usr" install || die "failed to install utils"
+
+ cd "${S}"
+ dodoc README doc/* utils/README.X11
+
+ cd "${S}/driver"
+ linux-mod_src_install || die "failed to install modules"
+
+ # Add the aliases
+ insinto /etc/modules.d
+ newins "${FILESDIR}"/ivtv ivtv
+}
diff --git a/media-tv/ivtv/ivtv-0.9.1.ebuild b/media-tv/ivtv/ivtv-0.9.1.ebuild
new file mode 100644
index 000000000000..6864ea826bcf
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.9.1.ebuild
@@ -0,0 +1,81 @@
+# 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.9.1.ebuild,v 1.1 2006/12/11 22:31:03 beandog Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="ivtv driver for Hauppauge PVR PCI cards"
+HOMEPAGE="http://www.ivtvdriver.org"
+SRC_URI="http://dl.ivtvdriver.org/ivtv/archive/0.9.x/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="fbcon"
+
+RDEPEND="|| ( >=sys-fs/udev-103 sys-apps/hotplug )
+ sys-apps/hotplug-base"
+DEPEND="app-arch/unzip"
+PDEPEND="media-tv/pvr-firmware"
+
+pkg_setup() {
+
+ MODULE_NAMES="ivtv(extra:${S}/driver)
+ saa717x(extra:${S}/i2c-drivers)"
+ BUILD_TARGETS="all"
+ CONFIG_CHECK="EXPERIMENTAL KMOD VIDEO_DEV I2C VIDEO_V4L1_COMPAT VIDEO_V4L2
+ !VIDEO_HELPER_CHIPS_AUTO
+ FW_LOADER VIDEO_WM8775 VIDEO_MSP3400 VIDEO_CX25840 VIDEO_TUNER
+ VIDEO_SAA711X VIDEO_CX2341X VIDEO_SAA7127 VIDEO_TVEEPROM"
+
+ if use fbcon; then
+ MODULE_NAMES="${MODULE_NAMES} ivtv-fb(extra:${S}/driver)"
+ CONFIG_CHECK="${CONFIG_CHECK} FB"
+ fi
+
+ if ! kernel_is 2 6 19; then
+ eerror "Each IVTV driver branch will only work with a specific"
+ eerror "linux kernel branch."
+ eerror ""
+ eerror "You will need to either:"
+ eerror "a) emerge a different kernel"
+ eerror "b) emerge a different driver"
+ eerror ""
+ eerror "ivtv branch <--> kernel branch"
+ eerror "0.9.x <--> 2.6.19.x"
+ eerror "0.8.x <--> 2.6.18.x"
+ eerror "0.7.x <--> 2.6.17.x"
+ eerror "0.6.x <--> 2.6.16.x"
+ eerror "0.4.x <--> 2.6.15.x"
+ eerror ""
+ eerror "See http://ivtvdriver.org/ for more information"
+ die "This only works on 2.6.19 kernels"
+ fi
+
+ linux-mod_pkg_setup
+
+ BUILD_PARAMS="KDIR=${KV_DIR}"
+}
+
+src_compile() {
+
+ cd "${S}/driver"
+ linux-mod_src_compile || die "failed to build driver"
+
+ cd "${S}/utils"
+ emake INCDIR="${KV_DIR}/include" || die "failed to build utils "
+}
+
+src_install() {
+ cd "${S}/utils"
+ make DESTDIR="${D}" PREFIX="/usr" install || die "failed to install utils"
+
+ cd "${S}"
+ dodoc README doc/* utils/README.X11
+
+ cd "${S}/driver"
+ linux-mod_src_install || die "failed to install modules"
+
+ # Add the aliases
+ insinto /etc/modules.d
+ newins "${FILESDIR}"/ivtv ivtv
+}