Explorar o código

package/mpd: sort plugins by type in Config.in

* sort plugins by type
* fix indentation of config symbols help text

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jörg Krause %!s(int64=10) %!d(string=hai) anos
pai
achega
b79edef28a
Modificáronse 1 ficheiros con 98 adicións e 85 borrados
  1. 98 85
      package/mpd/Config.in

+ 98 - 85
package/mpd/Config.in

@@ -22,20 +22,31 @@ menuconfig BR2_PACKAGE_MPD
 
 
 if BR2_PACKAGE_MPD
 if BR2_PACKAGE_MPD
 
 
-config BR2_PACKAGE_MPD_ALSA
-	bool "alsa"
-	default y
-	select BR2_PACKAGE_ALSA_LIB
-	select BR2_PACKAGE_ALSA_LIB_PCM
-	select BR2_PACKAGE_ALSA_LIB_MIXER
+comment "Archive plugins"
+
+config BR2_PACKAGE_MPD_BZIP2
+	bool "bzip2"
+	select BR2_PACKAGE_BZIP2
 	help
 	help
-	  Enable alsa output support.
+	  Enable bzip2 archive support.
 
 
-config BR2_PACKAGE_MPD_AO
-	bool "ao"
-	select BR2_PACKAGE_LIBAO
+config BR2_PACKAGE_MPD_SQLITE
+	bool "sqlite"
+	select BR2_PACKAGE_SQLITE
 	help
 	help
-	  Enable libao output support.
+	  Enable sqlite database support.
+	  If you don't use sqlite it will use an ASCII database.
+
+comment "Converter plugins"
+
+config BR2_PACKAGE_MPD_LIBSAMPLERATE
+	bool "libsamplerate"
+	select BR2_PACKAGE_LIBSAMPLERATE
+	help
+	  Enable libsamplerate input support.
+	  Select this for software sample rate conversion.
+
+comment "Decoder plugins"
 
 
 config BR2_PACKAGE_MPD_AUDIOFILE
 config BR2_PACKAGE_MPD_AUDIOFILE
 	bool "audiofile"
 	bool "audiofile"
@@ -44,30 +55,6 @@ config BR2_PACKAGE_MPD_AUDIOFILE
 	  Enable audiofile input/streaming support.
 	  Enable audiofile input/streaming support.
 	  Select this if you want to play back WAV files.
 	  Select this if you want to play back WAV files.
 
 
-config BR2_PACKAGE_MPD_PULSEAUDIO
-	bool "pulseaudio"
-	depends on BR2_LARGEFILE # pulseaudio -> libsndfile
-	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
-	select BR2_PACKAGE_PULSEAUDIO
-	help
-	  Enable pulseaudio output support.
-
-comment "pulseaudio support needs a toolchain w/ largefile"
-	depends on BR2_ARCH_HAS_ATOMICS
-	depends on !BR2_LARGEFILE
-
-config BR2_PACKAGE_MPD_BZIP2
-	bool "bzip2"
-	select BR2_PACKAGE_BZIP2
-	help
-	  Enable bzip2 archive support.
-
-config BR2_PACKAGE_MPD_CURL
-	bool "curl"
-	select BR2_PACKAGE_LIBCURL
-	help
-	  Enable curl streaming (http) support.
-
 config BR2_PACKAGE_MPD_FAAD2
 config BR2_PACKAGE_MPD_FAAD2
 	bool "faad2"
 	bool "faad2"
 	select BR2_PACKAGE_FAAD2
 	select BR2_PACKAGE_FAAD2
@@ -75,13 +62,6 @@ config BR2_PACKAGE_MPD_FAAD2
 	  Enable faad2 input support.
 	  Enable faad2 input support.
 	  Select this if you want to play back MP4/AAC files.
 	  Select this if you want to play back MP4/AAC files.
 
 
-config BR2_PACKAGE_MPD_FLAC
-	bool "flac"
-	select BR2_PACKAGE_FLAC
-	help
-	  Enable flac input/streaming support.
-	  Select this if you want to play back FLAC files.
-
 config BR2_PACKAGE_MPD_FFMPEG
 config BR2_PACKAGE_MPD_FFMPEG
 	bool "ffmpeg"
 	bool "ffmpeg"
 	select BR2_PACKAGE_FFMPEG
 	select BR2_PACKAGE_FFMPEG
@@ -94,18 +74,12 @@ config BR2_PACKAGE_MPD_FFMPEG
 comment "ffmpeg support needs a toolchain w/ largefile, IPv6"
 comment "ffmpeg support needs a toolchain w/ largefile, IPv6"
 	depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
 	depends on !(BR2_LARGEFILE && BR2_INET_IPV6)
 
 
-config BR2_PACKAGE_MPD_LAME
-	bool "lame"
-	select BR2_PACKAGE_LAME
-	help
-	  Enable lame (mp3) encoding support.
-
-config BR2_PACKAGE_MPD_LIBSAMPLERATE
-	bool "libsamplerate"
-	select BR2_PACKAGE_LIBSAMPLERATE
+config BR2_PACKAGE_MPD_FLAC
+	bool "flac"
+	select BR2_PACKAGE_FLAC
 	help
 	help
