source "package/multimedia/gst-plugins-good/Config.in"
source "package/multimedia/gst-plugins-bad/Config.in"
source "package/multimedia/gst-plugins-ugly/Config.in"
+source "package/multimedia/libao/Config.in"
source "package/multimedia/libcdaudio/Config.in"
source "package/multimedia/libdvdread/Config.in"
source "package/multimedia/libdvdnav/Config.in"
--- /dev/null
+config BR2_PACKAGE_LIBAO
+ bool "libao"
+ help
+ Libao is a cross-platform audio library that allows programs
+ to output audio using a simple API on a wide variety of platforms.
+
+ http://www.xiph.org/ao/
--- /dev/null
+#############################################################
+#
+# libao
+#
+#############################################################
+
+LIBAO_VERSION = 1.0.0
+LIBAO_SITE = http://downloads.xiph.org/releases/ao
+LIBAO_DEPENDENCIES = host-pkg-config
+LIBAO_INSTALL_STAGING = YES
+LIBAO_CONF_OPT = --disable-esd --disable-wmm --disable-arts \
+ --disable-nas --disable-pulse
+
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+LIBAO_DEPENDENCIES += alsa-lib
+LIBAO_CONF_OPT += --enable-alsa --enable-alsa-mmap
+else
+LIBAO_CONF_OPT += --disable-alsa
+endif
+
+$(eval $(call AUTOTARGETS,package/multimedia,libao))