summaryrefslogtreecommitdiff
path: root/package/multimedia/libao/libao.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/libao/libao.mk')
-rw-r--r--package/multimedia/libao/libao.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/multimedia/libao/libao.mk b/package/multimedia/libao/libao.mk
new file mode 100644
index 000000000..ee02d18c5
--- /dev/null
+++ b/package/multimedia/libao/libao.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# 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))