diff options
author | Steve Dibb <beandog@gentoo.org> | 2006-11-29 19:22:45 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2006-11-29 19:22:45 +0000 |
commit | 7c3affcc8e6babe06c324f9828ee8fe688ddcdfe (patch) | |
tree | 46644fd17a4d4f4c9b66face331067a5cfedcfcb /media-tv | |
parent | gnusound use flags (diff) | |
download | gentoo-2-7c3affcc8e6babe06c324f9828ee8fe688ddcdfe.tar.gz gentoo-2-7c3affcc8e6babe06c324f9828ee8fe688ddcdfe.tar.bz2 gentoo-2-7c3affcc8e6babe06c324f9828ee8fe688ddcdfe.zip |
Fix ivtv-fb build foo, bug 156163
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-tv')
-rw-r--r-- | media-tv/ivtv/ChangeLog | 7 | ||||
-rw-r--r-- | media-tv/ivtv/files/digest-ivtv-0.8.1-r1 | 3 | ||||
-rw-r--r-- | media-tv/ivtv/ivtv-0.8.1-r1.ebuild | 78 |
3 files changed, 87 insertions, 1 deletions
diff --git a/media-tv/ivtv/ChangeLog b/media-tv/ivtv/ChangeLog index ea0a168ba2bd..5abb5a9dd556 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.60 2006/11/28 03:39:32 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ChangeLog,v 1.61 2006/11/29 19:22:45 beandog Exp $ + +*ivtv-0.8.1-r1 (29 Nov 2006) + + 29 Nov 2006; Steve Dibb <beandog@gentoo.org> +ivtv-0.8.1-r1.ebuild: + Build ivtv-fb driver as well, bug 156163 28 Nov 2006; Steve Dibb <beandog@gentoo.org> ivtv-0.4.5.ebuild, ivtv-0.4.7.ebuild, ivtv-0.6.3.ebuild, ivtv-0.6.4.ebuild, diff --git a/media-tv/ivtv/files/digest-ivtv-0.8.1-r1 b/media-tv/ivtv/files/digest-ivtv-0.8.1-r1 new file mode 100644 index 000000000000..9777186a4549 --- /dev/null +++ b/media-tv/ivtv/files/digest-ivtv-0.8.1-r1 @@ -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-r1.ebuild b/media-tv/ivtv/ivtv-0.8.1-r1.ebuild new file mode 100644 index 000000000000..58816bf21cb1 --- /dev/null +++ b/media-tv/ivtv/ivtv-0.8.1-r1.ebuild @@ -0,0 +1,78 @@ +# 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-r1.ebuild,v 1.1 2006/11/29 19:22:45 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" +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_WM8775 VIDEO_MSP3400 VIDEO_CX25840 VIDEO_TUNER + VIDEO_SAA711X VIDEO_CX2341X VIDEO_SAA7127 VIDEO_TVEEPROM" + + 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 +} |