mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/libvips: add {image, graphics}magick optional dependencies
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
adc0e0c6af
commit
d2e8cd7997
@@ -23,7 +23,6 @@ LIBVIPS_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) $(LIBVIPS_CXXFLAGS)" \
|
|||||||
LIBVIPS_CONF_OPTS = \
|
LIBVIPS_CONF_OPTS = \
|
||||||
--without-dmalloc \
|
--without-dmalloc \
|
||||||
--without-gsf \
|
--without-gsf \
|
||||||
--without-magick \
|
|
||||||
--without-orc \
|
--without-orc \
|
||||||
--without-lcms \
|
--without-lcms \
|
||||||
--without-OpenEXR \
|
--without-OpenEXR \
|
||||||
@@ -52,6 +51,20 @@ else
|
|||||||
LIBVIPS_CONF_OPTS += --disable-introspection
|
LIBVIPS_CONF_OPTS += --disable-introspection
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_IMAGEMAGICK),y)
|
||||||
|
LIBVIPS_CONF_OPTS += \
|
||||||
|
--with-magick \
|
||||||
|
--with-magickpackage=MagickCore
|
||||||
|
LIBVIPS_DEPENDENCIES += imagemagick
|
||||||
|
else ifeq ($(BR2_PACKAGE_GRAPHICSMAGICK),y)
|
||||||
|
LIBVIPS_CONF_OPTS += \
|
||||||
|
--with-magick \
|
||||||
|
--with-magickpackage=GraphicsMagick
|
||||||
|
LIBVIPS_DEPENDENCIES += graphicsmagick
|
||||||
|
else
|
||||||
|
LIBVIPS_CONF_OPTS += --without-magick
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_JPEG),y)
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
||||||
LIBVIPS_CONF_OPTS += --with-jpeg
|
LIBVIPS_CONF_OPTS += --with-jpeg
|
||||||
LIBVIPS_DEPENDENCIES += jpeg
|
LIBVIPS_DEPENDENCIES += jpeg
|
||||||
|
|||||||
Reference in New Issue
Block a user