aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 18:57:00 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 19:22:36 +0000
commit1107a3cf1554e900c15f58859d31e8381540e6b3 (patch)
treef06267b24bf05b601943c67ad11fbe938b359ef7
parentf674c58d81ad90fad0b3914de5c2de65737dfdb0 (diff)
downloadports-1107a3cf1554e900c15f58859d31e8381540e6b3.tar.gz
ports-1107a3cf1554e900c15f58859d31e8381540e6b3.zip
graphics/vips: Add IMAGEQUANT option
PR: 268908 Reported by: jbeich
-rw-r--r--graphics/vips/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/vips/Makefile b/graphics/vips/Makefile
index 110fe03f472d..2758122ab57b 100644
--- a/graphics/vips/Makefile
+++ b/graphics/vips/Makefile
@@ -22,7 +22,6 @@ USE_GNOME= glib20
CONFIGURE_ARGS= --disable-introspection \
--without-doxygen \
- --without-imagequant \
--without-nifti \
--without-openslide \
--without-pdfium
@@ -33,11 +32,12 @@ PLIST_SUB= VERSION=${PORTVERSION:R}
SHEBANG_FILES= tools/vips-${PORTVERSION:R} tools/vipsprofile
-OPTIONS_DEFINE= CFITSIO DEBUG DOCS FFTW GIF GSF HEIF JPEG JXL LCMS2 LIBEXIF LIBRSVG2 MATIO OPENEXR ORC PANGO PNG POPPLER TIFF WEBP X11
+OPTIONS_DEFINE= CFITSIO DEBUG DOCS FFTW GIF GSF HEIF IMAGEQUANT JPEG JXL LCMS2 LIBEXIF LIBRSVG2 MATIO OPENEXR ORC PANGO PNG POPPLER TIFF WEBP X11
OPTIONS_RADIO= MAGICK
OPTIONS_RADIO_MAGICK= IMAGEMAGICK GRAPHMAGICK
OPTIONS_DEFAULT=CFITSIO FFTW GIF GSF HEIF IMAGEMAGICK JPEG JXL LCMS2 LIBEXIF LIBRSVG2 MATIO OPENEXR ORC PANGO PNG POPPLER TIFF WEBP X11
GSF_DESC= Structured file formats support
+IMAGEQUANT_DESC=Image Quantization support
ORC_DESC= ORC language support
MATIO_DESC= Matlab MAT format support
@@ -59,6 +59,8 @@ HEIF_CONFIGURE_WITH= heif
HEIF_LIB_DEPENDS= libheif.so:graphics/libheif
IMAGEMAGICK_CONFIGURE_ON= --with-magickpackage=MagickCore
IMAGEMAGICK_USES= magick
+IMAGEQUANT_CONFIGURE_WITH= imagequant
+IMAGEQUANT_LIB_DEPENDS= libimagequant.so:graphics/libimagequant
JPEG_CONFIGURE_WITH= jpeg
JPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
JPEG_USES= jpeg