Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65553 Details for
Bug 78570
app-misc/pvrusb2 ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pvrusb2-20050804.ebuild
pvrusb2-20050804.ebuild (text/plain), 2.42 KB, created by
Roger
on 2005-08-09 13:35:25 UTC
(
hide
)
Description:
pvrusb2-20050804.ebuild
Filename:
MIME Type:
Creator:
Roger
Created:
2005-08-09 13:35:25 UTC
Size:
2.42 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >IUSE="" > >inherit linux-mod eutils > >DESCRIPTION="A linux (2.6-) kernel driver for Hauppauge's WinTV-PVR-usb2" >HOMEPAGE="http://www.isely.net/pvrusb2.html" >SRC_URI="http://www.isely.net/downloads/pvrusb2-mci-20050804.tar.bz2 >http://www.eskimo.com/~roger/files/packages/pvrusb2/pvrusb2.f1.bz2 >http://www.eskimo.com/~roger/files/packages/pvrusb2/pvrusb2.f2.bz2" ># Check for the above firmwares. ># If not found, instruct installer to get them by using fwextract.pl ># and copying them into /usr/portage/disfiles ># NOTE: The two firmware* files are stripped from a proprietory win32 driver! > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86" >RDEPEND=">=sys-apps/hotplug-20040923" >DEPEND="" >S=${WORKDIR}/pvrusb2-mci-20050804 > ># Need something to check for non-existing tuner.ko & tveeprom.ko modules if so, ># then install all the modules. Maintainer of pvrusb2 prefers users using kernel ># maintained tuner & tveeprom code! ># ie. src_install ># CONFIG_CHECK="bttv848" then install only pvrusb2.ko > >MODULE_NAMES="msp3400(msp3400:) pvrusb2(pvrusb2:) saa7115(saa7115:) tuner(tuner:) tveeprom(tveeprom:)" >BUILD_PARAMS="KERNEL_DIR=${KV_DIR}" > > >pkg_setup() { > if kernel_is 2 6; then > # You can try uncommenting "!VIDEO_BT848" but it's modules > # are not working with pvrusb2 & me. > # I'm marking it as a conflict as pvrusb2 provides tveeprom & tuner modules. > CONFIG_CHECK="USB !VIDEO_BT848" > else > "You need kernel-2.6 for this module to work" > fi > linux-mod_pkg_setup >} > > >src_unpack() { > unpack ${A} > > # If you use Mythtv, enabling interlacing will significantly > # reduce cpu usage. > #cd ${S}/driver > #epatch ${FILESDIR}/interlace_enable.patch > > cd ${S} >} > > >src_compile() { > unset ARCH > cd ${S}/driver > emake || die "Error: emake failed!" >} > > >src_install() { > # Make install doesn't work > # Let's do the module install manually. > cd ${S}/driver > > insinto "/lib/modules/${KV_FULL}/pvrusb2" > doins msp3400.ko > doins pvrusb2.ko > doins saa7115.ko > doins tuner.ko > doins tveeprom.ko > > insinto "/lib/firmware/" > doins ${WORKDIR}/pvrusb2.f1 > doins ${WORKDIR}/pvrusb2.f2 > > #echo "post-install pvrusb2 /sbin/modprobe pvrusb2 >& /dev/null 2>&1 || :" >} > > >pkg_postinst() { > linux-mod_pkg_postinst > > einfo "1) Ignore the above commands and only add 'pvrusb2' to /etc/modules.autoload.d/kernel-2.X." > echo > einfo "2) Add hotplug pacakge to the boot runlevel for added automation." > echo >} >
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 78570
:
48875
|
49007
|
49076
|
52762
|
63855
|
63898
|
63936
|
65027
|
65028
|
65335
|
65546
|
65549
| 65553 |
65577
|
74854
|
74855
|
76297
|
76299
|
81957
|
81958
|
81959
|
81960
|
85075
|
85076
|
85077
|
85079
|
85080
|
85082
|
90074
|
90075
|
91183
|
91184
|
95895
|
98689