package/kodi: add optional support for pulseaudio
PATCH v8 1/1 package/kodi: add optional support for pulseaudio
Signed-off-by Bernd Kuhls <[email protected]>
---
v8: exteneded comment about libglib2 dependency and its role in Kodi
(Thomas)
package/kodi/Config.in | 11 +++++++++++ package/kodi/kodi.mk | 7 +++++++ 2 files changed, 18 insertions(+)
package/kodi/Config.in +11 -0
@@ -192,6 +192,17 @@ config BR2_PACKAGE_KODI_NONFREE Enable components with non-free licenses. This option currently only controls support for RAR archives. +config BR2_PACKAGE_KODI_PULSEAUDIO + bool "pulseaudio" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c + # Pulseaudio support in kodi needs glib support in Pulseaudio, + # see FindPulseAudio.cmake. Kodi meets all dependencies of + # libglib2, so there is no need to propagate them here. + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PULSEAUDIO + help + Enable Pulseaudio support. + config BR2_PACKAGE_KODI_LIBSHAIRPLAY bool "shairport" select BR2_PACKAGE_LIBSHAIRPLAY
package/kodi/kodi.mk +7 -0
@@ -333,6 +333,13 @@ else KODI_CONF_OPTS += -DENABLE_OPTICAL=OFF endif +ifeq ($(BR2_PACKAGE_KODI_PULSEAUDIO),y) +KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=ON +KODI_DEPENDENCIES += pulseaudio +else +KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=OFF +endif + # Remove versioncheck addon, updating Kodi is done by building a new # buildroot image. KODI_ADDON_MANIFEST = $(TARGET_DIR)/usr/share/kodi/system/addon-manifest.xml
Signature · 1 line
2.11.0
Thomas Petazzoni
AppliedPATCH v8 1/1 package/kodi: add optional support for pulseaudio
Hello,
Quoted 4 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>---
v8: exteneded comment about libglib2 dependency and its role in Kodi
(Thomas)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com