# 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)
MD5 0257e42da5fa9907fb176033250f217f ivtv-0.8.1.ebuild 2153
RMD160 f76ff2d324c1b82a7387010d894e49dcd9703c66 ivtv-0.8.1.ebuild 2153
SHA256 58e55a972f5033ec1c30d202243112dcc9f0befcaec1e8ba3775a29b798d76b9 ivtv-0.8.1.ebuild 2153
+EBUILD ivtv-0.8.2-r1.ebuild 2072 RMD160 da4a271ca32844fd071efe982aec00a05b9b941b SHA1 658646ea856830b7f5a28545d6eef82cfd023209 SHA256 5058ccb99cf1e620ce9872dd75dbb8c960a9cc5291b29533300eda1723c65c4d
+MD5 80cda1327781956942d0813ba600409a ivtv-0.8.2-r1.ebuild 2072
+RMD160 da4a271ca32844fd071efe982aec00a05b9b941b ivtv-0.8.2-r1.ebuild 2072
+SHA256 5058ccb99cf1e620ce9872dd75dbb8c960a9cc5291b29533300eda1723c65c4d ivtv-0.8.2-r1.ebuild 2072
EBUILD ivtv-0.8.2.ebuild 2085 RMD160 0d3f376330bf37a8e7f1725d337f2fe27bc9fc46 SHA1 03046e40116aaa16c523f49a057015c3544bf323 SHA256 53ca9484892061f046ea9d3c9bbc538436ee3d065667c05064103b779e1ee448
MD5 54b7c521cc8632d61a76c27821a0381a ivtv-0.8.2.ebuild 2085
RMD160 0d3f376330bf37a8e7f1725d337f2fe27bc9fc46 ivtv-0.8.2.ebuild 2085
MD5 a4ffb9892cc804fac623c89f56287c6d ivtv-0.9.1.ebuild 2187
RMD160 93af4daa7ce9d01f022481732016bbc547343ab4 ivtv-0.9.1.ebuild 2187
SHA256 7b6aa21629e8eb87c13c81adde5376fff1df9cc6199d28bf0b2016595aad53a5 ivtv-0.9.1.ebuild 2187
-MISC ChangeLog 11314 RMD160 fb9e85a007e94e86403cae3f3d5d51cedfa5c7e0 SHA1 25b2d71d8e70abd606eccd24ba5a4954169e7c5a SHA256 a1aef34b652ba10cb3779993c24d61c65a84f6ece2d77a4ef7c15be2c2cfba73
-MD5 678c0d4a420ee36ef8f81dde59712830 ChangeLog 11314
-RMD160 fb9e85a007e94e86403cae3f3d5d51cedfa5c7e0 ChangeLog 11314
-SHA256 a1aef34b652ba10cb3779993c24d61c65a84f6ece2d77a4ef7c15be2c2cfba73 ChangeLog 11314
+MISC ChangeLog 11519 RMD160 9bd0b413e38bb4c77cbe084457003d000f835b5a SHA1 8cbf439cc0ece1b2810cf301432e05f2297619c4 SHA256 a74d9172af6cc936c7f3efbf14ff3e4dea14fbc592c9ad9ce1f3d419e1c18d7d
+MD5 27545d66138a56fdb0bd49e2f42dd083 ChangeLog 11519
+RMD160 9bd0b413e38bb4c77cbe084457003d000f835b5a ChangeLog 11519
+SHA256 a74d9172af6cc936c7f3efbf14ff3e4dea14fbc592c9ad9ce1f3d419e1c18d7d ChangeLog 11519
MISC metadata.xml 495 RMD160 fce120b898530aef1984964ee4fe82552325e976 SHA1 fa493a7f5069abe278527eb46051adc04a0dfb32 SHA256 af459e1dca4aa34e999427a5aa2b3d8bf90986b2b8fbd98063f74eed35a9d1cb
MD5 cd7dcb9388e6d4cd6406a80b7b7c59a5 metadata.xml 495
RMD160 fce120b898530aef1984964ee4fe82552325e976 metadata.xml 495
MD5 29808c677329d123c40c061e0b67ac66 files/digest-ivtv-0.8.2 232
RMD160 c8d7afa7d0370b0f1f3d6941b2abff55d3da8bd1 files/digest-ivtv-0.8.2 232
SHA256 0be45579100d5f4d58e49a0344e74e191da78f6909ef4d46f9fd87cc6fed0079 files/digest-ivtv-0.8.2 232
+MD5 29808c677329d123c40c061e0b67ac66 files/digest-ivtv-0.8.2-r1 232
+RMD160 c8d7afa7d0370b0f1f3d6941b2abff55d3da8bd1 files/digest-ivtv-0.8.2-r1 232
+SHA256 0be45579100d5f4d58e49a0344e74e191da78f6909ef4d46f9fd87cc6fed0079 files/digest-ivtv-0.8.2-r1 232
MD5 8f0a9844ade7ee75950874cefddd658f files/digest-ivtv-0.9.0 232
RMD160 c8740f07f950b52009938f522092f0c8f99e4998 files/digest-ivtv-0.9.0 232
SHA256 f6c6ab46cd108a8c82e149cdc9c3d89252d489baa2166c601efe32ef47ca5470 files/digest-ivtv-0.9.0 232
--- /dev/null
+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
--- /dev/null
+# 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
+}