[meta-multimedia][PATCH] sox: Enable -D_FILE_OFFSET_BITS=64 and depend on libtool


Khem Raj
 

We use 'dyn' for plugins and the logic depends on libltdl support
therefore add the missing depenendency

Fixes
| configure: error: not using libltdl; cannot load alsa dynamically
| See `config.log' for more details

Signed-off-by: Khem Raj <raj.khem@...>
---
meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb
index 0791c85f74..ace8743f3a 100644
--- a/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb
+++ b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb
@@ -4,7 +4,7 @@ and can apply different effects and filters to the audio data."
HOMEPAGE = "http://sox.sourceforge.net"
SECTION = "audio"

-DEPENDS = "libpng ffmpeg libsndfile1"
+DEPENDS = "libpng ffmpeg libsndfile1 libtool"

PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \
magic \
@@ -36,4 +36,7 @@ SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3b

inherit autotools pkgconfig

+# Enable largefile support
+CFLAGS += "-D_FILE_OFFSET_BITS=64"
+
EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "0", "1", d)}"
--
2.37.3

Join {openembedded-devel@lists.openembedded.org to automatically receive all group messages.