2023-08-16 22:26:55 +00:00
|
|
|
COMMENT = fast image processing library with low memory needs
|
|
|
|
|
2023-08-18 18:38:43 +00:00
|
|
|
VERSION = 8.14.3
|
2023-08-16 22:26:55 +00:00
|
|
|
DISTNAME = vips-${VERSION}
|
|
|
|
PKGNAME = lib${DISTNAME}
|
|
|
|
CATEGORIES = graphics
|
|
|
|
EXTRACT_SUFX = .tar.xz
|
|
|
|
|
2023-08-18 18:38:43 +00:00
|
|
|
SHARED_LIBS += vips 1.0 # 42.16.3
|
|
|
|
SHARED_LIBS += vips-cpp 1.0 # 42.16.3
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
HOMEPAGE = https://libvips.github.io/libvips/
|
|
|
|
|
|
|
|
# LGPLv2+
|
|
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} c cgif expat gio-2.0 glib-2.0 gmodule-2.0
|
|
|
|
WANTLIB += gobject-2.0 imagequant intl jpeg m spng tiff webp webpdemux
|
|
|
|
WANTLIB += webpmux
|
|
|
|
|
2023-09-26 17:06:53 +00:00
|
|
|
SITES = https://github.com/libvips/libvips/releases/download/v${VERSION}/
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
MODULES = devel/meson
|
|
|
|
|
|
|
|
BUILD_DEPENDS = devel/gettext,-tools \
|
|
|
|
devel/gobject-introspection
|
|
|
|
|
|
|
|
LIB_DEPENDS = devel/gettext \
|
|
|
|
devel/glib2 \
|
|
|
|
graphics/cgif \
|
|
|
|
graphics/jpeg \
|
|
|
|
graphics/libimagequant \
|
|
|
|
graphics/libwebp \
|
|
|
|
graphics/libspng \
|
|
|
|
graphics/tiff
|
|
|
|
|
|
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += -Ddefault_library=both \
|
|
|
|
-Dcfitsio=disabled \
|
|
|
|
-Dexif=disabled \
|
|
|
|
-Dfftw=disabled \
|
|
|
|
-Dfontconfig=disabled \
|
|
|
|
-Dgsf=disabled \
|
|
|
|
-Dheif=disabled \
|
|
|
|
-Djpeg-xl=disabled \
|
|
|
|
-Dlcms=disabled \
|
|
|
|
-Dmagick=disabled \
|
|
|
|
-Dmagick-package=disabled \
|
|
|
|
-Dmatio=disabled \
|
|
|
|
-Dnifti=disabled \
|
|
|
|
-Dopenexr=disabled \
|
|
|
|
-Dopenjpeg=disabled \
|
|
|
|
-Dopenslide=disabled \
|
|
|
|
-Dorc=disabled \
|
|
|
|
-Dpangocairo=disabled \
|
|
|
|
-Dpdfium=disabled \
|
|
|
|
-Dpoppler=disabled \
|
|
|
|
-Drsvg=disabled
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|