summaryrefslogtreecommitdiff
path: root/extra/bluez/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/bluez/PKGBUILD')
-rw-r--r--extra/bluez/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/extra/bluez/PKGBUILD b/extra/bluez/PKGBUILD
index 8c75eecd0..9e021a53f 100644
--- a/extra/bluez/PKGBUILD
+++ b/extra/bluez/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 155739 2012-04-06 00:05:49Z tomegun $
+# $Id: PKGBUILD 160353 2012-06-01 12:58:12Z dreisner $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy@archlinux.org>
pkgname=bluez
pkgver=4.99
-pkgrel=2
+pkgrel=6
pkgdesc="Libraries and tools for the Bluetooth protocol stack"
url="http://www.bluez.org/"
arch=('i686' 'x86_64' 'mips64el')
@@ -25,6 +25,7 @@ options=('!libtool')
backup=(etc/bluetooth/{main,rfcomm,audio,network,input,serial}.conf
'etc/conf.d/bluetooth' 'etc/dbus-1/system.d/bluetooth.conf')
source=("http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2"
+ '0001-udev-remove-deprecated-function.patch'
'bluetooth.conf.d'
'rc.bluetooth')
@@ -47,7 +48,11 @@ build() {
--enable-dund \
--enable-cups \
--enable-wiimote \
- --disable-test
+ --disable-test \
+ --with-systemdunitdir=/usr/lib/systemd/system
+
+ patch -p1 -i ../0001-udev-remove-deprecated-function.patch
+
make
}
@@ -76,9 +81,10 @@ package() {
"${pkgdir}"/usr/bin/bluez-test-device \
"${pkgdir}"/usr/bin/bluez-test-input
- # http://mailman.archlinux.org/pipermail/arch-general/2011-April/019787.html
+ # fixed upstream in git
rm "${pkgdir}"/usr/lib/udev/rules.d/97-bluetooth.rules
}
md5sums=('2387053eb5a7b02f37df4871df022a02'
+ '3175155fbaf73f01377f6c35b5c5e468'
'7412982b440f29fa7f76a41a87fef985'
'8f9498707f809506928b2e480d3b6789')