summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2006-12-01 17:49:41 +0000
committerSteve Dibb <beandog@gentoo.org>2006-12-01 17:49:41 +0000
commit7be0a71aa76f575c65c579e043dcae2d750791bb (patch)
tree0297c133f7738cb483596094e167d15f40dc6463 /media-tv/ivtv
parentStable on ppc64; bug #156718 (diff)
downloadgentoo-2-7be0a71aa76f575c65c579e043dcae2d750791bb.tar.gz
gentoo-2-7be0a71aa76f575c65c579e043dcae2d750791bb.tar.bz2
gentoo-2-7be0a71aa76f575c65c579e043dcae2d750791bb.zip
Version bumps
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-tv/ivtv')
-rw-r--r--media-tv/ivtv/ChangeLog10
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.4.83
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.6.53
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.7.23
-rw-r--r--media-tv/ivtv/ivtv-0.4.8.ebuild133
-rw-r--r--media-tv/ivtv/ivtv-0.6.5.ebuild117
-rw-r--r--media-tv/ivtv/ivtv-0.7.2.ebuild86
7 files changed, 354 insertions, 1 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog
index 7b28c7fcb430..5d2e9422e87d 100644
--- a/media-tv/ivtv/ChangeLog
+++ b/media-tv/ivtv/ChangeLog
@@ -1,6 +1,14 @@
# 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.62 2006/11/29 20:40:35 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.63 2006/12/01 17:49:41 beandog Exp $
+
+*ivtv-0.7.2 (01 Dec 2006)
+*ivtv-0.6.5 (01 Dec 2006)
+*ivtv-0.4.8 (01 Dec 2006)
+
+ 01 Dec 2006; Steve Dibb <beandog@gentoo.org> +ivtv-0.4.8.ebuild,
+ +ivtv-0.6.5.ebuild, +ivtv-0.7.2.ebuild:
+ Version bumps
*ivtv-0.8.0-r1 (29 Nov 2006)
diff --git a/media-tv/ivtv/files/digest-ivtv-0.4.8 b/media-tv/ivtv/files/digest-ivtv-0.4.8
new file mode 100644
index 000000000000..275b8f8908a8
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.4.8
@@ -0,0 +1,3 @@
+MD5 e04d8c56ef0c5ee0dac6bed496360592 ivtv-0.4.8.tar.gz 503874
+RMD160 57ab83093715260442ba242051c1d37f2bb334d5 ivtv-0.4.8.tar.gz 503874
+SHA256 cbc13359c26b3436503b16f3463197e86712a998cf947961bce7d7c6a54903d0 ivtv-0.4.8.tar.gz 503874
diff --git a/media-tv/ivtv/files/digest-ivtv-0.6.5 b/media-tv/ivtv/files/digest-ivtv-0.6.5
new file mode 100644
index 000000000000..ba569f8a8b57
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.6.5
@@ -0,0 +1,3 @@
+MD5 630f112e6ba01449380338b4426aae80 ivtv-0.6.5.tar.gz 434707
+RMD160 e09ae7fff4671dd2c376f907d66a6f6407933719 ivtv-0.6.5.tar.gz 434707
+SHA256 7c00dc9d7aabf2bc4955558bcd3e42a6a50c0f1878e727cf6630f288490005d9 ivtv-0.6.5.tar.gz 434707
diff --git a/media-tv/ivtv/files/digest-ivtv-0.7.2 b/media-tv/ivtv/files/digest-ivtv-0.7.2
new file mode 100644
index 000000000000..8e3531d86a54
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.7.2
@@ -0,0 +1,3 @@
+MD5 757fbe59deb8bbc505d984a164f0f3e4 ivtv-0.7.2.tar.gz 423685
+RMD160 9afcc4c8320fb89bb5d39db484ce4524cf488466 ivtv-0.7.2.tar.gz 423685
+SHA256 0f38ecd911f960c214a85d52ce82aafc36420e7008006982838859e9b385d413 ivtv-0.7.2.tar.gz 423685
diff --git a/media-tv/ivtv/ivtv-0.4.8.ebuild b/media-tv/ivtv/ivtv-0.4.8.ebuild
new file mode 100644
index 000000000000..a793999165df
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.4.8.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.8.ebuild,v 1.1 2006/12/01 17:49:41 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.5.ebuild b/media-tv/ivtv/ivtv-0.6.5.ebuild
new file mode 100644
index 000000000000..a89cb7bf4e13
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.6.5.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.5.ebuild,v 1.1 2006/12/01 17:49:41 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.2.ebuild b/media-tv/ivtv/ivtv-0.7.2.ebuild
new file mode 100644
index 000000000000..91ca1347cd41
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.7.2.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.2.ebuild,v 1.1 2006/12/01 17:49:41 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"
+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
+}