# $Id: PKGBUILD,v 1.1 2005/01/19 20:42:17 damir Exp $
# Maintainer : damir <damir@archlinux.org>
pkgname=kernel26-bluetooth-alsa
pkgver=cvs.20050125
pkgrel=1
pkgdesc="use a bluetooth headset with Linux (modulename: snd_bt_sco)"
url="http://bluetooth-alsa.sourceforge.net/"
depends=('kernel26' 'bluez-libs' 'libao')
source=()
build() {
cd $startdir/src/
cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/bluetooth-alsa co btsco
# make it work:
sed -i 's@/source@/build@g' $startdir/src/btsco/kernel/Makefile || return 1
cd $startdir/src/btsco
aclocal && autoheader
automake --add-missing --copy --ignore-deps
autoconf
./configure || return 1
make || return 1
make prefix=$startdir/pkg/usr install || return 1
cd kernel
make || return 1
make INSTALL_MOD_PATH=$startdir/pkg install || return 1
}
and it compiles till a step, but then gives me lot's of missing headers of the kernel:
/home/damir/cvsARCH/extra/modules/kernel26-bluetooth-alsa/src/btsco/kernel/btsco.c:40:24: sound/core.h:No such file or directory
/home/damir/cvsARCH/extra/modules/kernel26-bluetooth-alsa/src/btsco/kernel/btsco.c:41:27: sound/control.h: No such file or directory
/home/damir/cvsARCH/extra/modules/kernel26-bluetooth-alsa/src/btsco/kernel/btsco.c:42:23: sound/pcm.h: No such file or directory
/home/damir/cvsARCH/extra/modules/kernel26-bluetooth-alsa/src/btsco/kernel/btsco.c:43:27: sound/rawmidi.h: No such file or directory
/home/damir/cvsARCH/extra/modules/kernel26-bluetooth-alsa/src/btsco/kernel/btsco.c:44:25: sound/hwdep.h: No such file or directory
/home/damir/cvsARCH/extra/modules/kernel26-bluetooth-alsa/src/btsco/kernel/btsco.c:46:27: sound/initval.h: No such file or directory
because it searches in the kernel source for them ... what i don't have on my machine ... but the headers are also available under:
[damir@Asteraceae /]$ locate hwdep.h
/usr/include/alsa/hwdep.h
/usr/include/sound/hwdep.h
[damir@Asteraceae /]$ pacman -Qo /usr/include/sound/hwdep.h
/usr/include/sound/hwdep.h is owned by alsa-driver 1.0.8-2
[damir@Asteraceae /]$ pacman -Qo /usr/include/alsa/hwdep.h
/usr/include/alsa/hwdep.h is owned by alsa-lib 1.0.8-1
so i'm looking for an easy way to make it work with alsa pkgs instead of having to download the whole kernel sources for only this module
]]>i mean this:
http://bluetooth-alsa.sourceforge.net/
some colleagues of mine made me install "skype" to be able to phone with them over the internet ... but as my laptop has no microphone i want to use my headset of the mobile phone (bluetooth) for this
anyone with experience?
]]>