summaryrefslogtreecommitdiffstats
path: root/package/libao/libao.mk
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-04-30 03:48:16 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-05 23:41:11 +0200
commit5d6f32878f707f4c28fe09d02e960d851c76e3c3 (patch)
treefd1da7d454eb2c305e4e84ab55e2a1451f0857c4 /package/libao/libao.mk
parent84d589a963d902849b7022091e97ec71c38ed82e (diff)
downloadbuildroot-5d6f32878f707f4c28fe09d02e960d851c76e3c3.tar.gz
buildroot-5d6f32878f707f4c28fe09d02e960d851c76e3c3.zip
package/multimedia: move audio libraries out
Move audio libraries out of the Audio and Video category into the Libraries/Audio one. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libao/libao.mk')
-rw-r--r--package/libao/libao.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/libao/libao.mk b/package/libao/libao.mk
new file mode 100644
index 0000000000..617b1ee8f6
--- /dev/null
+++ b/package/libao/libao.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# libao
+#
+#############################################################
+
+LIBAO_VERSION = 1.1.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))
OpenPOWER on IntegriCloud