diff options
author | Steve Dibb <beandog@gentoo.org> | 2007-01-08 02:39:46 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2007-01-08 02:39:46 +0000 |
commit | 3587b0466e437fa377dcaa19e6b4014cf1706d5d (patch) | |
tree | 6ea6b828ec6971ef44c4ffef33bffc7579877372 /media-tv | |
parent | QA: Removed unused versions. (diff) | |
download | gentoo-2-3587b0466e437fa377dcaa19e6b4014cf1706d5d.tar.gz gentoo-2-3587b0466e437fa377dcaa19e6b4014cf1706d5d.tar.bz2 gentoo-2-3587b0466e437fa377dcaa19e6b4014cf1706d5d.zip |
Remove VIDEO_TUNER, VIDEO_TVEEPROM options since they are unselectable, and replace with VIDEO_CX88
(Portage version: 2.1.2_rc4-r6)
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/ivtv/ChangeLog | 10 | ||||
-rw-r--r-- | media-tv/ivtv/files/digest-ivtv-0.8.2-r1 | 3 | ||||
-rw-r--r-- | media-tv/ivtv/ivtv-0.8.2-r1.ebuild | 78 |
3 files changed, 89 insertions, 2 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog index 5cc1693bf93c..18b50c5490af 100644 --- a/media-tv/ivtv/ChangeLog +++ b/media-tv/ivtv/ChangeLog @@ -1,6 +1,12 @@ # 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.66 2006/12/11 22:31:03 beandog Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.67 2007/01/08 02:39:45 beandog Exp $ + +*ivtv-0.8.2-r1 (08 Jan 2007) + + 08 Jan 2007; Steve Dibb <beandog@gentoo.org> +ivtv-0.8.2-r1.ebuild: + Remove VIDEO_TUNER, VIDEO_TVEEPROM options since they are unselectable, and + replace with VIDEO_CX88 *ivtv-0.9.1 (11 Dec 2006) *ivtv-0.8.2 (11 Dec 2006) diff --git a/media-tv/ivtv/files/digest-ivtv-0.8.2-r1 b/media-tv/ivtv/files/digest-ivtv-0.8.2-r1 new file mode 100644 index 000000000000..04a0aa57d8cc --- /dev/null +++ b/media-tv/ivtv/files/digest-ivtv-0.8.2-r1 @@ -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/ivtv-0.8.2-r1.ebuild b/media-tv/ivtv/ivtv-0.8.2-r1.ebuild new file mode 100644 index 000000000000..c2be89f1c3b8 --- /dev/null +++ b/media-tv/ivtv/ivtv-0.8.2-r1.ebuild @@ -0,0 +1,78 @@ +# 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.8.2-r1.ebuild,v 1.1 2007/01/08 02:39:46 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_CX88 VIDEO_WM8775 VIDEO_MSP3400 VIDEO_CX25840 + VIDEO_SAA711X VIDEO_CX2341X VIDEO_SAA7127" + + 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 +} |