All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] libopus: add libopus_0.9.10
@ 2012-05-15  7:00 Radek Dostal
  2012-05-24 15:56 ` Radek Dostal
  0 siblings, 1 reply; 2+ messages in thread
From: Radek Dostal @ 2012-05-15  7:00 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Radek Dostal <rd@radekdostal.com>
---
 meta-oe/recipes-multimedia/libopus/libopus-fpu.inc |    6 ++++++
 .../recipes-multimedia/libopus/libopus_0.9.10.bb   |   20 ++++++++++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-multimedia/libopus/libopus-fpu.inc
 create mode 100644 meta-oe/recipes-multimedia/libopus/libopus_0.9.10.bb

diff --git a/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc b/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc
new file mode 100644
index 0000000..ed16602
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc
@@ -0,0 +1,6 @@
+
+def get_libopus_fpu_setting(bb, d):
+	if d.getVar('TARGET_FPU', True) in [ 'soft' ]:
+		return "--enable-fixed-point"
+	return ""
+
diff --git a/meta-oe/recipes-multimedia/libopus/libopus_0.9.10.bb b/meta-oe/recipes-multimedia/libopus/libopus_0.9.10.bb
new file mode 100644
index 0000000..392836f
--- /dev/null
+++ b/meta-oe/recipes-multimedia/libopus/libopus_0.9.10.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Opus Audio Codec"
+DESCRIPTION = "The Opus codec is designed for interactive \
+speech and audio transmission over the Internet. It is \
+designed by the IETF Codec Working Group and incorporates \
+technology from Skype's SILK codec and Xiph.Org's CELT codec."
+HOMEPAGE = "http://www.opus-codec.org/"
+SECTION = "libs/multimedia"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=6d9f9b3714db6bbcfb6e42170d9c664d"
+
+SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
+SRC_URI[md5sum] = "afbda2fd20dc08e6075db0f60297a137"
+SRC_URI[sha256sum] = "4e379a98ba95bbbfe9087ef10fdd05c8ac9060b6d695f587ea82a7b43a0df4fe"
+
+S = "${WORKDIR}/opus-${PV}"
+
+inherit autotools pkgconfig
+
+require libopus-fpu.inc
+EXTRA_OECONF = "${@get_libopus_fpu_setting(bb, d)}"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH] libopus: add libopus_0.9.10
  2012-05-15  7:00 [meta-oe][PATCH] libopus: add libopus_0.9.10 Radek Dostal
@ 2012-05-24 15:56 ` Radek Dostal
  0 siblings, 0 replies; 2+ messages in thread
From: Radek Dostal @ 2012-05-24 15:56 UTC (permalink / raw)
  To: openembedded-devel

Koen, any more comments to updated version?

Thanks,
Radek

On Tue, May 15, 2012 at 9:00 AM, Radek Dostal <rd@radekdostal.com> wrote:
> Signed-off-by: Radek Dostal <rd@radekdostal.com>
> ---
>  meta-oe/recipes-multimedia/libopus/libopus-fpu.inc |    6 ++++++
>  .../recipes-multimedia/libopus/libopus_0.9.10.bb   |   20 ++++++++++++++++++++
>  2 files changed, 26 insertions(+), 0 deletions(-)
>  create mode 100644 meta-oe/recipes-multimedia/libopus/libopus-fpu.inc
>  create mode 100644 meta-oe/recipes-multimedia/libopus/libopus_0.9.10.bb
>
> diff --git a/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc b/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc
> new file mode 100644
> index 0000000..ed16602
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/libopus/libopus-fpu.inc
> @@ -0,0 +1,6 @@
> +
> +def get_libopus_fpu_setting(bb, d):
> +       if d.getVar('TARGET_FPU', True) in [ 'soft' ]:
> +               return "--enable-fixed-point"
> +       return ""
> +
> diff --git a/meta-oe/recipes-multimedia/libopus/libopus_0.9.10.bb b/meta-oe/recipes-multimedia/libopus/libopus_0.9.10.bb
> new file mode 100644
> index 0000000..392836f
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/libopus/libopus_0.9.10.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "Opus Audio Codec"
> +DESCRIPTION = "The Opus codec is designed for interactive \
> +speech and audio transmission over the Internet. It is \
> +designed by the IETF Codec Working Group and incorporates \
> +technology from Skype's SILK codec and Xiph.Org's CELT codec."
> +HOMEPAGE = "http://www.opus-codec.org/"
> +SECTION = "libs/multimedia"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=6d9f9b3714db6bbcfb6e42170d9c664d"
> +
> +SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
> +SRC_URI[md5sum] = "afbda2fd20dc08e6075db0f60297a137"
> +SRC_URI[sha256sum] = "4e379a98ba95bbbfe9087ef10fdd05c8ac9060b6d695f587ea82a7b43a0df4fe"
> +
> +S = "${WORKDIR}/opus-${PV}"
> +
> +inherit autotools pkgconfig
> +
> +require libopus-fpu.inc
> +EXTRA_OECONF = "${@get_libopus_fpu_setting(bb, d)}"
> --
> 1.7.5.4
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-24 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-15  7:00 [meta-oe][PATCH] libopus: add libopus_0.9.10 Radek Dostal
2012-05-24 15:56 ` Radek Dostal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.