summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-multimedia/libao
diff options
context:
space:
mode:
authorjc@vtkloud.com <jc@vtkloud.com>2013-09-17 17:47:16 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-09-19 13:56:58 +0200
commita83a588b4d096e89909e537b765d8988b4ca64b0 (patch)
treecd0e46db868d5ab0827cc64c40f70c1ee9b9829b /meta-multimedia/recipes-multimedia/libao
parent23f020f742aea622e5dd7aef81eb59c99f8ef000 (diff)
downloadmeta-openembedded-a83a588b4d096e89909e537b765d8988b4ca64b0.tar.gz
libao: add version 1.1.0
This is basically a 99% import of Peter Tworek's recipe from tworaz666@gmail.com found in https://github.com/tworaz/oe-tworaz/blob/master/meta-jlime/recipes-support/libao/libao_1.1.0.bb Signed-off-by: JC <jc@vtkloud.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/libao')
-rw-r--r--meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
new file mode 100644
index 000000000..08950b537
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
@@ -0,0 +1,23 @@
1SECTION = "multimedia"
2SUMMARY = "Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms"
3HOMEPAGE = "https://www.xiph.org/ao/"
4
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7
8SRC_URI="http://downloads.xiph.org/releases/ao/${BP}.tar.gz"
9SRC_URI[md5sum] = "2b2508c29bc97e4dc218fa162cf883c8"
10SRC_URI[sha256sum] = "29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4"
11
12inherit autotools
13
14do_install_append () {
15 find "${D}" -name '*.la' -exec rm -f {} +
16}
17
18python populate_packages_prepend () {
19 rootdir = bb.data.expand('${libdir}/ao/plugins-4', d)
20 rootdir_dbg = bb.data.expand('${libdir}/ao/plugins-4/.debug', d)
21 do_split_packages(d, rootdir, '^(.*)\.so$', output_pattern='${BPN}-plugin-%s', description='AO %s plugin')
22 do_split_packages(d, rootdir_dbg, '^(.*)\.so$', output_pattern='${BPN}-plugin-%s-dbg', description='AO %s plugin debug data')
23}