Patchwork libao: add version 1.1.0

login
register
mail settings
Submitter JC
Date Sept. 17, 2013, 2:49 p.m.
Message ID <1379429376-30184-1-git-send-email-jc@vtkloud.com>
Download mbox | patch
Permalink /patch/58275/
State New
Headers show

Comments

JC - Sept. 17, 2013, 2:49 p.m.
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>
---
 .../recipes-multimedia/libao/libao_1.1.0.bb        | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
Saul Wold - Oct. 14, 2013, 5:57 p.m.
On 09/17/2013 07:49 AM, JC wrote:
> 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
>

Can you give some details as to why we should included it in core vs 
meta-oe?


Thanks
	Sau!


> Signed-off-by: JC <jc@vtkloud.com>
> ---
>   .../recipes-multimedia/libao/libao_1.1.0.bb        | 23 ++++++++++++++++++++++
>   1 file changed, 23 insertions(+)
>   create mode 100644 meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
>
> 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 0000000..08950b5
> --- /dev/null
> +++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> @@ -0,0 +1,23 @@
> +SECTION = "multimedia"
> +SUMMARY = "Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms"
> +HOMEPAGE = "https://www.xiph.org/ao/"
> +
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +SRC_URI="http://downloads.xiph.org/releases/ao/${BP}.tar.gz"
> +SRC_URI[md5sum] = "2b2508c29bc97e4dc218fa162cf883c8"
> +SRC_URI[sha256sum] = "29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4"
> +
> +inherit autotools
> +
> +do_install_append () {
> +    find "${D}" -name '*.la' -exec rm -f {} +
> +}
> +
> +python populate_packages_prepend () {
> +    rootdir = bb.data.expand('${libdir}/ao/plugins-4', d)
> +    rootdir_dbg = bb.data.expand('${libdir}/ao/plugins-4/.debug', d)
> +    do_split_packages(d, rootdir, '^(.*)\.so$', output_pattern='${BPN}-plugin-%s', description='AO %s plugin')
> +    do_split_packages(d, rootdir_dbg, '^(.*)\.so$', output_pattern='${BPN}-plugin-%s-dbg', description='AO %s plugin debug data')
> +}
>
Paul Eggleton - Oct. 15, 2013, 8:57 a.m.
On Monday 14 October 2013 10:57:51 Saul Wold wrote:
> On 09/17/2013 07:49 AM, JC wrote:
> > 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-suppor
> > t/libao/libao_1.1.0.bb
>
> Can you give some details as to why we should included it in core vs
> meta-oe?

It was sent to the wrong list; Jay re-sent it to the openembedded-devel list 
and it has already been merged into meta-multimedia.

Cheers,
Paul

Patch

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 0000000..08950b5
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
@@ -0,0 +1,23 @@ 
+SECTION = "multimedia"
+SUMMARY = "Libao is a cross-platform audio library that allows programs to output audio using a simple API on a wide variety of platforms"
+HOMEPAGE = "https://www.xiph.org/ao/"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+SRC_URI="http://downloads.xiph.org/releases/ao/${BP}.tar.gz"
+SRC_URI[md5sum] = "2b2508c29bc97e4dc218fa162cf883c8"
+SRC_URI[sha256sum] = "29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4"
+
+inherit autotools
+
+do_install_append () {
+    find "${D}" -name '*.la' -exec rm -f {} +
+}
+
+python populate_packages_prepend () {
+    rootdir = bb.data.expand('${libdir}/ao/plugins-4', d)
+    rootdir_dbg = bb.data.expand('${libdir}/ao/plugins-4/.debug', d)
+    do_split_packages(d, rootdir, '^(.*)\.so$', output_pattern='${BPN}-plugin-%s', description='AO %s plugin')
+    do_split_packages(d, rootdir_dbg, '^(.*)\.so$', output_pattern='${BPN}-plugin-%s-dbg', description='AO %s plugin debug data')
+}