diff --git a/hardware/bluetooth/bluez/actions.py b/hardware/bluetooth/bluez/actions.py
index 2ca76f437e..d697c98c05 100644
--- a/hardware/bluetooth/bluez/actions.py
+++ b/hardware/bluetooth/bluez/actions.py
@@ -17,7 +17,6 @@ def setup():
autotools.configure("--localstatedir=/var \
--enable-sixaxis \
--enable-experimental \
- --disable-android \
--enable-cups \
--enable-datafiles \
--enable-optimization \
@@ -27,6 +26,8 @@ def setup():
--enable-tools \
--enable-manpages \
--enable-monitor \
+ --enable-btpclient \
+ --enable-midi \
--enable-udev \
--enable-test \
--enable-testing \
@@ -43,7 +44,9 @@ def build():
autotools.make()
def install():
- autotools.rawInstall("DESTDIR=%s install-pkglibexecPROGRAMS install-dbussessionbusDATA install-dbussystembusDATA install-dbusDATA install-man8" % get.installDIR())
+ autotools.rawInstall("install-libLTLIBRARIES install-binPROGRAMS install-cupsPROGRAMS install-exec install-pkglibexecPROGRAMS install-pkgincludeHEADERS install-pluginLTLIBRARIES install-udevPROGRAMS install-dbussessionbusDATA install-dbussystembusDATA install-dbusDATA install-man8 DESTDIR=%s" % get.installDIR())
+
+ pisitools.dobin("tools/btpclient")
# Install conf files
diff --git a/hardware/bluetooth/bluez/files/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch b/hardware/bluetooth/bluez/files/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch
index dcebaa007b..300e9b7eb3 100644
--- a/hardware/bluetooth/bluez/files/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch
+++ b/hardware/bluetooth/bluez/files/0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch
@@ -23,16 +23,16 @@ index 3760867..142e7c3 100644
systemduserunitdir = $(SYSTEMD_USERUNITDIR)
systemduserunit_DATA = obexd/src/obex.service
+endif
-
+
dbussessionbusdir = $(DBUS_SESSIONBUSDIR)
dbussessionbus_DATA = obexd/src/org.bluez.obex.service
-endif
-
+
-EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service
+EXTRA_DIST += obexd/src/obex.service.in obexd/src/org.bluez.obex.service.in
-
+
obex_plugindir = $(libdir)/obex/plugins
-
+
diff --git a/obexd/src/org.bluez.obex.service b/obexd/src/org.bluez.obex.service
deleted file mode 100644
index a538088..0000000
@@ -53,6 +53,6 @@ index 0000000..9c815f2
+Name=org.bluez.obex
+Exec=@pkglibexecdir@/obexd
+SystemdService=dbus-org.bluez.obex.service
---
+--
1.8.3.1
diff --git a/hardware/bluetooth/bluez/pspec.xml b/hardware/bluetooth/bluez/pspec.xml
index 35a5d8379e..8e1c3b4667 100644
--- a/hardware/bluetooth/bluez/pspec.xml
+++ b/hardware/bluetooth/bluez/pspec.xml
@@ -12,7 +12,7 @@
app:console
Official Linux Bluetooth protocol stack
bluez contains the tools and libraries that provides support for the core Bluetooth layers and protocols.
- https://mirrors.edge.kernel.org/pub/linux/bluetooth/bluez-5.62.tar.xz
+ https://mirrors.edge.kernel.org/pub/linux/bluetooth/bluez-5.65.tar.xz
docutils
alsa-lib-devel
@@ -32,7 +32,7 @@
0001-Allow-using-obexd-without-systemd-in-the-user-session-r2.patch
0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch
- 0002-Use-g_memdup2-everywhere.patch
+
@@ -93,6 +93,13 @@
+
+ 2022-07-26
+ 5.65
+ Version bump.
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2021-11-10
5.62