summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorMichael Hanson <mihanson@linhes.org>2012-02-27 23:59:57 (GMT)
committerMichael Hanson <mihanson@linhes.org>2012-02-27 23:59:57 (GMT)
commit2e82baa5499ed42bc31c00909a9866d59854de09 (patch)
treef08a4d1f8ac917b5049ffbd9468064bbba4e93de /abs
parent1d4780e207e2271278a6ba3d48185c80c91bed66 (diff)
downloadlinhes_pkgbuild-2e82baa5499ed42bc31c00909a9866d59854de09.zip
linhes_pkgbuild-2e82baa5499ed42bc31c00909a9866d59854de09.tar.gz
linhes_pkgbuild-2e82baa5499ed42bc31c00909a9866d59854de09.tar.bz2
bluez: attempt to fix audio streaming
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/bluez/PKGBUILD10
-rw-r--r--abs/extra/bluez/bluez-4.98_audio-streaming.patch14
2 files changed, 22 insertions, 2 deletions
diff --git a/abs/extra/bluez/PKGBUILD b/abs/extra/bluez/PKGBUILD
index 3428ead..4090fdc 100644
--- a/abs/extra/bluez/PKGBUILD
+++ b/abs/extra/bluez/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
pkgname=bluez
pkgver=4.98
-pkgrel=1
+pkgrel=2
pkgdesc="Libraries and tools for the Bluetooth protocol stack"
url="http://www.bluez.org/"
arch=('i686' 'x86_64')
@@ -23,10 +23,15 @@ backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
install='bluez.install'
source=("http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2"
- bluetooth.conf.d)
+ 'bluez-4.98_audio-streaming.patch'
+ 'bluetooth.conf.d')
build() {
cd "$srcdir/$pkgname-$pkgver"
+
+ # Add directive that allows audio streaming
+ patch -Np1 -i ${srcdir}/bluez-4.98_audio-streaming.patch || return 1
+
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -64,4 +69,5 @@ package() {
${pkgdir}/usr/bin/bluez-simple-agent
}
md5sums=('4aca8a0929250212e9a75fb60dd75b05'
+ 'da4ec22ee1a5c3e84d5d934440167526'
'd12be5b494525bb1ba6eac5c3983dd3e')
diff --git a/abs/extra/bluez/bluez-4.98_audio-streaming.patch b/abs/extra/bluez/bluez-4.98_audio-streaming.patch
new file mode 100644
index 0000000..085d8ca
--- /dev/null
+++ b/abs/extra/bluez/bluez-4.98_audio-streaming.patch
@@ -0,0 +1,14 @@
+--- bluez-4.98/audio/audio.conf.orig 2012-02-27 23:52:30.960349047 +0000
++++ bluez-4.98/audio/audio.conf 2012-02-27 23:54:19.768069787 +0000
+@@ -4,6 +4,11 @@
+ # particular interface
+ [General]
+
++# Allow audio streaming with bluez-4.98 and alsa-lib 1.0.24.1
++# https://wiki.archlinux.org/index.php/Bluetooth#Audio_streaming
++
++Enable=Socket
++
+ # Switch to master role for incoming connections (defaults to true)
+ #Master=true
+