Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 58130 Details for
Bug 91558
new ebuilds:bluetooth-alsa-1.6-r2.ebuild btsco-0.4a.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bluetooth-alsa-1.6-r2.ebuild
bluetooth-alsa-1.6-r2.ebuild (text/plain), 2.70 KB, created by
Ruben Jenster
on 2005-05-05 04:50:25 UTC
(
hide
)
Description:
bluetooth-alsa-1.6-r2.ebuild
Filename:
MIME Type:
Creator:
Ruben Jenster
Created:
2005-05-05 04:50:25 UTC
Size:
2.70 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils linux-mod > >IUSE="" >DESCRIPTION="ALSA bluetooth headset driver [snd-bt-sco.ko]." >HOMEPAGE="http://bluetooth-alsa.sourceforge.net" >SRC_URI="mirror://gentoo/${P}.tar.bz2" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >DEPEND="virtual/alsa > virtual/linux-sources" > >general_info(){ > echo > ewarn "The kernel source needs to be configured and installed with BT_SCO and SND_HWDEP enabled." > echo > einfo "BT_SCO can be found under:" > einfo "Device drivers -> Net. support -> Bluetooth subs. support -> SCO links support" > echo > einfo "If you have a usb bluetooth dongle you must also enable BT_HCIUSB_SCO:" > einfo "Device drivers -> Net. support -> Bluetooth subs. support -> HCI USB driver -> SCO support" > echo > einfo "SND_HWDEP depends on special ALSA sound drivers" > einfo "You can either choose the Tascam usb sound driver 'SND_USB_USX2Y'" > einfo "or the soundblaster live driver 'SND_EMU10K1'." > echo > [ $DIE = true ] && die > exit 1 >} > >choose_kernel(){ > echo > echo "Proceed with enter to compile against running kernel." > echo -n "You may also enter a different kernel version or type 'info' to get general information: " > read KVERSION > echo > > DIE="false" > > if [ -z $KVERSION ]; then > if kernel_is 2 4; then > eerror "You need a 2.6.x series kernel" && DIE="true" > else > MODDIR="/lib/modules/$(uname -r)" > fi > else > if [ $KVERSION = info ]; then > general_info > elif echo $KVERSION | grep ^2.6.* >/dev/null; then > MODDIR="/lib/modules/${KVERSION}" > elif echo $KVERSION | grep ^2.4.* >/dev/null; then > eerror "You need a 2.6.x series kernel" && DIE="true" > else > eerror "$KVERSION is not a valid kernel version." && DIE="true" > fi > fi > > [ $DIE = true ] && general_info > DIE="false" > > KSYMDIR="${MODDIR}/source" > NEEDED_OPTIONS="BT_SCO SND_HWDEP" > > if [ ! -e ${MODDIR}/source/.config ]; then > eerror "Either ${MODDIR} does not exist" > eerror "or the symlink ${KSYMDIR} does not point to the kernel source" > eerror "or the kernel souce is not properly configured" > einfo "Check this and if needed recompile your kernel with $NEEDED_OPTIONS enabled" > DIE="true" > fi > > [ $DIE = true ] && general_info > DIE="false" > > for OPTION in $NEEDED_OPTIONS > do > if ! cat ${KSYMDIR}/.config | grep $OPTION | egrep -v ^# >/dev/null; then > eerror "CONFIG_${OPTION} is not enabled." && DIE="true" > fi > done > > [ $DIE = true ] && general_info >} > >pkg_setup() { > choose_kernel >} > >src_compile() { > set_arch_to_kernel > make -C ${KSYMDIR} M=$(pwd) modules >} > >src_install() { > insinto ${MODDIR}/extra > doins snd-bt-sco.ko >} > >pkg_postinst() { > echo > einfo "Running modules-update" > /usr/sbin/update-modules >}
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 91558
:
58130
|
58131
|
58132
|
58133
|
74911
|
74912
|
75892
|
75989
|
76076
|
76128
|
76129
|
76130
|
76131
|
77427
|
77428
|
79189
|
79190
|
79835
|
79836
|
80065
|
80066
|
80337
|
80338
|
86024
|
92013
|
105443
|
105450
|
105556
|
105793
|
105795
|
109657
|
112916
|
112918
|
112919
|
115957
|
116063
|
117200
|
124658
|
124659
|
124661
|
124667
|
124926
|
126016
|
145630
|
183254