-	  Enable libsamplerate input support.
-	  Select this for software sample rate conversion.
+	  Enable flac input/streaming support.
+	  Select this if you want to play back FLAC files.
 
 
 config BR2_PACKAGE_MPD_LIBSNDFILE
 config BR2_PACKAGE_MPD_LIBSNDFILE
 	bool "libsndfile"
 	bool "libsndfile"
@@ -152,28 +126,6 @@ config BR2_PACKAGE_MPD_OPUS
 	  Enable opus input support.
 	  Enable opus input support.
 	  Select this if you want to play back OPUS encoded files.
 	  Select this if you want to play back OPUS encoded files.
 
 
-config BR2_PACKAGE_MPD_SOUNDCLOUD
-	bool "soundcloud"
-	select BR2_PACKAGE_YAJL
-	help
-	  Enable soundcloud.com playlist support.
-
-config BR2_PACKAGE_MPD_SQLITE
-	bool "sqlite"
-	select BR2_PACKAGE_SQLITE
-	help
-	  Enable sqlite database support.
-	  If you don't use sqlite it will use an ASCII database.
-
-config BR2_PACKAGE_MPD_TCP
-	bool "tcp sockets"
-	default y
-	help
-	  Enable mpd to listen on tcp sockets.
-
-	  You want this on if mpd and the client(s) work
-	  on different machines (the usual scenario).
-
 config BR2_PACKAGE_MPD_TREMOR
 config BR2_PACKAGE_MPD_TREMOR
 	bool "tremor"
 	bool "tremor"
 	select BR2_PACKAGE_LIBOGG
 	select BR2_PACKAGE_LIBOGG
@@ -182,16 +134,6 @@ config BR2_PACKAGE_MPD_TREMOR
 	  Enable vorbis input support.
 	  Enable vorbis input support.
 	  Select this if you want to play back OGG files on softfloat targets.
 	  Select this if you want to play back OGG files on softfloat targets.
 
 
-config BR2_PACKAGE_MPD_TWOLAME
-	bool "twolame"
-	depends on BR2_LARGEFILE # twolame -> libsndfile
-	select BR2_PACKAGE_TWOLAME
-	help
-	  Enable TwoLAME mp2 encoding.
-
-comment "twolame support needs a toolchain w/ largefile"
-	depends on !BR2_LARGEFILE
-
 config BR2_PACKAGE_MPD_VORBIS
 config BR2_PACKAGE_MPD_VORBIS
 	bool "vorbis"
 	bool "vorbis"
 	select BR2_PACKAGE_LIBOGG
 	select BR2_PACKAGE_LIBOGG
@@ -207,6 +149,77 @@ config BR2_PACKAGE_MPD_WAVPACK
 	  Enable wavpack input support.
 	  Enable wavpack input support.
 	  Select this if you want to play back WV files.
 	  Select this if you want to play back WV files.
 
 
+comment "Encoder plugins"
+
+config BR2_PACKAGE_MPD_LAME
+	bool "lame"
+	select BR2_PACKAGE_LAME
+	help
+	  Enable lame (mp3) encoding support.
+
+config BR2_PACKAGE_MPD_TWOLAME
+	bool "twolame"
+	depends on BR2_LARGEFILE # twolame -> libsndfile
+	select BR2_PACKAGE_TWOLAME
+	help
+	  Enable TwoLAME mp2 encoding.
+
+comment "twolame support needs a toolchain w/ largefile"
+	depends on !BR2_LARGEFILE
+
+comment "Input plugins"
+
+config BR2_PACKAGE_MPD_CURL
+	bool "curl"
+	select BR2_PACKAGE_LIBCURL
+	help
+	  Enable curl streaming (http) support.
+
+config BR2_PACKAGE_MPD_SOUNDCLOUD
+	bool "soundcloud"
+	select BR2_PACKAGE_YAJL
+	help
+	  Enable soundcloud.com playlist support.
+
+comment "Output plugins"
+
+config BR2_PACKAGE_MPD_ALSA
+	bool "alsa"
+	default y
+	select BR2_PACKAGE_ALSA_LIB
+	select BR2_PACKAGE_ALSA_LIB_PCM
+	select BR2_PACKAGE_ALSA_LIB_MIXER
+	help
+	  Enable alsa output support.
+
+config BR2_PACKAGE_MPD_AO
+	bool "ao"
+	select BR2_PACKAGE_LIBAO
+	help
+	  Enable libao output support.
+
+config BR2_PACKAGE_MPD_PULSEAUDIO
+	bool "pulseaudio"
+	depends on BR2_LARGEFILE # pulseaudio -> libsndfile
+	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
+	select BR2_PACKAGE_PULSEAUDIO
+	help
+	  Enable pulseaudio output support.
+
+comment "pulseaudio support needs a toolchain w/ largefile"
+	depends on BR2_ARCH_HAS_ATOMICS
+	depends on !BR2_LARGEFILE
+
+comment "Miscellaneous plugins"
+
+config BR2_PACKAGE_MPD_TCP
+	bool "tcp sockets"
+	default y
+	help
+	  Enable mpd to listen on tcp sockets.
+
+	  You want this on if mpd and the client(s) work
+	  on different machines (the usual scenario).
 endif
 endif
 
 
 comment "mpd needs a toolchain w/ C++, threads, wchar"
 comment "mpd needs a toolchain w/ C++, threads, wchar"