summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/libao/libao_0.8.4.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/libao/libao_0.8.4.bb b/packages/libao/libao_0.8.4.bb
index e69de29bb2..cd167159dc 100644
--- a/packages/libao/libao_0.8.4.bb
+++ b/packages/libao/libao_0.8.4.bb
@@ -0,0 +1,27 @@
+LICENSE = GPL
+DESCRIPTION = "A cross platform audio library"
+HOMEPAGE = "http://www.xiph.org/ao/"
+SECTION = "libs"
+PRIORITY = "optional"
+PR = "r1"
+
+SRC_URI = "http://www.xiph.org/ao/src/libao-${PV}.tar.gz \
+ file://configure.patch;patch=1"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-esd --disable-esdtest \
+ --disable-alsa --disable-alsa09 \
+ --disable-arts --disable-nas"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/ao
+ install -m 0644 ${S}/include/ao/ao.h ${S}/include/ao/os_types.h \
+ ${S}/include/ao/plugin.h ${STAGING_INCDIR}/ao/
+
+ oe_libinstall -so -C src libao ${STAGING_LIBDIR}
+ install -d ${STAGING_DATADIR}/aclocal
+ install -m 0644 ao.m4 ${STAGING_DATADIR}/aclocal/
+}
+
+FILES_${PN} += "/usr/lib/ao/plugins-2/*.so"