diff options
Diffstat (limited to 'meta-oe/recipes-multimedia/libopus')
-rw-r--r-- | meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb (renamed from meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb) | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb b/meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb index a24f5e30b6..02958ef023 100644 --- a/meta-oe/recipes-multimedia/libopus/libopus_1.1.3.bb +++ b/meta-oe/recipes-multimedia/libopus/libopus_1.5.2.bb @@ -5,12 +5,11 @@ 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=e304cdf74c2a1b0a33a5084c128a23a3" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://COPYING;md5=4b365c2155d66e550e1447075d6744a5" SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz" -SRC_URI[md5sum] = "32bbb6b557fe1b6066adc0ae1f08b629" -SRC_URI[sha256sum] = "58b6fe802e7e30182e95d0cde890c0ace40b6f125cffc50635f0ad2eef69b633" +SRC_URI[sha256sum] = "65c1d2f78b9f2fb20082c38cbe47c951ad5839345876e46941612ee87f9a7ce1" S = "${WORKDIR}/opus-${PV}" @@ -28,13 +27,14 @@ EXTRA_OECONF = " \ --enable-custom-modes \ " +# ne10 is available only for armv7a, armv7ve and aarch64 +DEPENDS:append:aarch64 = " ne10" +DEPENDS:append:armv7a = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}" +DEPENDS:append:armv7ve = "${@bb.utils.contains("TUNE_FEATURES","neon"," ne10","",d)}" + python () { if d.getVar('TARGET_FPU') in [ 'soft' ]: d.appendVar('PACKAGECONFIG', ' fixed-point') - - # Ne10 is only available for armv7 and aarch64 - if any((t.startswith('armv7') or t.startswith('aarch64')) for t in d.getVar('TUNE_FEATURES').split()): - d.appendVar('DEPENDS', ' ne10') } # Fails to build with thumb-1 (qemuarm) @@ -49,4 +49,8 @@ python () { #| {standard input}:761: Error: selected processor does not support Thumb mode `smull fp,r2,r3,r9' #| {standard input}:773: Error: selected processor does not support Thumb mode `smull fp,r3,r5,r8' #| make[2]: *** [celt/celt.lo] Error 1 -ARM_INSTRUCTION_SET = "arm" +ARM_INSTRUCTION_SET:armv5 = "arm" + +BBCLASSEXTEND = "native nativesdk" + +CVE_PRODUCT += "opus-codec:opus" |