2d6a4cef17
* jpeg: restore grayscale image support * bmp: Tighten image dimension checks * ico: Fixo icon quality sorting * Various other leak and overflow fixes * Add some assertion to help static analysis * Remove support for building on various obsolete platforms * Translation updates 2.36.7: * Add tests for recent bug fixes * ico, bmp, tiff: avoid integer overflows * jpeg: error out if wrong number of channels * Misc.bugfixes * Support mimetypes: image/wmf, image/emf * Translation updates
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2017/08/08 16:52:11 adam Exp $
|
|
|
|
DISTNAME= gdk-pixbuf-${PIXBUF2_VERSION}
|
|
PKGNAME= gdk-pixbuf2-xlib-${PIXBUF2_VERSION}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdk-pixbuf/${MSITE_VERSION}/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.gnome.org/
|
|
COMMENT= Image loaders for gtk2
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PATCHDIR= ${.CURDIR}/../../graphics/gdk-pixbuf2/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../graphics/gdk-pixbuf2/distinfo
|
|
BUILD_DIRS= contrib/gdk-pixbuf-xlib
|
|
INSTALL_DIRS= contrib/gdk-pixbuf-xlib
|
|
|
|
CONFLICTS+= gtk2+<2.22
|
|
|
|
.include "../../graphics/gdk-pixbuf2/Makefile.version"
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_PKGLOCALEDIR= yes
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --without-libjpeg
|
|
CONFIGURE_ARGS+= --without-libpng
|
|
CONFIGURE_ARGS+= --without-libtiff
|
|
CONFIGURE_ARGS+= --with-x11
|
|
PKGCONFIG_OVERRIDE+= contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-2.0.pc.in
|
|
PKGCONFIG_OVERRIDE+= gdk-pixbuf-2.0.pc.in
|
|
|
|
.include "../../databases/shared-mime-info/buildlink3.mk"
|
|
.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|