Commit graph

23 commits

Author SHA1 Message Date
Giulio Benetti 88ea277369 package/opus: work around gcc bug 85180
With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. The bug
shows up when building opus with optimization but not when building
with -O0. To work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y we
force using -O0.

Fixes:

  http://autobuild.buildroot.net/results/73dc9610a13d6e14eec58d529617210d93d5dec4/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: tweak CFLAGS logic, improve commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-05-24 22:05:40 +02:00
Peter Korsgaard b594e6a1b7 package/opus: bump version to 1.3.1
Fixes a number of post-1.3 fixes.  For details, see the announcement:

http://lists.xiph.org/pipermail/opus/2019-April/004318.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-04-15 21:40:10 +02:00
Thomas Petazzoni ca9d56f92e package/opus: bump to version 1.3
This Opus 1.3 major release again brings quality improvements, new
features, and bug fixes. Changes since 1.2.x include:

- Improvements to the VAD and speech/music classification using an RNN
- Support for ambisonics coding using channel mapping families 2 and 3
- Improvements to stereo speech coding at low bitrate
- Using wideband encoding down to 9 kb/s
- Making it possible to use SILK down to bitrates around 5 kb/s
- Minor quality improvement on tones
- Enabling the spec fixes in RFC 8251 by default
- Security/hardening improvements

Notable bug fixes include:

- Fixes to the CELT PLC
- Bandwidth detection fixes

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-01 21:09:09 +01:00
Rahul Bedarkar 6911750391 opus: add hash for license file
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-03-30 21:43:31 +02:00
Bernd Kuhls 8c05010395 package/opus: bump version to 1.2.1
Switch upstream URL to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-08-30 22:13:51 +02:00
Rahul Bedarkar 9f59b378a3 boot, package: use SPDX short identifier for BSD-3c
We want to use SPDX identifier for license string as much as possible.
SPDX short identifier for BSD-3c is BSD-3-Clause.

This change is done using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:26:57 +02:00
Peter Korsgaard f00a528ce6 opus: security bump to 1.1.4
Fixes CVE-2017-0381: A remote code execution vulnerability in
silk/NLSF_stabilize.c in libopus in Mediaserver could enable an attacker
using a specially crafted file to cause memory corruption during media file
and data processing.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-01-22 17:52:28 +11:00
Gustavo Zacarias 06cc7bcb22 opus: bump to version 1.1.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-20 22:39:26 +02:00
Thomas Petazzoni d55c6b132e opus: don't use assembly when on ARM, but without ARM instructions
The ARM assembly code in opus uses full ARM instructions, which won't
work on Thumb-2 only platforms such as ARMv7-M, so we disable the
assembly code in such situations.

Fixes:

  http://autobuild.buildroot.net/results/ffa12ab7abadd76901228fc82da24e81bb6da625/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-06 21:44:08 +02:00
Peter Korsgaard 2024d9a620 opus: drop unneeded autoreconf
This was forgotten when the patch to configure.ac was removed in 218938e470
(opus: bump version to 1.1.1).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-06-13 23:33:48 +02:00
Peter Korsgaard 87d813f69a opus: bump to version 1.1.2
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-13 09:33:38 +01:00
Peter Korsgaard 218938e470 opus: bump version to 1.1.1
And drop now upstreamed patch.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-11-27 16:22:23 +01:00
Gustavo Zacarias c07a1bd122 opus: add hash
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-25 19:48:58 +01:00
Peter Korsgaard 298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00
Maxime Hadjinlian 05a710e0d5 packages/*.mk: Remove duplicate options
These flags are already defined in pkg-autotools.mk.
There is no need to have them twice.

[Thomas: restore += instead of = in the opus package, as suggested by
Yann E. Morin.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-19 11:42:36 +02:00
Thomas De Schampheleire aaffd209fa packages: rename FOO_CONF_OPT into FOO_CONF_OPTS
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_CONF_OPT.

Sed command used:
   find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04 18:54:16 +02:00
Sven Neumann 38bab3635a opus: allow to select fixed-point implementation
The default of choosing the fixed-point implementation if
the target hardware does not have floating-point unit is not
always the best choice. Modern ARM hardware has floating
point support but most likely the fixed-point implementation
in Opus will still perform better. In particular if your CPU
supports the NEON extension.

This commit allows to select the fixed-point implementation
manually and sets the default based on the availability of
a floating-point unit.

[Peter: force option for sw float, slightly reword]
Signed-off-by: Sven Neumann <neumann@teufel.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-05 09:34:01 +01:00
Peter Korsgaard ea9e0fe309 opus: fix configure issue with ARM optimization when /bin/sh isn't bash
Fixes http://autobuild.buildroot.net/results/136/1360fefb79ebc7d95ef3a7459be681ac11e1ffb4/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-08 11:08:12 +01:00
Peter Korsgaard 75cc6b7b69 opus: bump version, add license info
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-06 09:31:53 +01:00
Peter Korsgaard 36db329ede opus: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-07-13 21:34:47 +02:00
Alexandre Belloni 8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Peter Korsgaard df6e849d4e opus: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-12-14 23:55:10 +01:00
Peter Korsgaard c226de26ec package: add opus audio codec library
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-11 22:50:05 +02:00