From 53ca5eac8942ba1c882b31a51f344f92746f9b06 Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Thu, 9 Jul 2015 13:43:14 +0300 Subject: speex: 1.2rc1 -> 1.2rc2 Dropped speex-fpu.inc, since it's simpler to put the logic directly in the .bb file. LIC_FILES_CHKSUM changed due to whitespace changes only. Dropped PR. Added a dependency on speexdsp. The speexdsp functionality used to be included in speex, but upstream split the speexdsp package off into a separate source tree. speexdsp could otherwise be an optional dependency, but the upstream configure script doesn't support disabling it explicitly, and relying on automatic detection would make builds nondeterministic, so it's better to always enable it. --enable-fixed-point was previously included in the configure options unconditionally, but the option should be used only when TARGET_FPU is set to "soft". --with-ogg-libraries, --with-ogg-includes and --disable-oggtest aren't supported anymore, since speex now uses pkg-config to find libogg. (From OE-Core rev: c79cc4ab8455652d2ebd1132fdc868cf80ff81d0) Signed-off-by: Tanu Kaskinen Signed-off-by: Richard Purdie --- meta/recipes-multimedia/speex/speex-fpu.inc | 4 ---- meta/recipes-multimedia/speex/speex_1.2rc1.bb | 23 ----------------------- meta/recipes-multimedia/speex/speex_1.2rc2.bb | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+), 27 deletions(-) delete mode 100644 meta/recipes-multimedia/speex/speex-fpu.inc delete mode 100644 meta/recipes-multimedia/speex/speex_1.2rc1.bb create mode 100644 meta/recipes-multimedia/speex/speex_1.2rc2.bb (limited to 'meta') diff --git a/meta/recipes-multimedia/speex/speex-fpu.inc b/meta/recipes-multimedia/speex/speex-fpu.inc deleted file mode 100644 index 2571d32484..0000000000 --- a/meta/recipes-multimedia/speex/speex-fpu.inc +++ /dev/null @@ -1,4 +0,0 @@ -def get_speex_fpu_setting(bb, d): - if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]: - return "--enable-fixed-point --disable-float-api --disable-vbr" - return "" diff --git a/meta/recipes-multimedia/speex/speex_1.2rc1.bb b/meta/recipes-multimedia/speex/speex_1.2rc1.bb deleted file mode 100644 index 5ff50b7383..0000000000 --- a/meta/recipes-multimedia/speex/speex_1.2rc1.bb +++ /dev/null @@ -1,23 +0,0 @@ -SUMMARY = "Speech Audio Codec" -DESCRIPTION = "Speex is an Open Source/Free Software patent-free audio compression format designed for speech." -HOMEPAGE = "http://www.speex.org" -SECTION = "libs" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8 \ - file://include/speex/speex.h;beginline=1;endline=34;md5=a68129f78d7fe66e07163f73aba143b3" -DEPENDS = "libogg" - -PR = "r2" - -SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-${PV}.tar.gz" - -SRC_URI[md5sum] = "c4438b22c08e5811ff10e2b06ee9b9ae" -SRC_URI[sha256sum] = "342f30dc57bd4a6dad41398365baaa690429660b10d866b7d508e8f1179cb7a6" - -inherit autotools pkgconfig lib_package - -EXTRA_OECONF = " --enable-fixed-point --with-ogg-libraries=${STAGING_LIBDIR} \ - --with-ogg-includes=${STAGING_INCDIR} --disable-oggtest" - -require speex-fpu.inc -EXTRA_OECONF += "${@get_speex_fpu_setting(bb, d)}" diff --git a/meta/recipes-multimedia/speex/speex_1.2rc2.bb b/meta/recipes-multimedia/speex/speex_1.2rc2.bb new file mode 100644 index 0000000000..f7d23dbd7c --- /dev/null +++ b/meta/recipes-multimedia/speex/speex_1.2rc2.bb @@ -0,0 +1,19 @@ +SUMMARY = "Speech Audio Codec" +DESCRIPTION = "Speex is an Open Source/Free Software patent-free audio compression format designed for speech." +HOMEPAGE = "http://www.speex.org" +SECTION = "libs" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=314649d8ba9dd7045dfb6683f298d0a8 \ + file://include/speex/speex.h;beginline=1;endline=34;md5=ef8c8ea4f7198d71cf3509c6ed05ea50" +DEPENDS = "libogg speexdsp" + +SRC_URI = "http://downloads.us.xiph.org/releases/speex/speex-${PV}.tar.gz" + +SRC_URI[md5sum] = "6ae7db3bab01e1d4b86bacfa8ca33e81" +SRC_URI[sha256sum] = "caa27c7247ff15c8521c2ae0ea21987c9e9710a8f2d3448e8b79da9806bce891" + +inherit autotools pkgconfig lib_package + +EXTRA_OECONF = "\ + ${@bb.utils.contains('TARGET_FPU', 'soft', '--enable-fixed-point --disable-float-api --disable-vbr', '', d)} \ +" -- cgit 1.2.3-korg