diff options
Diffstat (limited to 'package/mpd')
-rw-r--r-- | package/mpd/Config.in | 138 | ||||
-rw-r--r-- | package/mpd/Makefile | 31 |
2 files changed, 31 insertions, 138 deletions
diff --git a/package/mpd/Config.in b/package/mpd/Config.in deleted file mode 100644 index aaf317a91..000000000 --- a/package/mpd/Config.in +++ /dev/null @@ -1,138 +0,0 @@ -menu "mpd............................... Music Player Daemon" - -config ADK_PACKAGE_MPD - prompt "mpd............................... Music Player Daemon" - tristate - default n - select ADK_PACKAGE_GLIB - help - MPD is a music player supporting flac, mp3 and ogg files. - It is typically controlled over a network using one of it's many - clients including mpc(console), gmpc(gnome), phpmp(php) etc. - http://www.musicpd.org/ - -config ADK_COMPILE_MPD_WITH_ALSA - prompt "ALSA playback support" - bool - default y - depends on ADK_PACKAGE_MPD - select ADK_PACKAGE_ALSA_LIB - help - Enable ALSA playback support. - -config ADK_COMPILE_MPD_WITH_SHOUT - prompt "Shoutcast playback support" - bool - default y - depends on ADK_PACKAGE_MPD - select ADK_PACKAGE_LIBSHOUT - select ADK_PACKAGE_LIBVORBISENC - select ADK_PACKAGE_LIBLAME - help - Enable shout support (libshout). - -config ADK_COMPILE_MPD_WITH_MP3 - prompt "MP3 support" - bool - default y - depends on ADK_PACKAGE_MPD - select ADK_PACKAGE_LIBMAD - select ADK_PACKAGE_LIBID3TAG - help - Enable mp3 support (libmad). - -config ADK_COMPILE_MPD_WITH_MP4 - prompt "MP4/AAC support" - bool - default y - depends on ADK_PACKAGE_MPD - select ADK_PACKAGE_LIBFAAD2 - help - Enable mp4/aac support (libfaad2). - -config ADK_COMPILE_MPD_OGG - prompt "Ogg/Vorbis Support" - bool - depends on ADK_PACKAGE_MPD - select ADK_COMPILE_MPD_WITH_OGG if ADK_COMPILE_MPD_OGG_FLOAT - select ADK_COMPILE_MPD_WITH_TREMOR if ADK_COMPILE_MPD_OGG_FIXED - default y - help - Ogg/Vorbis support. - -choice -prompt "Ogg type" -depends on ADK_COMPILE_MPD_OGG -config ADK_COMPILE_MPD_OGG_FLOAT - bool "Ogg/Vorbis (floating point implementation)" -config ADK_COMPILE_MPD_OGG_FIXED - bool "Ogg/Vorbis (fixed point implementation)" -endchoice - -config ADK_COMPILE_MPD_WITH_OGG - bool - default n - depends on ADK_PACKAGE_MPD - depends on ADK_COMPILE_MPD_OGG_FLOAT - select ADK_PACKAGE_LIBOGG - select ADK_PACKAGE_LIBVORBIS - help - Enable ogg vorbis support. - -config ADK_COMPILE_MPD_WITH_TREMOR - bool - default n - depends on ADK_PACKAGE_MPD - depends on ADK_COMPILE_MPD_OGG_FIXED - select ADK_PACKAGE_LIBVORBISIDEC - help - Enable ogg support (tremor). - Can not be used with shout plugin. - -config ADK_COMPILE_MPD_WITH_FLAC - prompt "FLAC Support" - bool - default y - depends on ADK_PACKAGE_MPD - select ADK_PACKAGE_LIBFLAC - help - Enable flac support (libflac). - -config ADK_COMPILE_MPD_WITH_WAV - prompt "WAVE/AU Support" - bool - default y - depends on ADK_PACKAGE_MPD - select ADK_PACKAGE_LIBAUDIOFILE - help - Enable wave support (libaudiofile). - -config ADK_COMPILE_MPD_WITH_CURL - prompt "HTTP streaming support" - bool - default y - depends on ADK_PACKAGE_MPD - select ADK_PACKAGE_LIBCURL - help - Enable http streaming support (libcurl). - -config ADK_COMPILE_MPD_WITH_MMS - prompt "MMS streaming support" - bool - default n - depends on ADK_PACKAGE_MPD - select ADK_PACKAGE_LIBMMS - help - Enable mms streaming support (libmms). - -config ADK_COMPILE_MPD_WITH_FFMPEG - prompt "FFMPEG support" - bool - default n - depends on ADK_PACKAGE_MPD - select ADK_PACKAGE_FFMPEG - help - Enable FFMPEG support (ffmpeg). - - -endmenu diff --git a/package/mpd/Makefile b/package/mpd/Makefile index e0da5805d..150391af3 100644 --- a/package/mpd/Makefile +++ b/package/mpd/Makefile @@ -6,6 +6,37 @@ include ${TOPDIR}/rules.mk PKG_NAME:= mpd PKG_VERSION:= 0.15.6 PKG_RELEASE:= 1 +PKG_BUILDDEP+= alsa-lib glib +ifneq ($(ADK_COMPILE_MPD_WITH_MP3),) +PKG_BUILDDEP+= libid3tag libmad +endif +ifneq ($(ADK_COMPILE_MPD_WITH_MP4),) +PKG_BUILDDEP+= faad2 +endif +ifneq ($(ADK_COMPILE_MPD_WITH_OGG),) +PKG_BUILDDEP+= libvorbis +endif +ifneq ($(ADK_COMPILE_MPD_WITH_TREMOR),) +PKG_BUILDDEP+= libvorbisidec +endif +ifneq ($(ADK_COMPILE_MPD_WITH_FLAC),) +PKG_BUILDDEP+= flac +endif +ifneq ($(ADK_COMPILE_MPD_WITH_WAV),) +PKG_BUILDDEP+= libaudiofile +endif +ifneq ($(ADK_COMPILE_MPD_WITH_SHOUT),) +PKG_BUILDDEP+= lame +endif +ifneq ($(ADK_COMPILE_MPD_WITH_CURL),) +PKG_BUILDDEP+= curl +endif +ifneq ($(ADK_COMPILE_MPD_WITH_MMS),) +PKG_BUILDDEP+= libmms +endif +ifneq ($(ADK_COMPILE_MPD_WITH_FFMPEG),) +PKG_BUILDDEP+= ffmpeg +endif PKG_MD5SUM:= c78b8933e4902c5dc407d59925f8b10e PKG_DESCR:= A music player daemon PKG_SECTION:= net |