Edit

IABSD.fr/ports/graphics/libvips/Makefile

Branch :

  • Show log

    Commit

  • Author : sthen
    Date : 2024-04-15 15:17:46
    Hash : 7cf2a785
    Message : update to libvips-8.14.5, from Brad

  • graphics/libvips/Makefile
  • COMMENT =	fast image processing library with low memory needs
    
    VERSION =	8.14.5
    DISTNAME =	vips-${VERSION}
    PKGNAME =	lib${DISTNAME}
    CATEGORIES =	graphics
    EXTRACT_SUFX =	.tar.xz
    
    SHARED_LIBS += vips                      1.0 # 42.16.3
    SHARED_LIBS += vips-cpp                  1.0 # 42.16.3
    
    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
    
    SITES =	https://github.com/libvips/libvips/releases/download/v${VERSION}/
    
    MODULES =	devel/meson
    
    BUILD_DEPENDS =	devel/gettext,-tools \
    		devel/gobject-introspection
    
    LIB_DEPENDS =	devel/gettext,-runtime \
    		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>