From ef0689b95efcf6ebdab43c22b8000def92fe3e59 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Wed, 23 May 2012 09:52:21 +0200 Subject: [PATCH] Add AMR openembedded recipes --- build/openembedded/msamr-common.inc | 18 ++++++++++++++++++ build/openembedded/msamr_git+wb.bb | 8 ++++++++ build/openembedded/msamr_git.bb | 6 ++++++ build/openembedded/opencore-amr_0.1.3.bb | 11 +++++++++++ build/openembedded/vo-amrwbenc_0.1.2.bb | 12 ++++++++++++ 5 files changed, 55 insertions(+) create mode 100644 build/openembedded/msamr-common.inc create mode 100644 build/openembedded/msamr_git+wb.bb create mode 100644 build/openembedded/msamr_git.bb create mode 100644 build/openembedded/opencore-amr_0.1.3.bb create mode 100644 build/openembedded/vo-amrwbenc_0.1.2.bb diff --git a/build/openembedded/msamr-common.inc b/build/openembedded/msamr-common.inc new file mode 100644 index 000000000..c918ad095 --- /dev/null +++ b/build/openembedded/msamr-common.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "Mediastreamer2 plugin adding support for AMR codec" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPL3" + +DEPENDS = "opencore-amr" +DEPENDS_append_wideband = " vo-amrwbenc" + +MSAMR_WIDEBAND = "" +MSAMR_WIDEBAND_wideband = "--enable-wideband" + +EXTRA_OECONF = "\ + ${MSAMR_WIDEBAND} \ + " + +FILES_${PN} = "${libdir}/mediastreamer/plugins/*.so.*" +FILES_${PN}-dev = "${libdir}/mediastreamer/plugins/*.la ${libdir}/mediastreamer/plugins/*.so" +inherit autotools pkgconfig diff --git a/build/openembedded/msamr_git+wb.bb b/build/openembedded/msamr_git+wb.bb new file mode 100644 index 000000000..5c40aed1e --- /dev/null +++ b/build/openembedded/msamr_git+wb.bb @@ -0,0 +1,8 @@ +PR = "r1" +SRC_URI = "git://git.linphone.org/msamr.git;protocol=git" +SRCREV = "HEAD" +S = "${WORKDIR}/git" + +OVERRIDES_append = ":wideband" + +require msamr-common.inc diff --git a/build/openembedded/msamr_git.bb b/build/openembedded/msamr_git.bb new file mode 100644 index 000000000..56592e035 --- /dev/null +++ b/build/openembedded/msamr_git.bb @@ -0,0 +1,6 @@ +PR = "r1" +SRC_URI = "git://git.linphone.org/msamr.git;protocol=git" +SRCREV = "HEAD" +S = "${WORKDIR}/git" + +require msamr-common.inc diff --git a/build/openembedded/opencore-amr_0.1.3.bb b/build/openembedded/opencore-amr_0.1.3.bb new file mode 100644 index 000000000..d6d95275d --- /dev/null +++ b/build/openembedded/opencore-amr_0.1.3.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "OpenCORE Adaptive Multi Rate (AMR) speech codec library implementation" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "Apache" + +PR = "r1" +SRC_URI = "${SOURCEFORGE_MIRROR}/opencore-amr/${PN}-${PV}.tar.gz" + +inherit autotools pkgconfig +SRC_URI[md5sum] = "09d2c5dfb43a9f6e9fec8b1ae678e725" +SRC_URI[sha256sum] = "106bf811c1f36444d7671d8fd2589f8b2e0cca58a2c764da62ffc4a070595385" diff --git a/build/openembedded/vo-amrwbenc_0.1.2.bb b/build/openembedded/vo-amrwbenc_0.1.2.bb new file mode 100644 index 000000000..2c4860ec3 --- /dev/null +++ b/build/openembedded/vo-amrwbenc_0.1.2.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "VisualOn AMR-WB encoder library" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "Apache" +DEPENDS = "opencore-amr" + +PR = "r1" +SRC_URI = "${SOURCEFORGE_MIRROR}/opencore-amr/${PN}-${PV}.tar.gz" + +inherit autotools pkgconfig +SRC_URI[md5sum] = "588205f686adc23532e31fe3646ddcb6" +SRC_URI[sha256sum] = "dd8c33e57bc415754f31fbb1b1536563bf731fc14e55f8182564e4c0fbb26435"