libao-alsa_0.8.6: Add libao plugin-package with alsa support
authorMatthias Goebl <oe@m.goebl.net>
Sun, 5 Feb 2006 23:21:41 +0000 (23:21 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 5 Feb 2006 23:21:41 +0000 (23:21 +0000)
- Make libao-alsa_0.8.6 from libao-alsa_0.8.6 and
  add alsa config and dependencies for plugin

packages/libao/libao-alsa_0.8.6.bb [new file with mode: 0644]

diff --git a/packages/libao/libao-alsa_0.8.6.bb b/packages/libao/libao-alsa_0.8.6.bb
new file mode 100644 (file)
index 0000000..4df98e1
--- /dev/null
@@ -0,0 +1,27 @@
+LICENSE = "GPL"
+DESCRIPTION = "A cross platform audio library. This is the ALSA plugin."
+HOMEPAGE = "http://www.xiph.org/ao/"
+SECTION = "libs"
+PRIORITY = "optional"
+MAINTAINER = "Matthias Goebl <matthias.goebl@goebl.net>"
+DEPENDS = "alsa-lib libao"
+RDEPENDS = "libao2 (>=${PV})"
+PR = "r1"
+
+SRC_URI = "http://downloads.xiph.org/releases/ao/libao-${PV}.tar.gz"
+S = "${WORKDIR}/libao-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-esd --disable-esdtest \
+               --disable-oss \
+               --enable-alsa09 --enable-alsa09-mmap \
+               --disable-arts --disable-nas"
+
+do_stage() {
+       oe_libinstall -so -C src libao ${STAGING_LIBDIR}
+}
+
+PACKAGES = "libao-alsa-plugin libao-alsa-plugin-dev"
+FILES_libao-alsa-plugin= "${libdir}/ao/plugins-2/libalsa*.so"
+FILES_libao-alsa-plugin-dev += "${libdir}/ao/plugins-2/libalsa*.la"