package/pipewire: add option to build the AAC codec in spa-bluez
commit: https://git.buildroot.net/buildroot/commit/?id=57fdc3cb8eb90970bd488b8c3906750376e46764
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
This allows for more precise control of the AAC codec feature, instead of it being silently enabled if the fdk-aac library happens to be built earlier, or disabled otherwise.
Also remove the -Dbluez5-codec-opus=disabled option in the case where the entire bluez5 integration is disabled. -Dbluez5=disabled implies that all codecs are also disabled.
Signed-off-by George Kiagiadakis <[email protected]>
Signed-off-by Arnout Vandecappelle <[email protected]>
--- package/pipewire/pipewire.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/pipewire/pipewire.mk +7 -1
@@ -120,8 +120,14 @@ PIPEWIRE_DEPENDENCIES += opus else PIPEWIRE_CONF_OPTS += -Dbluez5-codec-opus=disabled endif +ifeq ($(BR2_PACKAGE_FDK_AAC),y) +PIPEWIRE_CONF_OPTS += -Dbluez5-codec-aac=enabled +PIPEWIRE_DEPENDENCIES += fdk-aac else -PIPEWIRE_CONF_OPTS += -Dbluez5=disabled -Dbluez5-codec-opus=disabled +PIPEWIRE_CONF_OPTS += -Dbluez5-codec-aac=disabled +endif +else +PIPEWIRE_CONF_OPTS += -Dbluez5=disabled endif ifeq ($(BR2_PACKAGE_FFMPEG),y)
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot