pkgsrc/graphics/babl/Makefile
ryoon 59d145051b babl: Update to 0.1.86
Changelog:
2021-02-26 babl-0.1.86
input-class (scanner/RGB) ICC profiles are valid for creating RGB spaces.
improved thread safety for babl_space_from_icc
build: allow using babl a subproject in other meson projects.

2020-12-17 babl-0.1.84
Fixed bug in caching of CMYK ICC profiles.
2021-04-03 05:26:50 +00:00

45 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.39 2021/04/03 05:26:50 ryoon Exp $
DISTNAME= babl-0.1.86
CATEGORIES= graphics
MASTER_SITES= https://download.gimp.org/pub/babl/0.1/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://gegl.org/babl/
COMMENT= Dynamic pixel conversion library
LICENSE= gnu-gpl-v3
USE_TOOLS+= pkg-config
USE_LANGUAGES= c99
MESON_ARGS+= -Dwith-docs=false
MESON_ARGS+= -Denable-gir=false
PKGCONFIG_OVERRIDE+= babl.pc.in
PYTHON_FOR_BUILD_ONLY= tool
.include "../../mk/bsd.prefs.mk"
PLIST_VARS+= Darwin not_Darwin
.if ${OPSYS} == "Darwin"
PLIST.Darwin= yes
PLIST_SUBST+= SOEXT="dylib"
.else
PLIST.not_Darwin= yes
PLIST_SUBST+= SOEXT="so"
.endif
# Apply removals to post-wrapper transformed arguments.
BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,--version-script
BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,babl.map
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,babl.map
.include "../../devel/meson/build.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"