mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] pipewire: add bluez support
       [not found] <016db821-bc16-4106-ab26-ac766a339fab.e0c24246-04d4-485f-8d5f-1cc8fbefd095.50e4b2f3-bf9f-4320-9d9c-bde1c07a5454@emailsignatures365.codetwo.com>
@ 2024-08-05  9:26 ` Lucas Sinn
  2024-09-12 12:11   ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Sinn @ 2024-08-05  9:26 UTC (permalink / raw)
  To: ptxdist; +Cc: Lucas Sinn

This makes basic bluetooth support selectable in
the menuconfig with the simple SBC and
faststream codec support.

Signed-off-by: Lucas Sinn <lucas.sinn@wolfvision.net>
---
 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: lucas.sinn@wolfvision.net <mailto:lucas.sinn@wolfvision.net>

Website: wolfvision.com <www.wolfvision.com> 
Firmenbuch / Commercial Register: FN283521v Feldkirch/Austria




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] pipewire: add bluez support
  2024-08-05  9:26 ` [ptxdist] [PATCH] pipewire: add bluez support Lucas Sinn
@ 2024-09-12 12:11   ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-09-12 12:11 UTC (permalink / raw)
  To: ptxdist; +Cc: Lucas Sinn

Thanks, applied as 65d948058055c6bbcb552097fb7b735108b4c82a.

Michael

[sent from post-receive hook]

On Thu, 12 Sep 2024 14:11:31 +0200, Lucas Sinn <lucas.sinn@wolfvision.net> wrote:
> This makes basic bluetooth support selectable in
> the menuconfig with the simple SBC and
> faststream codec support.
> 
> Signed-off-by: Lucas Sinn <lucas.sinn@wolfvision.net>
> Message-Id: <20240805092645.2851657-1-lucas.sinn@wolfvision.net>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/pipewire.in b/rules/pipewire.in
> index 9d1b920b429e..12d3687b478c 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 02da82f9733f..4595fee22283 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) \



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-12 12:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <016db821-bc16-4106-ab26-ac766a339fab.e0c24246-04d4-485f-8d5f-1cc8fbefd095.50e4b2f3-bf9f-4320-9d9c-bde1c07a5454@emailsignatures365.codetwo.com>
2024-08-05  9:26 ` [ptxdist] [PATCH] pipewire: add bluez support Lucas Sinn
2024-09-12 12:11   ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox