summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/bluez/PKGBUILD45
-rw-r--r--abs/extra/bluez/__changelog11
2 files changed, 35 insertions, 21 deletions
diff --git a/abs/extra/bluez/PKGBUILD b/abs/extra/bluez/PKGBUILD
index f8dfbe5..9fff334 100644
--- a/abs/extra/bluez/PKGBUILD
+++ b/abs/extra/bluez/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Geoffroy Carrier <geoffroy@archlinux.org>
pkgname=bluez
-pkgver=4.69
+pkgver=4.81
pkgrel=1
pkgdesc="Libraries and tools for the Bluetooth protocol stack"
url="http://www.bluez.org/"
@@ -22,26 +22,25 @@ source=("http://www.kernel.org/pub/linux/bluetooth/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --libexecdir=/lib \
- --mandir=/usr/share/man \
- --enable-gstreamer \
- --enable-alsa \
- --enable-usb \
- --enable-netlink \
- --enable-tools \
- --enable-bccmd \
- --enable-hid2hci \
- --enable-dfutool \
- --enable-hidd \
- --enable-pand \
- --enable-dund \
- --enable-cups \
- --enable-manpages \
- --enable-configfiles \
- --enable-pcmciarules || return 1
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --libexecdir=/lib \
+ --enable-gstreamer \
+ --enable-alsa \
+ --enable-usb \
+ --enable-tools \
+ --enable-bccmd \
+ --enable-dfutool \
+ --enable-hidd \
+ --enable-pand \
+ --enable-dund \
+ --disable-cups \
+ --enable-udevrules \
+ --enable-configfiles || return 1
make || return 1
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install || return 1
install -D -m644 "$srcdir/$pkgname-$pkgver/network/network.conf" "$pkgdir/etc/bluetooth/" || return 1
@@ -53,8 +52,12 @@ build() {
install -D -m755 "$srcdir/run.dund" "$pkgdir/etc/sv/dund/run" || return 1
install -D -m755 "$srcdir/run.pand" "$pkgdir/etc/sv/pand/run" || return 1
install -D -m755 "$srcdir/run.rfcomm" "$pkgdir/etc/sv/rfcomm/run" || return 1
+
+ sed -i 's#/usr/bin/python#/usr/bin/python2#' test/simple-agent
+ install -Dm755 test/simple-agent ${pkgdir}/usr/bin/bluez-simple-agent
}
-md5sums=('350568aa11a95eac6e56e9289ff1f91d'
+
+md5sums=('75fbc768bf626fc8f4cf466006767723'
'd12be5b494525bb1ba6eac5c3983dd3e'
'1c88fcd455920ad8ee0c7cae3fe15771'
'a9c1b4da8b5a3969865272bd0fb01da2'
diff --git a/abs/extra/bluez/__changelog b/abs/extra/bluez/__changelog
new file mode 100644
index 0000000..124d0eb
--- /dev/null
+++ b/abs/extra/bluez/__changelog
@@ -0,0 +1,11 @@
+# by mihanson
+I really have no idea how this bluetooth stuff works. If anyone wants to
+take a stab at getting this working properly with runit, feel free. I
+only need this package to get mythpywii working.
+
+2010-04-01:
+Make this package work with runit. All daemons were seperated into their
+own run scripts. Of particular interest is rfcomm and hid2hci utilities.
+They are not daemons and I added "/sbin/sv <executable> down ." in their
+respective run files. All based on this thread:
+http://article.gmane.org/gmane.comp.sysutils.supervision.general/1585/