diff options
| author | Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> | 2019-09-13 00:03:55 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-09-13 07:00:12 -0700 |
| commit | 8225bc22363b2c10c34d904a7c95bcdd234be711 (patch) | |
| tree | 135dd77d47d100e0e7a5f571b1b61408c7a05101 /meta-oe/recipes-multimedia/libopus/libopus_1.3.1.bb | |
| parent | aa1387e01cd524f9fc5740953dcc5e904a3b1298 (diff) | |
| download | meta-openembedded-8225bc22363b2c10c34d904a7c95bcdd234be711.tar.gz | |
libopus: update to 1.3.1
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/libopus/libopus_1.3.1.bb')
| -rw-r--r-- | meta-oe/recipes-multimedia/libopus/libopus_1.3.1.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/libopus/libopus_1.3.1.bb b/meta-oe/recipes-multimedia/libopus/libopus_1.3.1.bb new file mode 100644 index 0000000000..19ec12c88d --- /dev/null +++ b/meta-oe/recipes-multimedia/libopus/libopus_1.3.1.bb | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | SUMMARY = "Opus Audio Codec" | ||
| 2 | DESCRIPTION = "The Opus codec is designed for interactive \ | ||
| 3 | speech and audio transmission over the Internet. It is \ | ||
| 4 | designed by the IETF Codec Working Group and incorporates \ | ||
| 5 | technology from Skype's SILK codec and Xiph.Org's CELT codec." | ||
| 6 | HOMEPAGE = "http://www.opus-codec.org/" | ||
| 7 | SECTION = "libs/multimedia" | ||
| 8 | LICENSE = "BSD" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=e304cdf74c2a1b0a33a5084c128a23a3" | ||
| 10 | |||
| 11 | SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz" | ||
| 12 | SRC_URI[md5sum] = "d7c07db796d21c9cf1861e0c2b0c0617" | ||
| 13 | SRC_URI[sha256sum] = "65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/opus-${PV}" | ||
| 16 | |||
| 17 | inherit autotools pkgconfig | ||
| 18 | |||
| 19 | PACKAGECONFIG ??= "" | ||
| 20 | PACKAGECONFIG[fixed-point] = "--enable-fixed-point,," | ||
| 21 | PACKAGECONFIG[float-approx] = "--enable-float-approx,," | ||
| 22 | |||
| 23 | EXTRA_OECONF = " \ | ||
| 24 | --with-NE10-includes=${STAGING_DIR_TARGET}${includedir} \ | ||
| 25 | --with-NE10-libraries=${STAGING_DIR_TARGET}${libdir} \ | ||
| 26 | --enable-asm \ | ||
| 27 | --enable-intrinsics \ | ||
| 28 | --enable-custom-modes \ | ||
| 29 | " | ||
| 30 | |||
| 31 | # ne10 is available only for armv7a, armv7ve and aarch64 | ||
| 32 | DEPENDS_append_aarch64 = " ne10" | ||
| 33 | DEPENDS_append_armv7a = " ne10" | ||
| 34 | DEPENDS_append_armv7ve = " ne10" | ||
| 35 | |||
| 36 | python () { | ||
| 37 | if d.getVar('TARGET_FPU') in [ 'soft' ]: | ||
| 38 | d.appendVar('PACKAGECONFIG', ' fixed-point') | ||
| 39 | } | ||
| 40 | |||
| 41 | # Fails to build with thumb-1 (qemuarm) | ||
| 42 | #| {standard input}: Assembler messages: | ||
| 43 | #| {standard input}:389: Error: selected processor does not support Thumb mode `smull r5,r7,r1,r4' | ||
| 44 | #| {standard input}:418: Error: selected processor does not support Thumb mode `smull r5,r6,r4,r1' | ||
| 45 | #| {standard input}:448: Error: selected processor does not support Thumb mode `smull r4,r5,r1,r0' | ||
| 46 | #| {standard input}:474: Error: selected processor does not support Thumb mode `smull r0,r4,r8,r1' | ||
| 47 | #| {standard input}:510: Error: selected processor does not support Thumb mode `smull fp,r0,r10,r1' | ||
| 48 | #| {standard input}:553: Error: selected processor does not support Thumb mode `smull fp,r1,r10,r3' | ||
| 49 | #| {standard input}:741: Error: selected processor does not support Thumb mode `smull r3,r0,r6,r10' | ||
| 50 | #| {standard input}:761: Error: selected processor does not support Thumb mode `smull fp,r2,r3,r9' | ||
| 51 | #| {standard input}:773: Error: selected processor does not support Thumb mode `smull fp,r3,r5,r8' | ||
| 52 | #| make[2]: *** [celt/celt.lo] Error 1 | ||
| 53 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||
| 54 | |||
| 55 | BBCLASSEXTEND = "native nativesdk" | ||
