This makes basic bluetooth support selectable in the menuconfig with the simple SBC and faststream codec support.
Signed-off-by: Lucas Sinn <[email protected]> --- rules/pipewire.in | 6 ++++++ rules/pipewire.make | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/rules/pipewire.in b/rules/pipewire.in index 9d1b920b4..12d3687b4 100644 --- a/rules/pipewire.in +++ b/rules/pipewire.in @@ -18,6 +18,8 @@ menuconfig PIPEWIRE select NCURSES_WIDE_CHAR if PIPEWIRE_PW_TOP select OPENSSL if PIPEWIRE_RAOP select SYSTEMD if PIPEWIRE_SYSTEMD + select BLUEZ if PIPEWIRE_BLUETOOTH + select SBC if PIPEWIRE_BLUETOOTH select UDEV select UDEV_LIBUDEV prompt "pipewire " @@ -31,6 +33,10 @@ menuconfig PIPEWIRE if PIPEWIRE +config PIPEWIRE_BLUETOOTH + bool + prompt "enable bluetooth options" + config PIPEWIRE_GSTREAMER bool prompt "build and install gstreamer plugins" diff --git a/rules/pipewire.make b/rules/pipewire.make index 02da82f97..4595fee22 100644 --- a/rules/pipewire.make +++ b/rules/pipewire.make @@ -42,7 +42,7 @@ PIPEWIRE_CONF_OPT := \ -Daudiotestsrc=enabled \ -Davahi=disabled \ -Davb=disabled \ - -Dbluez5=disabled \ + -Dbluez5=$(call ptx/endis,PTXCONF_PIPEWIRE_BLUETOOTH)d \ -Dbluez5-backend-hfp-native=disabled \ -Dbluez5-backend-hsp-native=disabled \ -Dbluez5-backend-hsphfpd=disabled \ @@ -173,6 +173,9 @@ PIPEWIRE_SPA_MODULES := \ audiomixer/libspa-audiomixer \ audiotestsrc/libspa-audiotestsrc \ control/libspa-control \ + $(call ptx/ifdef,PTXCONF_PIPEWIRE_BLUETOOTH,bluez5/libspa-bluez5) \ + $(call ptx/ifdef,PTXCONF_PIPEWIRE_BLUETOOTH,bluez5/libspa-codec-bluez5-faststream) \ + $(call ptx/ifdef,PTXCONF_PIPEWIRE_BLUETOOTH,bluez5/libspa-codec-bluez5-sbc) \ $(call ptx/ifdef,PTXCONF_PIPEWIRE_LIBCAMERA,libcamera/libspa-libcamera) \ support/libspa-dbus \ $(call ptx/ifdef,PTXCONF_PIPEWIRE_SYSTEMD,support/libspa-journal) \ -- 2.37.2 Lucas Sinn R&D Engineer Wolfvision GmbH Oberes Ried 14 | 6833 Klaus | Austria Tel: +43 5523 52250 <tel:+43552352250> | Mail: [email protected] <mailto:[email protected]> Website: wolfvision.com <www.wolfvision.com> Firmenbuch / Commercial Register: FN283521v Feldkirch/Austria
