Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 268175 Details for
Bug 344877
x11-libs/libcrystalhd ebuild for library and kernel module
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
x11-libs/crystalhd-appletv-156.ebuild
crystalhd-appletv-156.ebuild (text/plain), 2.41 KB, created by
Tom Flair
on 2011-04-02 02:39:16 UTC
(
hide
)
Description:
x11-libs/crystalhd-appletv-156.ebuild
Filename:
MIME Type:
Creator:
Tom Flair
Created:
2011-04-02 02:39:16 UTC
Size:
2.41 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 > >ESVN_REVISION="156" >ESVN_REPO_URI="http://crystalhd-for-osx.googlecode.com/svn/trunk/" >inherit autotools eutils flag-o-matic linux-mod subversion > >DESCRIPTION="Kernel module supporting the Broadcom Crystal HD" >HOMEPAGE="http://www.broadcom.com/support/crystal_hd/" >#SRC_URI="http://www.broadcom.com/docs/support/crystalhd/crystalhd_linux_${PV}.zip" >#SRC_URI="mirror://gentoo/${P}.xz" > >RELEASE_URI="" > >SRC_URI="${RELEASE_URI}" >LICENSE="LGPL-2.1" >SLOT="0" > >KEYWORDS="~amd64 ~x86" > >IUSE="examples modules" >DEPEND="modules? ( virtual/linux-sources )" >S="${WORKDIR}" > >module_check() { > if use modules; then > if linux_chkconfig_present CRYSTALHD; then > linux_chkconfig_present CRYSTALHD > eerror "You have opted to build the external kernel module." > eerror "Please disable CrystalHD support in your kernel config, found at:" > eerror > eerror " Device Drivers" > eerror " [*] Staging drivers" > eerror " [*] Exclude Staging drivers from being built" > eerror " [ ] Broadcom Crystal HD video decoder support" > eerror > eerror "and recompile your kernel ..." > die "In-kernel CrystalHD support detected!" > fi > fi >} > >pkg_setup() { > if use modules; then > linux-mod_pkg_setup || die "Failed to configure kernel module" > BUILD_TARGETS="all" > MODULE_NAMES="crystalhd(staging:${S}/crystalhd/driver/linux/)" > BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" > ECONF_PARAMS=--with-kernel-path=${KV_DIR} > module_check > fi >} > >src_unpack() { > subversion_src_unpack > > if use modules; then > if kernel_is -ge 2 6 35; then > epatch "${FILESDIR}"/crystalhd-appletv-ioctl.patch || die "Patch failed" > fi > cd ${S}/crystalhd/driver/linux > eautoconf > fi >} > >src_compile() { > cd ${S}/crystalhd/linux_lib/libcrystalhd > emake || die "Failed to compile library" > if use modules; then > linux-mod_src_compile || die "Failed to compile kernel module" > fi >} > >src_install() { > if use modules; then > linux-mod_src_install > insinto /etc/udev/rules.d/ > doins ${S}/crystalhd/driver/linux/20-crystalhd.rules || die > fi > cd ${S}/crystalhd/linux_lib/libcrystalhd > emake DESTDIR=${D} install || die "Failed to install library" > > if use examples; then > insinto /usr/share/${PN} > doins -r ${S}/crystalhd/examples > fi >} > >pkg_postinst() { > if use modules; then > cd ${S}/crystalhd/driver/linux > linux-mod_pkg_postinst > 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 344877
:
253835
|
256936
|
263595
|
263597
|
263645
|
263719
| 268175 |
268177
|
268179
|
268239