summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-04-07 19:00:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-19 14:14:10 +0100
commit2921dfb021d98d37f8172fcec3a92255bc00452d (patch)
tree11ce64a1918a17891bf876e8a9b867be76f09b42
parentcd760d4d7667d9b2b79723bab5b07180237fc7ed (diff)
downloadpoky-2921dfb021d98d37f8172fcec3a92255bc00452d.tar.gz
libsndfile1: update 1.0.31 -> 1.1.0
(From OE-Core rev: 808d63cf8a2cc4ee7ce22eb0ac18beab01885a04) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/libsndfile/libsndfile1/noopus.patch39
-rw-r--r--meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb (renamed from meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb)5
2 files changed, 28 insertions, 16 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 @@
1We don't have opus in OE-Core which causes all the external libs to be disabled 1From 593256a3e386a4e17fe26cfbfb813cf4996447d7 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Mon, 4 Apr 2022 19:46:44 +0200
4Subject: [PATCH] Disable opus library
5
6We don't have opus in OE-Core which causes all the external libs to be disabled
2silently. The silent issue is discussed in the link below and hints a patch 7silently. The silent issue is discussed in the link below and hints a patch
3to make things configurable may be accepted. 8to make things configurable may be accepted.
4 9
5This patch removing the opus piece at least gets most of the functionality 10This patch removing the opus piece at least gets most of the functionality
6we previously used back whilst the issue is discussed. 11we previously used back whilst the issue is discussed.
7 12
8Upstream-Status: Pending [https://github.com/libsndfile/libsndfile/pull/812] 13Upstream-Status: Denied [https://github.com/libsndfile/libsndfile/pull/812]
9 14
10Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 15Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16Signed-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
12Index: libsndfile-1.0.31/configure.ac 22diff --git a/configure.ac b/configure.ac
13=================================================================== 23index 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 : 53diff --git a/src/ogg_opus.c b/src/ogg_opus.c
43Index: libsndfile-1.0.31/src/ogg_opus.c 54index 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--
672.30.2
68
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb b/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb
index ea14fe29cb..70626b3c16 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.31.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.1.0.bb
@@ -8,13 +8,12 @@ DEPENDS = "flac libogg libvorbis"
8SECTION = "libs/multimedia" 8SECTION = "libs/multimedia"
9LICENSE = "LGPL-2.1-only" 9LICENSE = "LGPL-2.1-only"
10 10
11SRC_URI = "https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.bz2 \ 11SRC_URI = "https://github.com/libsndfile/libsndfile/releases/download/${PV}/libsndfile-${PV}.tar.xz \
12 file://noopus.patch \ 12 file://noopus.patch \
13 " 13 "
14UPSTREAM_CHECK_URI = "https://github.com/libsndfile/libsndfile/releases/" 14UPSTREAM_CHECK_URI = "https://github.com/libsndfile/libsndfile/releases/"
15 15
16SRC_URI[md5sum] = "3f3b2a86a032f064ef922a2c8c191f7b" 16SRC_URI[sha256sum] = "0f98e101c0f7c850a71225fb5feaf33b106227b3d331333ddc9bacee190bcf41"
17SRC_URI[sha256sum] = "a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163"
18 17
19LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a" 18LIC_FILES_CHKSUM = "file://COPYING;md5=e77fe93202736b47c07035910f47974a"
20 19