diff mbox

[4/8] Add libopus

Message ID 1407352737-7959-4-git-send-email-diorcet.yann@gmail.com
State Rejected
Delegated to: Christian Sørensen
Headers show

Commit Message

Yann Diorcet Aug. 6, 2014, 7:18 p.m. UTC
---
 recipes/libopus/libopus.inc          | 14 ++++++++++++++
 recipes/libopus/libopus_1.0.3.oe     |  1 +
 recipes/libopus/libopus_1.0.3.oe.sig |  1 +
 3 files changed, 16 insertions(+)
 create mode 100644 recipes/libopus/libopus.inc
 create mode 100644 recipes/libopus/libopus_1.0.3.oe
 create mode 100644 recipes/libopus/libopus_1.0.3.oe.sig

Comments

christian.braunersorensen@prevas.dk Aug. 19, 2014, 8:34 a.m. UTC | #1
Hi Yann

On 2014-08-06 21:18, Yann Diorcet wrote:
> ---
>   recipes/libopus/libopus.inc          | 14 ++++++++++++++
>   recipes/libopus/libopus_1.0.3.oe     |  1 +
>   recipes/libopus/libopus_1.0.3.oe.sig |  1 +
>   3 files changed, 16 insertions(+)
>   create mode 100644 recipes/libopus/libopus.inc
>   create mode 100644 recipes/libopus/libopus_1.0.3.oe
>   create mode 100644 recipes/libopus/libopus_1.0.3.oe.sig
>
> diff --git a/recipes/libopus/libopus.inc b/recipes/libopus/libopus.inc
> new file mode 100644
> index 0000000..cbe679f
> --- /dev/null
> +++ b/recipes/libopus/libopus.inc
> @@ -0,0 +1,14 @@
> +DESCRIPTION = "Opus is a totally open, royalty-free, highly versatile audio codec."
> +LICENSE = "BSD"
> +
> +RECIPE_TYPES = "machine native"
Why you need to build libopus as native?
> +
> +DEPENDS = "libm"
> +
> +inherit autotools library pkgconfig
> +
> +SRC_URI  = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
> +
> +S = "${SRCDIR}/opus-${PV}"
> +
> +DEPENDS_${PN} += "${DEPENDS}"
Please remember RDEPENDS also.
> diff --git a/recipes/libopus/libopus_1.0.3.oe b/recipes/libopus/libopus_1.0.3.oe
> new file mode 100644
> index 0000000..eb04313
> --- /dev/null
> +++ b/recipes/libopus/libopus_1.0.3.oe
> @@ -0,0 +1 @@
> +require libopus.inc
> diff --git a/recipes/libopus/libopus_1.0.3.oe.sig b/recipes/libopus/libopus_1.0.3.oe.sig
> new file mode 100644
> index 0000000..4752864
> --- /dev/null
> +++ b/recipes/libopus/libopus_1.0.3.oe.sig
> @@ -0,0 +1 @@
> +5781bdd009943deb55a742ac99db20a0d4e89c1e  opus-1.0.3.tar.gz
/Christian
diff mbox

Patch

diff --git a/recipes/libopus/libopus.inc b/recipes/libopus/libopus.inc
new file mode 100644
index 0000000..cbe679f
--- /dev/null
+++ b/recipes/libopus/libopus.inc
@@ -0,0 +1,14 @@ 
+DESCRIPTION = "Opus is a totally open, royalty-free, highly versatile audio codec."
+LICENSE = "BSD"
+
+RECIPE_TYPES = "machine native"
+
+DEPENDS = "libm"
+
+inherit autotools library pkgconfig
+
+SRC_URI  = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
+
+S = "${SRCDIR}/opus-${PV}"
+
+DEPENDS_${PN} += "${DEPENDS}"
diff --git a/recipes/libopus/libopus_1.0.3.oe b/recipes/libopus/libopus_1.0.3.oe
new file mode 100644
index 0000000..eb04313
--- /dev/null
+++ b/recipes/libopus/libopus_1.0.3.oe
@@ -0,0 +1 @@ 
+require libopus.inc
diff --git a/recipes/libopus/libopus_1.0.3.oe.sig b/recipes/libopus/libopus_1.0.3.oe.sig
new file mode 100644
index 0000000..4752864
--- /dev/null
+++ b/recipes/libopus/libopus_1.0.3.oe.sig
@@ -0,0 +1 @@ 
+5781bdd009943deb55a742ac99db20a0d4e89c1e  opus-1.0.3.tar.gz