diff options
| -rw-r--r-- | meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb | 23 |
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 0000000000..08950b5371 --- /dev/null +++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | SECTION = "multimedia" | ||
| 2 | SUMMARY = "Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms" | ||
| 3 | HOMEPAGE = "https://www.xiph.org/ao/" | ||
| 4 | |||
| 5 | LICENSE = "GPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
| 7 | |||
| 8 | SRC_URI="http://downloads.xiph.org/releases/ao/${BP}.tar.gz" | ||
| 9 | SRC_URI[md5sum] = "2b2508c29bc97e4dc218fa162cf883c8" | ||
| 10 | SRC_URI[sha256sum] = "29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4" | ||
| 11 | |||
| 12 | inherit autotools | ||
| 13 | |||
| 14 | do_install_append () { | ||
| 15 | find "${D}" -name '*.la' -exec rm -f {} + | ||
| 16 | } | ||
| 17 | |||
| 18 | python 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 | } | ||
