From 9f39676bdbd4936669a128c544ade514b3afef6a 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 --- package/octave/octave.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/octave/octave.mk b/package/octave/octave.mk index a087961be9..6a21bef7b8 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 \