diff options
Diffstat (limited to 'meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch')
-rw-r--r-- | meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch b/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch index 6bcb932429..cb1778bede 100644 --- a/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch +++ b/meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch | |||
@@ -1,19 +1,29 @@ | |||
1 | We don't have opus in OE-Core which causes all the external libs to be disabled | 1 | From 593256a3e386a4e17fe26cfbfb813cf4996447d7 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Mon, 4 Apr 2022 19:46:44 +0200 | ||
4 | Subject: [PATCH] Disable opus library | ||
5 | |||
6 | We don't have opus in OE-Core which causes all the external libs to be disabled | ||
2 | silently. The silent issue is discussed in the link below and hints a patch | 7 | silently. The silent issue is discussed in the link below and hints a patch |
3 | to make things configurable may be accepted. | 8 | to make things configurable may be accepted. |
4 | 9 | ||
5 | This patch removing the opus piece at least gets most of the functionality | 10 | This patch removing the opus piece at least gets most of the functionality |
6 | we previously used back whilst the issue is discussed. | 11 | we previously used back whilst the issue is discussed. |
7 | 12 | ||
8 | Upstream-Status: Pending [https://github.com/libsndfile/libsndfile/pull/812] | 13 | Upstream-Status: Denied [https://github.com/libsndfile/libsndfile/pull/812] |
9 | 14 | ||
10 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> | 15 | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
16 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
17 | --- | ||
18 | configure.ac | 10 +++++----- | ||
19 | src/ogg_opus.c | 2 +- | ||
20 | 2 files changed, 6 insertions(+), 6 deletions(-) | ||
11 | 21 | ||
12 | Index: libsndfile-1.0.31/configure.ac | 22 | diff --git a/configure.ac b/configure.ac |
13 | =================================================================== | 23 | index 727b67bc..f9d2e447 100644 |
14 | --- libsndfile-1.0.31.orig/configure.ac | 24 | --- a/configure.ac |
15 | +++ libsndfile-1.0.31/configure.ac | 25 | +++ b/configure.ac |
16 | @@ -361,13 +361,13 @@ AS_IF([test -n "$PKG_CONFIG"], [ | 26 | @@ -373,13 +373,13 @@ AS_IF([test -n "$PKG_CONFIG"], [ |
17 | enable_external_libs=yes | 27 | enable_external_libs=yes |
18 | ]) | 28 | ]) |
19 | 29 | ||
@@ -31,19 +41,19 @@ Index: libsndfile-1.0.31/configure.ac | |||
31 | 41 | ||
32 | if test x$ac_cv_speex = "xyes" ; then | 42 | if test x$ac_cv_speex = "xyes" ; then |
33 | EXTERNAL_XIPH_REQUIRE="$EXTERNAL_XIPH_REQUIRE speex" | 43 | EXTERNAL_XIPH_REQUIRE="$EXTERNAL_XIPH_REQUIRE speex" |
34 | @@ -716,7 +716,7 @@ AC_MSG_RESULT([ | 44 | @@ -788,7 +788,7 @@ AC_MSG_RESULT([ |
35 | 45 | ||
36 | Experimental code : ................... ${enable_experimental:-no} | 46 | Experimental code : ................... ${enable_experimental:-no} |
37 | Using ALSA in example programs : ...... ${enable_alsa:-no} | 47 | Using ALSA in example programs : ...... ${enable_alsa:-no} |
38 | - External FLAC/Ogg/Vorbis/Opus : ....... ${enable_external_libs:-no} | 48 | - External FLAC/Ogg/Vorbis/Opus : ....... ${enable_external_libs:-no} |
39 | + External FLAC/Ogg/Vorbis : ....... ${enable_external_libs:-no} | 49 | + External FLAC/Ogg/Vorbis : ....... ${enable_external_libs:-no} |
50 | External MPEG Lame/MPG123 : ........... ${enable_mpeg:-no} | ||
40 | Building Octave interface : ........... ${OCTAVE_BUILD} | 51 | Building Octave interface : ........... ${OCTAVE_BUILD} |
41 | 52 | ||
42 | Tools : | 53 | diff --git a/src/ogg_opus.c b/src/ogg_opus.c |
43 | Index: libsndfile-1.0.31/src/ogg_opus.c | 54 | index dfa446ee..0d4fe57b 100644 |
44 | =================================================================== | 55 | --- a/src/ogg_opus.c |
45 | --- libsndfile-1.0.31.orig/src/ogg_opus.c | 56 | +++ b/src/ogg_opus.c |
46 | +++ libsndfile-1.0.31/src/ogg_opus.c | ||
47 | @@ -159,7 +159,7 @@ | 57 | @@ -159,7 +159,7 @@ |
48 | #include "sfendian.h" | 58 | #include "sfendian.h" |
49 | #include "common.h" | 59 | #include "common.h" |
@@ -53,3 +63,6 @@ Index: libsndfile-1.0.31/src/ogg_opus.c | |||
53 | 63 | ||
54 | #include <ogg/ogg.h> | 64 | #include <ogg/ogg.h> |
55 | #include <opus/opus.h> | 65 | #include <opus/opus.h> |
66 | -- | ||
67 | 2.30.2 | ||
68 | |||