diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2006-10-06 00:09:27 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2006-10-06 00:09:27 +0000 |
commit | 25cb31afbb3a620afaecd5e75e296943472d2690 (patch) | |
tree | e43e7657b4673af92b9e130d8b9006126b1fe407 /media-tv | |
parent | Masking ivtv bumped versions. They use a new firmware ebuild called pvr-firmware (diff) | |
download | gentoo-2-25cb31afbb3a620afaecd5e75e296943472d2690.tar.gz gentoo-2-25cb31afbb3a620afaecd5e75e296943472d2690.tar.bz2 gentoo-2-25cb31afbb3a620afaecd5e75e296943472d2690.zip |
Rev bump of all ivtv branches. They're using new pvr-firmware ebuild for firmwares
(Portage version: 2.1.2_pre2-r1)
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/ivtv/ChangeLog | 12 | ||||
-rw-r--r-- | media-tv/ivtv/files/digest-ivtv-0.4.7 | 3 | ||||
-rw-r--r-- | media-tv/ivtv/files/digest-ivtv-0.6.4 | 3 | ||||
-rw-r--r-- | media-tv/ivtv/files/digest-ivtv-0.7.1 | 3 | ||||
-rw-r--r-- | media-tv/ivtv/files/digest-ivtv-0.8.0 | 3 | ||||
-rw-r--r-- | media-tv/ivtv/ivtv-0.4.7.ebuild | 116 | ||||
-rw-r--r-- | media-tv/ivtv/ivtv-0.6.4.ebuild | 102 | ||||
-rw-r--r-- | media-tv/ivtv/ivtv-0.7.1.ebuild | 70 | ||||
-rw-r--r-- | media-tv/ivtv/ivtv-0.8.0.ebuild | 70 |
9 files changed, 381 insertions, 1 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog index 524f9ddfb5a1..ce11c968a6b7 100644 --- a/media-tv/ivtv/ChangeLog +++ b/media-tv/ivtv/ChangeLog @@ -1,6 +1,16 @@ # 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.51 2006/07/22 22:11:50 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.52 2006/10/06 00:09:27 cardoe Exp $ + +*ivtv-0.8.0 (06 Oct 2006) +*ivtv-0.7.1 (06 Oct 2006) +*ivtv-0.6.4 (06 Oct 2006) +*ivtv-0.4.7 (06 Oct 2006) + + 06 Oct 2006; Doug Goldstein <cardoe@gentoo.org> +ivtv-0.4.7.ebuild, + +ivtv-0.6.4.ebuild, +ivtv-0.7.1.ebuild, +ivtv-0.8.0.ebuild: + Rev bump of all ivtv branches. They're using new pvr-firmware ebuild for + firmwares 22 Jul 2006; Doug Goldstein <cardoe@gentoo.org> ivtv-0.7.0.ebuild: Added VIDEO_V4L1 to CONFIG_CHECK since it doesn't enforce depends diff --git a/media-tv/ivtv/files/digest-ivtv-0.4.7 b/media-tv/ivtv/files/digest-ivtv-0.4.7 new file mode 100644 index 000000000000..087d4bbf6cba --- /dev/null +++ b/media-tv/ivtv/files/digest-ivtv-0.4.7 @@ -0,0 +1,3 @@ +MD5 8c52f7a1a1454d71613976d3f2228540 ivtv-0.4.7.tar.gz 503454 +RMD160 667a8b548293b0d44e7bc2310824c8e431eb8ff9 ivtv-0.4.7.tar.gz 503454 +SHA256 263e788c52818685800920320a1d162f57ab5a5044a03de5e78005bdbf88bada ivtv-0.4.7.tar.gz 503454 diff --git a/media-tv/ivtv/files/digest-ivtv-0.6.4 b/media-tv/ivtv/files/digest-ivtv-0.6.4 new file mode 100644 index 000000000000..e8d8c6a27561 --- /dev/null +++ b/media-tv/ivtv/files/digest-ivtv-0.6.4 @@ -0,0 +1,3 @@ +MD5 bf7ce5b08899fb434483772c461bb01e ivtv-0.6.4.tar.gz 434457 +RMD160 5b7709899c5b3016aa4955bf66c904758599c08b ivtv-0.6.4.tar.gz 434457 +SHA256 0b52a10f360b110d6b77a148399ada1c011885d7a2c714374b3620e02eedc3cf ivtv-0.6.4.tar.gz 434457 diff --git a/media-tv/ivtv/files/digest-ivtv-0.7.1 b/media-tv/ivtv/files/digest-ivtv-0.7.1 new file mode 100644 index 000000000000..2c4541bc4478 --- /dev/null +++ b/media-tv/ivtv/files/digest-ivtv-0.7.1 @@ -0,0 +1,3 @@ +MD5 4f74990b84660af63751900e0dcb7fc7 ivtv-0.7.1.tar.gz 423214 +RMD160 f14d7abab7e054e205f324bfc6433163595328b8 ivtv-0.7.1.tar.gz 423214 +SHA256 0c5bd0f36c5905b1cf402d56d301d85d2871c531c96ddd5967ce6574735edaf3 ivtv-0.7.1.tar.gz 423214 diff --git a/media-tv/ivtv/files/digest-ivtv-0.8.0 b/media-tv/ivtv/files/digest-ivtv-0.8.0 new file mode 100644 index 000000000000..b3c0375d492d --- /dev/null +++ b/media-tv/ivtv/files/digest-ivtv-0.8.0 @@ -0,0 +1,3 @@ +MD5 6ca7ad5404c822f8571b0b759950bff5 ivtv-0.8.0.tar.gz 391165 +RMD160 aff7a773bbd2656febf5f0d111479919cefebe5d ivtv-0.8.0.tar.gz 391165 +SHA256 607c6262294c80e0bb437aebf122d30ccfa781255aec581a362271dd902333e2 ivtv-0.8.0.tar.gz 391165 diff --git a/media-tv/ivtv/ivtv-0.4.7.ebuild b/media-tv/ivtv/ivtv-0.4.7.ebuild new file mode 100644 index 000000000000..4c5bb2e506f3 --- /dev/null +++ b/media-tv/ivtv/ivtv-0.4.7.ebuild @@ -0,0 +1,116 @@ +# 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.7.ebuild,v 1.1 2006/10/06 00:09:27 cardoe 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() { + MODULE_NAMES="ivtv(extra:${S}/driver)" + + if kernel_is gt 2 6 15; then + 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 + + 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.4.ebuild b/media-tv/ivtv/ivtv-0.6.4.ebuild new file mode 100644 index 000000000000..646b786cf4b2 --- /dev/null +++ b/media-tv/ivtv/ivtv-0.6.4.ebuild @@ -0,0 +1,102 @@ +# 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.4.ebuild,v 1.1 2006/10/06 00:09:27 cardoe 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() { + linux-mod_pkg_setup + MODULE_NAMES="ivtv(extra:${S}/driver)" + + if kernel_is 2 6 16; then + CONFIG_CHECK="${CONFIG_CHECK} VIDEO_DECODER VIDEO_AUDIO_DECODER VIDEO_BT848" + else + die "This only works on 2.6.16 kernels" + 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.7.1.ebuild b/media-tv/ivtv/ivtv-0.7.1.ebuild new file mode 100644 index 000000000000..75561a97f817 --- /dev/null +++ b/media-tv/ivtv/ivtv-0.7.1.ebuild @@ -0,0 +1,70 @@ +# 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.1.ebuild,v 1.1 2006/10/06 00:09:27 cardoe 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() { + 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 + die "This only works on 2.6.17 kernels" + 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 +} diff --git a/media-tv/ivtv/ivtv-0.8.0.ebuild b/media-tv/ivtv/ivtv-0.8.0.ebuild new file mode 100644 index 000000000000..40fb3ffe9e92 --- /dev/null +++ b/media-tv/ivtv/ivtv-0.8.0.ebuild @@ -0,0 +1,70 @@ +# 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.0.ebuild,v 1.1 2006/10/06 00:09:27 cardoe 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 ~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() { + linux-mod_pkg_setup + MODULE_NAMES="ivtv(extra:${S}/driver) \ + saa717x(extra:${S}/i2c-drivers)" + + if kernel_is 2 6 18; 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 + die "This only works on 2.6.18 kernels" + 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 +} |