summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-02-28 00:40:20 (GMT)
committerCecil <knoppmyth@gmail.com>2012-02-28 00:40:20 (GMT)
commitf5acdc079164abbdcecb95f36eeebd375eb47f8b (patch)
tree2df32431ac09d7d2740f974ac7f5d2e113218f35 /abs/extra
parent080719adc31ac11a362f14b26b1c3e55d4a32469 (diff)
parent2e82baa5499ed42bc31c00909a9866d59854de09 (diff)
downloadlinhes_pkgbuild-f5acdc079164abbdcecb95f36eeebd375eb47f8b.zip
linhes_pkgbuild-f5acdc079164abbdcecb95f36eeebd375eb47f8b.tar.gz
linhes_pkgbuild-f5acdc079164abbdcecb95f36eeebd375eb47f8b.tar.bz2
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/extra')
-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
+