Thanks, applied as 65d948058055c6bbcb552097fb7b735108b4c82a.

Michael

[sent from post-receive hook]

On Thu, 12 Sep 2024 14:11:31 +0200, Lucas Sinn <[email protected]> 
wrote:
> This makes basic bluetooth support selectable in
> the menuconfig with the simple SBC and
> faststream codec support.
> 
> Signed-off-by: Lucas Sinn <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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) \

Reply via email to