--- feeds/packages/libs/libao/Makefile.orig	2011-08-10 18:12:50.000000000 +0200
+++ feeds/packages/libs/libao/Makefile	2011-08-10 18:14:46.000000000 +0200
@@ -22,7 +22,7 @@

 define Package/libao
   SECTION:=libs
-  DEPENDS:=+alsa-lib
+  DEPENDS:=+alsa-lib +libaudiofile +esound
   CATEGORY:=Libraries
   TITLE:=A cross platform audio library
   URL:=http://www.xiph.org/ao/
@@ -36,7 +36,8 @@
 CONFIGURE_ARGS += \
 	--enable-shared \
 	--enable-static \
-	--disable-esd \
+	--enable-esd \
+       --with-esd-prefix=$(STAGING_DIR)/usr
 	--disable-arts \
 	--disable-nas \
 	--disable-pulse
@@ -57,6 +57,8 @@
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/libao.so.* $(1)/usr/lib/
 	$(INSTALL_DIR) $(1)/usr/lib/ao/plugins-4
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/ao/plugins-4/lib*.so $(1)/usr/lib/ao/plugins-4/
+	$(INSTALL_DIR) $(1)/etc
+	$(CP) ./files/libao.conf $(1)/etc/
 endef
 
 $(eval $(call BuildPackage,libao))
--- /dev/null	2011-07-03 02:34:29.163655238 +0200
+++ feeds/packages/libs/libao/files/libao.conf	2011-08-10 18:17:45.000000000 +0200
@@ -0,0 +1,4 @@
+default_driver=esd
+host=127.0.0.1:16000
+server=127.0.0.1:16000
+
