aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorin Sarbu <florin.sarbu@windriver.com>2014-10-08 16:59:27 +0300
committerHolger Behrens <holger.behrens@windriver.com>2014-10-17 17:29:14 +0200
commitca7a4a79480df0bda932297e1f615439ff384ace (patch)
tree71c66fd0a7d9a90143201bb678622f5c4887effa
parent1c8277fa1854b98e11e447d3e6e59642005db631 (diff)
downloadmeta-ivi-ca7a4a79480df0bda932297e1f615439ff384ace.tar.gz
meta-ivi-ca7a4a79480df0bda932297e1f615439ff384ace.tar.bz2
meta-ivi-ca7a4a79480df0bda932297e1f615439ff384ace.zip
Add alsa-plugins recipe needed for the AM PoC
Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com> Signed-off-by: Holger Behrens <holger.behrens@windriver.com>
-rw-r--r--meta-ivi-demo/recipes-multimedia/alsa/alsa-plugins_1.0.28.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-ivi-demo/recipes-multimedia/alsa/alsa-plugins_1.0.28.bb b/meta-ivi-demo/recipes-multimedia/alsa/alsa-plugins_1.0.28.bb
new file mode 100644
index 0000000..a927589
--- /dev/null
+++ b/meta-ivi-demo/recipes-multimedia/alsa/alsa-plugins_1.0.28.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "ALSA Plugins"
+HOMEPAGE = "http://www.alsa-project.org"
+SECTION = "multimedia/alsa/plugins"
+LICENSE = "LGPL2.1"
+DEPENDS = "alsa-lib pulseaudio"
+PR = "r1"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
+SRC_URI = "ftp://ftp.alsa-project.org/pub/plugins/alsa-plugins-${PV}.tar.bz2 \
+"
+
+SRC_URI[md5sum] = "6fcbbb31e96f8ebc5fb926184a717aa4"
+SRC_URI[sha256sum] = "426f8af1a07ee9d8c06449524d1f0bd59a06e0331a51aa3d59d343a7c6d03120"
+
+inherit autotools pkgconfig
+
+PACKAGES_DYNAMIC = "libasound-module*"
+
+python populate_packages_prepend() {
+ plugindir = bb.data.expand('${libdir}/alsa-lib/', d)
+ do_split_packages(d, plugindir, '^libasound_module_(.*)\.so$', 'libasound-module-%s', 'Alsa plugin for %s', extra_depends='' )
+}
+
+FILES_${PN}-dev += "${libdir}/alsa-lib/libasound*.a ${libdir}/alsa-lib/libasound*.la"
+FILES_${PN}-dbg += "${libdir}/alsa-lib/.debug"
+
+FILES_libasound-module-conf-pulse += "${datadir}/alsa/alsa.conf.d/*pulseaudio*"
+FILES_libasound-module-rate-samplerate += "${libdir}/alsa-lib/*rate_samplerate_*.so"
+FILES_libasound-module-rate-speexrate += "${libdir}/alsa-lib/*rate_speexrate_*.so"
+
+# Symlinks to .so files cause a warning, but these are legitimate.
+INSANE_SKIP_libasound-module-rate-samplerate = "dev-so"
+INSANE_SKIP_libasound-module-rate-speexrate = "dev-so"