From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 12 Sep 2024 14:11:58 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1soig2-003mgp-1c for lore@lore.pengutronix.de; Thu, 12 Sep 2024 14:11:58 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1soig1-00020U-Ma; Thu, 12 Sep 2024 14:11:57 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1soifc-0001J0-K9; Thu, 12 Sep 2024 14:11:32 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1soifc-007NPy-3Y; Thu, 12 Sep 2024 14:11:32 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1soifc-00BGXL-0D; Thu, 12 Sep 2024 14:11:32 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 12 Sep 2024 14:11:32 +0200 Message-Id: <20240912121132.2685168-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240805092645.2851657-1-lucas.sinn@wolfvision.net> References: <20240805092645.2851657-1-lucas.sinn@wolfvision.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] pipewire: add bluez support X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Lucas Sinn Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 65d948058055c6bbcb552097fb7b735108b4c82a. Michael [sent from post-receive hook] On Thu, 12 Sep 2024 14:11:31 +0200, Lucas Sinn wrote: > This makes basic bluetooth support selectable in > the menuconfig with the simple SBC and > faststream codec support. > > Signed-off-by: Lucas Sinn > Message-Id: <20240805092645.2851657-1-lucas.sinn@wolfvision.net> > Signed-off-by: Michael Olbrich > > 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) \