[arch-commits] Commit in bluez/trunk (PKGBUILD bluetooth.modprobe)

Andreas Radke andyrtr at nymeria.archlinux.org
Wed Nov 6 19:33:13 UTC 2013


    Date: Wednesday, November 6, 2013 @ 20:33:13
  Author: andyrtr
Revision: 199028

upgpkg: bluez 5.10-3

add api documentation; add a fix for btusb module loading that should solve some issues with broken devices

Added:
  bluez/trunk/bluetooth.modprobe
Modified:
  bluez/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   17 +++++++++++++----
 bluetooth.modprobe |    3 +++
 2 files changed, 16 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-06 18:12:56 UTC (rev 199027)
+++ PKGBUILD	2013-11-06 19:33:13 UTC (rev 199028)
@@ -6,13 +6,15 @@
 pkgbase=bluez
 pkgname=('bluez' 'bluez-utils' 'bluez-libs' 'bluez-cups' 'bluez-hid2hci')
 pkgver=5.10
-pkgrel=2
+pkgrel=3
 url="http://www.bluez.org/"
 arch=('i686' 'x86_64')
 license=('GPL2')
 makedepends=('dbus' 'libical' 'systemd')
-source=("http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('7dce03b332b3a3e7465fb88352b8a404')
+source=("http://www.kernel.org/pub/linux/bluetooth/${pkgname}-${pkgver}.tar.bz2"
+        bluetooth.modprobe)
+md5sums=('7dce03b332b3a3e7465fb88352b8a404'
+         '671c15e99d7154c2df987b71c5851b3d')
 
 build() {
   cd ${pkgname}-${pkgver}
@@ -26,7 +28,7 @@
           --enable-library # this is deprecated
 #          --enable-experimental \
 
-  make
+  make all V=1
 }
 
 check() {
@@ -50,6 +52,13 @@
        install-dbussystembusDATA \
        install-dbusDATA \
        install-man8
+
+  # add basic documention
+  install -dm755 ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis
+  cp -a doc/*.txt ${pkgdir}/usr/share/doc/${pkgbase}/dbus-apis/
+  # fix module loading errors
+  install -dm755 ${pkgdir}/usr/lib/modprobe.d
+  install -Dm644 ${srcdir}/bluetooth.modprobe ${pkgdir}/usr/lib/modprobe.d/bluetooth-usb.conf	
 }
 
 package_bluez-utils() {

Added: bluetooth.modprobe
===================================================================
--- bluetooth.modprobe	                        (rev 0)
+++ bluetooth.modprobe	2013-11-06 19:33:13 UTC (rev 199028)
@@ -0,0 +1,3 @@
+# use "reset=1" as default, since it should be safe for recent devices and
+# solves all kind of problems.
+options btusb reset=1




More information about the arch-commits mailing list