[oe-commits] org.oe.dev libao_0.8.8.bb : add new version and rather than spurious alsa plugins

xora commit openembedded-commits at lists.openembedded.org
Thu Feb 7 12:05:39 UTC 2008


libao_0.8.8.bb : add new version and rather than spurious alsa plugins
.bb files just package alsa and pulse plugins seperately.

Author: xora at openembedded.org
Branch: org.openembedded.dev
Revision: 8dadec7d9f47d3e60f4729a152204227dce39c49
ViewMTN: http://monotone.openembedded.org/revision/info/8dadec7d9f47d3e60f4729a152204227dce39c49
Files:
1
packages/libao/libao_0.8.8.bb
Diffs:

#
# mt diff -r84118ee2504fbe9e7a84b1cf20d20c519aee868c -r8dadec7d9f47d3e60f4729a152204227dce39c49
#
# 
# 
# add_file "packages/libao/libao_0.8.8.bb"
#  content [b0b9daad5efb3df2ad278c61f784f9d44d848959]
# 
============================================================
--- packages/libao/libao_0.8.8.bb	b0b9daad5efb3df2ad278c61f784f9d44d848959
+++ packages/libao/libao_0.8.8.bb	b0b9daad5efb3df2ad278c61f784f9d44d848959
@@ -0,0 +1,39 @@
+LICENSE = "GPL"
+DESCRIPTION = "A cross platform audio library"
+HOMEPAGE = "http://www.xiph.org/ao/"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "alsa-lib pulseaudio"
+PROVIDES = "libao-alsa libao-alsa-plugin"
+PR = "r0"
+
+SRC_URI = "http://downloads.xiph.org/releases/ao/libao-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-esd --disable-esdtest \
+		--disable-alsa --enable-alsa09 \
+		--disable-arts --disable-nas \
+                --enable-pulse --enable-alsa09-mmap"
+
+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/
+}
+
+PACKAGES =+ "${PN}-alsa ${PN}-alsa-dev ${PN}-pulse ${PN}-pulse-dev"
+
+FILES_${PN}-alsa = "${libdir}/ao/plugins-2/libalsa*.so"
+FILES_${PN}-alsa-dev = "${libdir}/ao/plugins-2/libalsa*.la"
+FILES_${PN}-pulse = "${libdir}/ao/plugins-2/libpulse*.so"
+FILES_${PN}-pulse-dev = "${libdir}/ao/plugins-2/libpulse*.la"
+
+FILES_${PN} += "${libdir}/ao/plugins-2/*.so"
+FILES_${PN}-dev += "${libdir}/ao/plugins-2/*.la"
+FILES_${PN}-dbg += "${libdir}/ao/plugins-2/.debug"
+






More information about the Openembedded-commits mailing list