summaryrefslogtreecommitdiff
path: root/source/n/bluez
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/bluez')
-rwxr-xr-xsource/n/bluez/bluez.SlackBuild11
-rw-r--r--source/n/bluez/bluez.url1
2 files changed, 9 insertions, 3 deletions
diff --git a/source/n/bluez/bluez.SlackBuild b/source/n/bluez/bluez.SlackBuild
index dd99028a..cc55d396 100755
--- a/source/n/bluez/bluez.SlackBuild
+++ b/source/n/bluez/bluez.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=bluez
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
@@ -81,10 +81,10 @@ zcat $CWD/bluez-5.51-obexd_without_systemd-1.patch.gz | patch -p1 --verbose || e
# Fix bluetoothd crashes:
zcat $CWD/refresh_adv_manager_for_non-LE_devices.diff.gz | patch -p1 --verbose || exit 1
-autoreconf -vif
-
sed -i -e 's|-lreadline|\0 -lncursesw|g' Makefile.{in,tools}
+autoreconf -vif
+
# We're adding --enable-deprecated due to this commit:
#
# commit b1eb2c4cd057624312e0412f6c4be000f7fc3617
@@ -129,6 +129,11 @@ chmod 644 $PKG/lib/modprobe.d/btusb.conf
mkdir -p $PKG/usr/sbin
ln -s ../libexec/bluetooth/bluetoothd $PKG/usr/sbin
+# Fix substitution in /usr/share/dbus-1/services/org.bluez.obex.service:
+if [ -x $PKG/usr/libexec/bluetooth/obexd ]; then
+ sed -i "s|@libexecdir@|/usr/libexec|g" $PKG/usr/share/dbus-1/services/org.bluez.obex.service
+fi
+
# Install the configuration files
mkdir -p $PKG/etc/bluetooth $PKG/etc/default
cat src/main.conf > $PKG/etc/bluetooth/main.conf.new
diff --git a/source/n/bluez/bluez.url b/source/n/bluez/bluez.url
new file mode 100644
index 00000000..34d9166e
--- /dev/null
+++ b/source/n/bluez/bluez.url
@@ -0,0 +1 @@
+http://www.kernel.org/pub/linux/bluetooth