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
43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2017/08/08 16:52:11 adam Exp $
|
|
|
|
DISTNAME= gdk-pixbuf-${PIXBUF2_VERSION}
|
|
PKGNAME= gdk-pixbuf2-jasper-${PIXBUF2_VERSION}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdk-pixbuf/${MSITE_VERSION}/}
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= ftp://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/
|
|
COMMENT= Image loaders for gtk2 - jasper module
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../graphics/gdk-pixbuf2/distinfo
|
|
PATCHDIR= ${.CURDIR}/../../graphics/gdk-pixbuf2/patches
|
|
|
|
.include "../../graphics/gdk-pixbuf2/Makefile.version"
|
|
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-libjasper
|
|
CONFIGURE_ARGS+= --without-libjpeg
|
|
CONFIGURE_ARGS+= --without-libpng
|
|
CONFIGURE_ARGS+= --without-libtiff
|
|
|
|
BUILD_DIRS= gdk-pixbuf
|
|
BUILD_TARGET= libpixbufloader-jasper.la
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} \
|
|
${DESTDIR}${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders
|
|
cd ${WRKSRC}/gdk-pixbuf && ${LIBTOOL} --mode=install \
|
|
${INSTALL_DATA} libpixbufloader-jasper.la \
|
|
${DESTDIR}${PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders
|
|
|
|
.include "../../graphics/gdk-pixbuf2/loaders.mk"
|
|
|
|
.include "../../databases/shared-mime-info/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.26.0
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../graphics/jasper/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|