summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2006-11-20 04:44:34 +0000
committerSteve Dibb <beandog@gentoo.org>2006-11-20 04:44:34 +0000
commite4c681151bef006e370eaa924c0f922948c349fa (patch)
tree9a4208ada9105dd70dc74879f5b7c87c0f98c8d6 /media-tv
parentCleanup metadata.xml (diff)
downloadgentoo-2-e4c681151bef006e370eaa924c0f922948c349fa.tar.gz
gentoo-2-e4c681151bef006e370eaa924c0f922948c349fa.tar.bz2
gentoo-2-e4c681151bef006e370eaa924c0f922948c349fa.zip
Version bump
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/ivtv/ChangeLog7
-rw-r--r--media-tv/ivtv/files/digest-ivtv-0.8.13
-rw-r--r--media-tv/ivtv/ivtv-0.8.1.ebuild61
3 files changed, 70 insertions, 1 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog
index 234662ed752e..c4c5b06eb9a6 100644
--- a/media-tv/ivtv/ChangeLog
+++ b/media-tv/ivtv/ChangeLog
@@ -1,6 +1,11 @@
# 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.57 2006/11/20 04:39:16 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.58 2006/11/20 04:44:34 beandog Exp $
+
+*ivtv-0.8.1 (20 Nov 2006)
+
+ 20 Nov 2006; Steve Dibb <beandog@gentoo.org> +ivtv-0.8.1.ebuild:
+ Version bump
20 Nov 2006; Steve Dibb <beandog@gentoo.org> metadata.xml:
Cleanup metadata.xml
diff --git a/media-tv/ivtv/files/digest-ivtv-0.8.1 b/media-tv/ivtv/files/digest-ivtv-0.8.1
new file mode 100644
index 000000000000..9777186a4549
--- /dev/null
+++ b/media-tv/ivtv/files/digest-ivtv-0.8.1
@@ -0,0 +1,3 @@
+MD5 466a27ef1f956ebf1b3ea18dfcc0581e ivtv-0.8.1.tar.gz 403984
+RMD160 5458bf7a29d399782c7a5cfb45f3ed148e010e73 ivtv-0.8.1.tar.gz 403984
+SHA256 10e4ce21cd02493a99bf91f96371c295787c121116b0fe8d9d2bb18f5c1061ad ivtv-0.8.1.tar.gz 403984
diff --git a/media-tv/ivtv/ivtv-0.8.1.ebuild b/media-tv/ivtv/ivtv-0.8.1.ebuild
new file mode 100644
index 000000000000..bd503102342f
--- /dev/null
+++ b/media-tv/ivtv/ivtv-0.8.1.ebuild
@@ -0,0 +1,61 @@
+# 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.1.ebuild,v 1.1 2006/11/20 04:44:34 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=""
+
+RDEPEND="sys-apps/hotplug"
+DEPEND="app-arch/unzip"
+PDEPEND="media-tv/pvr-firmware"
+
+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"
+CONFIG_CHECK="${CONFIG_CHECK} VIDEO_WM8775 VIDEO_MSP3400 VIDEO_CX25840 VIDEO_TUNER"
+CONFIG_CHECK="${CONFIG_CHECK} VIDEO_SAA711X VIDEO_CX2341X VIDEO_SAA7127 VIDEO_TVEEPROM"
+#CONFIG_CHECK="${CONFIG_CHECK} VIDEO_UPD64083"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if ! kernel_is 2 6 18; then
+ die "This only works on 2.6.18 kernels"
+ fi
+
+ linux_chkconfig_present FB && \
+ MODULE_NAMES="${MODULE_NAMES} ivtv-fb(extra:${S}/driver)"
+
+ 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
+}