summaryrefslogtreecommitdiff
path: root/package/multimedia/libao
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-01-11 10:45:30 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-01-11 15:16:21 +0100
commit7f8164267594c5ce8bed685192729c0fb0fd5056 (patch)
tree1a96de18bc58938c6e49a9ad82f8bee5e385e54f /package/multimedia/libao
parentca2b65a6515800991dae49d1815b7bb933f4015c (diff)
libao: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/libao')
-rw-r--r--package/multimedia/libao/Config.in7
-rw-r--r--package/multimedia/libao/libao.mk21
2 files changed, 28 insertions, 0 deletions
diff --git a/package/multimedia/libao/Config.in b/package/multimedia/libao/Config.in
new file mode 100644
index 000000000..3c99ab968
--- /dev/null
+++ b/package/multimedia/libao/Config.in
@@ -0,0 +1,7 @@
+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/
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))