From 73075706e9769e8db238258c8a1b756e179930d3 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Fri, 31 May 2024 21:40:25 +0200 Subject: [PATCH] package/octave: add optional {Graphics, Image}Magick++ support Signed-off-by: Julien Olivain Signed-off-by: Yann E. MORIN (cherry picked from commit 9f39676bdbd4936669a128c544ade514b3afef6a) Signed-off-by: Peter Korsgaard --- package/octave/octave.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/octave/octave.mk b/package/octave/octave.mk index 9d6e4719c3..f3c4294f2d 100644 --- a/package/octave/octave.mk +++ b/package/octave/octave.mk @@ -26,6 +26,16 @@ else OCTAVE_CONF_OPTS += --without-bz2 endif +ifeq ($(BR2_PACKAGE_GRAPHICSMAGICK),y) +OCTAVE_CONF_OPTS += --with-magick=GraphicsMagick++ +OCTAVE_DEPENDENCIES += graphicsmagick +else ifeq ($(BR2_PACKAGE_IMAGEMAGICK),y) +OCTAVE_CONF_OPTS += --with-magick=ImageMagick++ +OCTAVE_DEPENDENCIES += imagemagick +else +OCTAVE_CONF_OPTS += --without-magick +endif + ifeq ($(BR2_PACKAGE_READLINE),y) OCTAVE_CONF_OPTS += \ --enable-readline \