diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-05-14 14:18:01 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-05-14 14:18:01 +0200 |
commit | 239a77f800b2babfc05bcda959c04106eaca2394 (patch) | |
tree | 20b289bbe954a7a3b893f22d9606408ea107889f /package | |
parent | 45cb1ca7bdc847c7e4070f2ddcb50e60b89166b8 (diff) |
update mpd,mpc and libmpdclient
Diffstat (limited to 'package')
-rw-r--r-- | package/libmpdclient/Makefile | 6 | ||||
-rw-r--r-- | package/mpc/Makefile | 5 | ||||
-rw-r--r-- | package/mpd/Makefile | 44 | ||||
-rw-r--r-- | package/mpd/files/mpd.conf | 19 | ||||
-rw-r--r-- | package/mpd/patches/patch-configure | 11 |
5 files changed, 59 insertions, 26 deletions
diff --git a/package/libmpdclient/Makefile b/package/libmpdclient/Makefile index 992ab4cc1..960dc668b 100644 --- a/package/libmpdclient/Makefile +++ b/package/libmpdclient/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= libmpdclient -PKG_VERSION:= 2.2 +PKG_VERSION:= 2.4 PKG_RELEASE:= 1 -PKG_MD5SUM:= a157c1eb70502f1da8097477104e719e +PKG_MD5SUM:= efa6964c44fa7f01481a1f8365c1f6cb PKG_DESCR:= library for interfacing MPD PKG_SECTION:= libs PKG_URL:= http://mpd.wikia.com/wiki/ClientLib:libmpdclient @@ -21,6 +21,8 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBMPDCLIENT,libmpdclient,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) $(eval $(call PKG_template,LIBMPDCLIENT_DEV,libmpdclient-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBMPDCLIENT_DEV},${PKGSC_LIBMPDCLIENT_DEV})) +CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no + libmpdclient-install: $(INSTALL_DIR) $(IDIR_LIBMPDCLIENT)/usr/lib $(CP) $(WRKINST)/usr/lib/libmpdclient*.so* \ diff --git a/package/mpc/Makefile b/package/mpc/Makefile index ed59ee973..5ab50fac3 100644 --- a/package/mpc/Makefile +++ b/package/mpc/Makefile @@ -4,9 +4,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:= mpc -PKG_VERSION:= 0.19 +PKG_VERSION:= 0.20 PKG_RELEASE:= 1 -PKG_MD5SUM:= 08af459a18388c35dd81de8f9f1534c9 +PKG_MD5SUM:= e94d71fc3869914e12ae14f8ee02864c PKG_DESCR:= music player client PKG_SECTION:= multimedia PKG_DEPENDS:= libmpdclient @@ -19,6 +19,7 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,MPC,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_ARGS+= --disable-iconv +CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no post-install: $(INSTALL_DIR) $(IDIR_MPC)/usr/bin diff --git a/package/mpd/Makefile b/package/mpd/Makefile index 402ddf332..734d7266e 100644 --- a/package/mpd/Makefile +++ b/package/mpd/Makefile @@ -4,12 +4,13 @@ include ${TOPDIR}/rules.mk PKG_NAME:= mpd -PKG_VERSION:= 0.15.10 +PKG_VERSION:= 0.16.2 PKG_RELEASE:= 1 -PKG_MD5SUM:= 3ee746cb9193acfd0e1bd7a8c54af1a6 +PKG_MD5SUM:= a75ad715cc381dc5efeff6dbf313a954 PKG_DESCR:= A music player daemon PKG_SECTION:= multimedia PKG_DEPENDS:= glib libstdcxx +PKG_FDEPENDS:= glib libstdcxx PKG_BUILDDEP:= glib PKG_URL:= http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=musicpd/} @@ -21,46 +22,83 @@ PKG_FLAVOURS_MPD+= WITH_SHOUT WITH_CURL PKGFD_WITH_ALSA:= enable ALSA output PKGFS_WITH_ALSA:= alsa-lib PKGFB_WITH_ALSA:= alsa-lib +ifeq ($(ADK_PACKAGE_MPD_WITH_ALSA),y) +PKG_FDEPENDS+= alsa-lib +endif PKGFD_WITH_AO:= enable Libao/ESD output PKGFS_WITH_AO:= libao PKGFB_WITH_AO:= libao +ifeq ($(ADK_PACKAGE_MPD_WITH_AO),y) +PKG_FDEPENDS+= libao +endif PKGFD_WITH_MP3:= enable MP3 support PKGFS_WITH_MP3:= libid3tag libmad PKGFB_WITH_MP3:= libid3tag libmad +ifeq ($(ADK_PACKAGE_MPD_WITH_MP3),y) +PKG_FDEPENDS+= libid3tag libmad +endif PKGFD_WITH_MP4:= enable MP4 support PKGFS_WITH_MP4:= libfaad2 PKGFB_WITH_MP4:= faad2 +ifeq ($(ADK_PACKAGE_MPD_WITH_MP4),y) +PKG_FDEPENDS+= libfaad2 +endif PKGFD_WITH_OGG:= enable OGG support PKGFS_WITH_OGG:= libvorbis libogg PKGFB_WITH_OGG:= libvorbis libogg +ifeq ($(ADK_PACKAGE_MPD_WITH_OGG),y) +PKG_FDEPENDS+= libvorbis libogg +endif PKGFD_WITH_TREMOR:= enable fixpoint Vorbis/OGG support PKGFS_WITH_TREMOR:= libvorbisidec PKGFB_WITH_TREMOR:= libvorbisidec +ifeq ($(ADK_PACKAGE_MPD_WITH_TREMOR),y) +PKG_FDEPENDS+= libvorbisidec +endif PKGFD_WITH_FLAC:= enable FLAC support PKGFS_WITH_FLAC:= libflac PKGFB_WITH_FLAC:= flac +ifeq ($(ADK_PACKAGE_MPD_WITH_FLAC),y) +PKG_FDEPENDS+= libflac +endif PKGFD_WITH_WAV:= enable WAVE support PKGFS_WITH_WAV:= libaudiofile PKGFB_WITH_WAV:= libaudiofile +ifeq ($(ADK_PACKAGE_MPD_WITH_WAV),y) +PKG_FDEPENDS+= libaudiofile +endif PKGFD_WITH_MMS:= enable MMS support PKGFS_WITH_MMS:= libmms PKGFB_WITH_MMS:= libmms +ifeq ($(ADK_PACKAGE_MPD_WITH_MMS),y) +PKG_FDEPENDS+= libmms +endif PKGFD_WITH_FFMPEG:= enable FFMPEG support PKGFS_WITH_FFMPEG:= ffmpeg PKGFB_WITH_FFMPEG:= ffmpeg +ifeq ($(ADK_PACKAGE_MPD_WITH_FFMPEG),y) +PKG_FDEPENDS+= ffmpeg +endif PKGFD_WITH_SHOUT:= enable Shoutcast output support PKGFS_WITH_SHOUT:= libshout liblame libvorbisenc PKGFB_WITH_SHOUT:= lame libvorbis libshout +ifeq ($(ADK_PACKAGE_MPD_WITH_SHOUT),y) +PKG_FDEPENDS+= libshout liblame libvorbisenc +endif PKGFD_WITH_CURL:= enable CURL support PKGFS_WITH_CURL:= libcurl PKGFB_WITH_CURL:= curl +ifeq ($(ADK_PACKAGE_MPD_WITH_CURL),y) +PKG_FDEPENDS+= libcurl +endif include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,MPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,MPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_FDEPENDS},${PKG_DESCR},${PKG_SECTION})) TARGET_CFLAGS+= -std=gnu99 XAKE_FLAGS+= MPD_CFLAGS='-D_GNU_SOURCE' +CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no CONFIGURE_ARGS+= --disable-httpd-output \ --disable-jack \ --disable-fifo \ diff --git a/package/mpd/files/mpd.conf b/package/mpd/files/mpd.conf index 49ef7d4f7..5042b9ccd 100644 --- a/package/mpd/files/mpd.conf +++ b/package/mpd/files/mpd.conf @@ -5,24 +5,28 @@ playlist_directory "~/.mpd/playlists" db_file "~/.mpd/database" pid_file "/var/run/mpd/mpd.pid" log_file "~/.mpd/log" -error_file "~/.mpd/error-log" # An example of an ALSA output audio_output { type "alsa" name "My ALSA Device" - device "hw:0,0" # optional - format "44100:16:2" # optional + device "hw:0,0" + format "44100:16:2" } +# An example of an ALSA output (USB soundcard) +#audio_output { +# type "alsa" +# name "My ALSA Device" +# device "hw:0,0" +# format "44100:16:2" +# mixer_type "hardware" +# mixer_control "Speaker" +#} # An example of an ESD output #audio_output { # type "ao" # driver "esd" # name "esd" #} - -# Volume control mixer -mixer_type "alsa" - # shout example #audio_output { # type "shout" @@ -35,4 +39,3 @@ mixer_type "alsa" # user "source" # password "musicrockz" #} - diff --git a/package/mpd/patches/patch-configure b/package/mpd/patches/patch-configure deleted file mode 100644 index a27db64c5..000000000 --- a/package/mpd/patches/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- mpd-0.15.10.orig/configure 2010-05-30 17:57:50.000000000 +0200 -+++ mpd-0.15.10/configure 2010-06-12 19:53:33.261613517 +0200 -@@ -10637,7 +10637,7 @@ if test x$enable_lame_encoder != xno; th - - # Check whether --with-lame was given. - if test "${with_lame+set}" = set; then : -- withval=$with_lame; -+ lame_prefix=$with_lame; - else - lame_prefix="" - fi |