correcting sound-core-modulename, so mpd will now _really_ be built with 
alsa-support, when alsa/sound-core is also selected, corrected formatting (tabs 
instead of whitespaces), include use of tremor (integer-vorbis-processing) and 
remove dependency of alsa-lib.

Signed-off-by: Mirko Vogt <[EMAIL PROTECTED]>

---

Index: sound/mpd/Makefile
===================================================================
--- sound/mpd/Makefile  (revision 9586)
+++ sound/mpd/Makefile  (working copy)
@@ -24,7 +24,7 @@
 define Package/mpd
   SECTION:=sound
   CATEGORY:=Sound
-  DEPENDS:=+libflac +libid3tag +libmad +libvorbisidec +libpthread +alsa-lib
+  DEPENDS:=+libflac +libid3tag +libmad +libvorbisidec +libpthread
   TITLE:=Music Player Daemon
   URL:=http://www.musicpd.org/
 endef
@@ -39,27 +39,25 @@
 /etc/mpd.conf
 endef
 
-ifndef CONFIG_PACKAGE_kmod-soundcore
+ifndef CONFIG_PACKAGE_kmod-sound-core
        EXTRA_CONFIG_PARAM:=--disable-alsa
 endif
 
 define Build/Configure
        $(call Build/Configure/Default, \
-               $(EXTRA_CONFIG_PARAM) \
-               --disable-shout \
-               --disable-mod \
-               --disable-audiofile \
-               --disable-iconv \
-               --disable-mpc \
-               --disable-aac \
-               --disable-oggvorbis \
-               --disable-oggflac \
-               --with-id3tag-includes="$(STAGING_DIR)/usr/include" \
-               --with-id3tag-libraries="$(STAGING_DIR)/usr/lib" \
-               --with-libFLAC-includes="$(STAGING_DIR)/usr/include" \
-               --with-libFLAC-libraries="$(STAGING_DIR)/usr/lib" \
-               --with-mad-includes="$(STAGING_DIR)/usr/include" \
-               --with-mad-libraries="$(STAGING_DIR)/usr/lib" \
+               $(EXTRA_CONFIG_PARAM) \
+                       --disable-audiofile \
+                       --disable-mod \
+                       --disable-iconv \
+                       --disable-mpc \
+                       --disable-aac \
+                       --with-tremor \
+                       --with-id3tag-includes="$(STAGING_DIR)/usr/include" \
+                       --with-id3tag-libraries="$(STAGING_DIR)/usr/lib" \
+                       --with-libFLAC-includes="$(STAGING_DIR)/usr/include" \
+                       --with-libFLAC-libraries="$(STAGING_DIR)/usr/lib" \
+                       --with-mad-includes="$(STAGING_DIR)/usr/include" \
+                       --with-mad-libraries="$(STAGING_DIR)/usr/lib" \
        )
 endef
 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to