aboutsummaryrefslogtreecommitdiff
path: root/package/kodi
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2015-07-22 22:30:28 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-30 09:29:23 +0200
commit81c438aa207e8fdea776ae946a4d2d3f57cc143f (patch)
tree9a1ea736cde193a7f64e037d41bbe1a263036ee1 /package/kodi
parent0818a6551fbd4f04478e443ec85d57ac70150f0b (diff)
downloadbuildroot-81c438aa207e8fdea776ae946a4d2d3f57cc143f.tar.gz
buildroot-81c438aa207e8fdea776ae946a4d2d3f57cc143f.tar.bz2
package/kodi: Rework audio encoder support
Make option BR2_PACKAGE_KODI_OPTICALDRIVE invisible, it is only needed when an audio encoder addon is enabled. Add Kconfig submenu for audio encoders to prepare for addition of more binary addons. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/kodi')
-rw-r--r--package/kodi/Config.in20
1 files changed, 7 insertions, 13 deletions
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 8dd37942db..6ec2463584 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -245,20 +245,14 @@ config BR2_PACKAGE_KODI_WAVPACK
Select this if you want to play back WV files.
config BR2_PACKAGE_KODI_OPTICALDRIVE
- bool "optical drive"
- help
- Enable support for optical drives
-
-if BR2_PACKAGE_KODI_OPTICALDRIVE
-
-comment "Kodi audioencoder addons"
-
-source "package/kodi-audioencoder-flac/Config.in"
-source "package/kodi-audioencoder-lame/Config.in"
-source "package/kodi-audioencoder-vorbis/Config.in"
-source "package/kodi-audioencoder-wav/Config.in"
+ bool
-endif # BR2_PACKAGE_KODI_OPTICALDRIVE
+menu "Audio encoder addons"
+ source "package/kodi-audioencoder-flac/Config.in"
+ source "package/kodi-audioencoder-lame/Config.in"
+ source "package/kodi-audioencoder-vorbis/Config.in"
+ source "package/kodi-audioencoder-wav/Config.in"
+endmenu
comment "Kodi PVR addons"