From c8eeb96df2d2a3e76537e88768d7fce4e1dfce6b Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Fri, 12 Jul 2024 23:48:38 +0200 Subject: [PATCH] package/octave: add optional libsndfile support GNU Octave supports the --with-sndfile configure option since v4.0.0. For reference, commit 40ea68b4b2 "package/octave: new package" introduced the package at v7.1.0. This commits adds this optional support. Signed-off-by: Julien Olivain Signed-off-by: Thomas Petazzoni (cherry picked from commit a5ce48fe456d790612c9b63990f0a4f3e2faa554) Signed-off-by: Peter Korsgaard --- package/octave/octave.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/octave/octave.mk b/package/octave/octave.mk index e5b1b2607d..f050546709 100644 --- a/package/octave/octave.mk +++ b/package/octave/octave.mk @@ -43,6 +43,13 @@ else OCTAVE_CONF_OPTS += --without-curl endif +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +OCTAVE_CONF_OPTS += --with-sndfile +OCTAVE_DEPENDENCIES += libsndfile +else +OCTAVE_CONF_OPTS += --without-sndfile +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) OCTAVE_CONF_OPTS += --with-openssl=yes OCTAVE_DEPENDENCIES += openssl