Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 51344 Details for
Bug 82249
New ivtv-0.2.0_rc3-r6 ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New ebuild
ivtv-0.2.0_rc3-r6.ebuild (text/plain), 3.70 KB, created by
Dan Check
on 2005-02-16 07:01:48 UTC
(
hide
)
Description:
New ebuild
Filename:
MIME Type:
Creator:
Dan Check
Created:
2005-02-16 07:01:48 UTC
Size:
3.70 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/media-tv/ivtv/ivtv-0.2.0_rc3.ebuild,v 1.3 2005/02/03 09:50:16 eradicator Exp $ > ># TODO ># add a few notes to the postinst output about what's needed (bttv/tuner, etc.) > >inherit eutils linux-info > >DESCRIPTION="ivtv driver for Hauppauge PVR[23]50 cards" >HOMEPAGE="http://ivtv.sourceforge.net" >MY_PR="f" > ># stupidly named tarballs >MY_P="${P/_/-}${MY_PR}" >FW_VER="pvr_1.18.21.22168_inf.zip" > >SRC_URI="http://205.209.168.201/~ckennedy/ivtv/${MY_P}.tgz > http://205.209.168.201/~ckennedy/ivtv/ivtv-0.2.0-rc/${MY_P}.tgz > ftp://ftp.shspvr.com/download/wintv-pvr_250-350/inf/${FW_VER}" > >RESTRICT="nomirror" >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="~x86" > >[ "`echo ${KV} | cut -f2 -d.`" == 6 ] && SANDBOX_DISABLED="1" > >IUSE="lirc" > >DEPEND="app-arch/unzip > lirc? ( app-misc/lirc )" > >src_unpack() { > unpack ${MY_P}.tgz > cd ${WORKDIR}/${MY_P}/driver > sed -i -e 's:$(MODDIR):$(DESTDIR)/$(MODDIR):g' \ > -e 's:$(INCLUDEDIR):$(DESTDIR)/$(INCLUDEDIR):g' \ > -e "s:\$(shell uname -r):${KV_FULL}:g" \ > Makefile2.4 || die "sed failed" > sed -i -e "s:\$(shell uname -r):${KV_FULL}:g" \ > Makefile2.6 || die "sed of 2.6 Makefile failed" >} > >src_compile() { > set_arch_to_kernel > > cd ${WORKDIR}/${MY_P}/driver > make || die "build of driver failed" > > cd ${WORKDIR}/${MY_P}/utils > make || die "build of utils failed" >} > >src_install() { > cd ${WORKDIR}/${MY_P}/utils > cp ${DISTDIR}/${FW_VER} . > dodir /lib/modules > touch ${D}/lib/modules/ivtv-fw-{enc,dec}.bin > ./ivtvfwextract.pl ${FW_VER} \ > ${D}/lib/modules/ivtv-fw-enc.bin \ > ${D}/lib/modules/ivtv-fw-dec.bin > > cd ${WORKDIR}/${MY_P} > dodoc README doc/* > > cd ${WORKDIR}/${MY_P}/utils > newbin encoder ivtv-encoder > newbin fwapi ivtv-fwapi > newbin radio ivtv-radio > newbin vbi ivtv-vbi > newbin mpegindex ivtv-mpegindex > dobin ivtvfbctl ivtvplay ivtvctl > newdoc README README.utils > dodoc README.mythtv-ivtv README.radio README.vbi zvbi.diff > dodoc lircd-g.conf lircd.conf lircrc > > # for whatever reason, the Makefile doesn't make the dirs we need > # fixes bug # 68110 > dodir /usr/include/linux > dodir /lib/modules/${KV_FULL}/extra > cd ${WORKDIR}/${MY_P}/driver > make DESTDIR=${D} INSTALL_MOD_PATH=${D} \ > install || die "installation of driver failed" > > set_arch_to_portage > > dodir /etc/modules.d > > echo "alias char-major-81 videodev" >>${D}/etc/modules.d/ivtv > echo "alias char-major-81-0 ivtv" >>${D}/etc/modules.d/ivtv > > if [ `has app-misc/lirc` ] || use lirc ; then > echo "alias char-major-61 lirc_i2c" >> ${D}/etc/modules.d/ivtv > echo "add above ivtv lirc_dev lirc_i2c" >> ${D}/etc/modules.d/ivtv > else > einfo "Not enabling lirc support. emerge lirc to get it." > fi > >} > >pkg_postinst() { > depmod -ae > > einfo "You now have the driver for the Hauppauge PVR-[23]50 cards." > einfo "Add ivtv to /etc/modules.autoload.d/kernel-2.X" > einfo "You'll now need an application to watch tv. " > einfo "To get the ir remote working, you'll need to emerge lirc" > einfo "with the following env variable set:" > einfo "LIRC_OPTS=\"--with-x --with-driver=hauppauge --with-major=61" > einfo " --with-port=none --with-irq=none\"" > einfo "see http://ivtv.sourceforge.net for more info" > echo > einfo "to use vbi, you'll need a few other things, check README.vbi in the docs dir" > echo > einfo "you'll also need to add 'LIRCD_OPTS=\"--device=/dev/lirc/0\"' to /etc/conf.d/lircd" > echo > einfo "The ptune* scripts have moved to media-tv/ivtv-ptune, emerge that to use those scripts" > > if [ -f "/lib/modules/${KV_FULL}/kernel/drivers/media/video/msp3400.ko" ] ; then > ewarn "You have the msp3400 module that comes with the kernel. It isn't compatible" > ewarn "with ivtv. You need to back it up to somewhere else, then run depmod -ae again" > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 82249
: 51344