2018-04-28 22:19:09 +02:00
|
|
|
# $NetBSD: Makefile,v 1.279 2018/04/28 20:19:10 wiz Exp $
|
1999-05-05 23:01:46 +02:00
|
|
|
|
2017-05-16 13:47:30 +02:00
|
|
|
DISTNAME= gimp-2.8.22
|
2018-04-28 22:19:09 +02:00
|
|
|
PKGREVISION= 9
|
2003-05-23 20:04:31 +02:00
|
|
|
CATEGORIES= graphics
|
2017-01-19 19:52:01 +01:00
|
|
|
MASTER_SITES= http://download.gimp.org/pub/gimp/v${PKGVERSION_NOREV:R}/
|
2004-03-30 00:16:09 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
1999-05-05 23:01:46 +02:00
|
|
|
|
2004-03-30 00:16:09 +02:00
|
|
|
MAINTAINER= adam@NetBSD.org
|
2017-08-01 16:58:51 +02:00
|
|
|
HOMEPAGE= https://www.gimp.org/
|
2007-10-25 23:06:15 +02:00
|
|
|
COMMENT= The GNU image manipulation program
|
2017-05-16 13:47:30 +02:00
|
|
|
LICENSE= gnu-lgpl-v3 AND gnu-gpl-v3
|
2007-10-25 23:06:15 +02:00
|
|
|
|
2012-09-07 21:16:05 +02:00
|
|
|
BUILD_DEPENDS+= p5-XML-Parser>=2.31nb1:../../textproc/p5-XML-Parser
|
|
|
|
CONFLICTS+= gimp<=1.2.3
|
2007-10-28 18:00:42 +01:00
|
|
|
|
2004-03-30 00:16:09 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
2007-10-25 23:06:15 +02:00
|
|
|
USE_TOOLS+= gmake intltool msgfmt pkg-config
|
2004-03-30 00:16:09 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --disable-perl
|
|
|
|
CONFIGURE_ARGS+= --disable-python
|
2007-11-21 20:52:15 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2009-09-09 19:22:53 +02:00
|
|
|
CONFIGURE_ARGS+= --without-linux-input
|
2012-05-09 20:39:35 +02:00
|
|
|
CONFIGURE_ARGS+= --without-mac-twain
|
2004-03-30 00:16:09 +02:00
|
|
|
|
2012-09-07 21:16:05 +02:00
|
|
|
PKG_SYSCONFSUBDIR= gimp/2.0
|
|
|
|
PKGCONFIG_OVERRIDE= gimp.pc.in
|
2005-08-02 11:54:52 +02:00
|
|
|
UNLIMIT_RESOURCES+= datasize
|
|
|
|
|
2012-09-07 21:16:05 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2004-03-30 00:16:09 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/gimp-2.0
|
2012-05-07 10:40:07 +02:00
|
|
|
.for f in controllerrc gimprc gtkrc menurc sessionrc templaterc unitrc
|
2004-03-30 00:16:09 +02:00
|
|
|
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
# Ensure we export symbols in the linked shared object.
|
|
|
|
LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS}
|
|
|
|
|
2012-05-09 20:39:35 +02:00
|
|
|
PLIST_VARS+= remote
|
2006-07-07 17:14:32 +02:00
|
|
|
|
2012-09-07 21:16:05 +02:00
|
|
|
BUILDLINK_API_DEPENDS.fontconfig+= fontconfig>=2.2.0
|
|
|
|
BUILDLINK_API_DEPENDS.lcms+= lcms>=1.12
|
|
|
|
|
2007-10-25 23:06:15 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2009-01-26 16:22:03 +01:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2007-10-25 23:06:15 +02:00
|
|
|
.include "../../databases/shared-mime-info/mimedb.mk"
|
2004-03-30 00:16:09 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
2007-10-25 23:06:15 +02:00
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
2009-01-24 21:55:05 +01:00
|
|
|
.include "../../graphics/babl/buildlink3.mk"
|
2015-08-25 15:24:26 +02:00
|
|
|
.include "../../graphics/gegl0.2/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2013-08-15 17:37:46 +02:00
|
|
|
.include "../../graphics/jasper/buildlink3.mk"
|
2004-03-30 00:16:09 +02:00
|
|
|
.include "../../graphics/lcms/buildlink3.mk"
|
2007-09-21 15:03:25 +02:00
|
|
|
.include "../../graphics/libart/buildlink3.mk"
|
2004-03-30 00:16:09 +02:00
|
|
|
.include "../../graphics/libexif/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2006-10-12 16:02:09 +02:00
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2004-03-30 00:16:09 +02:00
|
|
|
.include "../../graphics/libwmf/buildlink3.mk"
|
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2008-04-13 00:42:57 +02:00
|
|
|
.if !empty(PKG_BUILD_OPTIONS.gtk2:Mx11)
|
|
|
|
PLIST.remote= yes
|
2007-10-25 23:06:15 +02:00
|
|
|
.include "../../x11/libICE/buildlink3.mk"
|
|
|
|
.include "../../x11/libSM/buildlink3.mk"
|
2007-01-11 10:21:11 +01:00
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2016-04-11 06:41:20 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-xmc
|
|
|
|
CONFIGURE_ARGS+= --without-libxpm
|
2010-11-11 12:40:54 +01:00
|
|
|
.endif
|
2013-12-01 12:58:44 +01:00
|
|
|
.if !empty(PKG_BUILD_OPTIONS.gtk2:Mquartz)
|
|
|
|
.include "../../x11/gtk-mac-integration/buildlink3.mk"
|
|
|
|
.endif
|
2004-03-30 00:16:09 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
1999-05-05 23:01:46 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|