summaryrefslogtreecommitdiff
path: root/source/n/bluez
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-10-31 21:31:50 +0000
committerEric Hameleers <alien@slackware.com>2019-11-01 08:59:50 +0100
commit8160de57c47ccc90ccb514a65cc14fde84939c8f (patch)
treed1e786a133f18cc17908171b1d478b72067a22fb /source/n/bluez
parenta5910a0273598f41f4b9b00fcac6c215cf2b98d9 (diff)
downloadcurrent-8160de57c47ccc90ccb514a65cc14fde84939c8f.tar.gz
Thu Oct 31 21:31:50 UTC 201920191031213150
a/kernel-firmware-20191030_9e194c7-noarch-1.txz: Upgraded. d/cmake-3.15.5-x86_64-1.txz: Upgraded. l/imagemagick-6.9.10_71-x86_64-1.txz: Upgraded. l/libxml2-2.9.10-x86_64-1.txz: Upgraded. l/libxslt-1.1.34-x86_64-1.txz: Upgraded. n/bluez-5.52-x86_64-1.txz: Upgraded. xap/mozilla-thunderbird-68.2.1-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/thunderbird/68.2.1/releasenotes/ Added option: --disable-updater
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