| @@ -1,33 +1,35 @@ | | | @@ -1,33 +1,35 @@ |
1 | # $NetBSD: Makefile,v 1.77 2016/04/24 10:48:06 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.78 2016/05/26 14:25:22 khorben Exp $ |
2 | | | 2 | |
3 | DISTNAME= gtk+-3.20.3 | | 3 | DISTNAME= gtk+-3.20.3 |
4 | PKGNAME= ${DISTNAME:S/gtk/gtk3/} | | 4 | PKGNAME= ${DISTNAME:S/gtk/gtk3/} |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= x11 gnome | | 6 | CATEGORIES= x11 gnome |
6 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/} |
7 | EXTRACT_SUFX= .tar.xz | | 8 | EXTRACT_SUFX= .tar.xz |
8 | | | 9 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.gtk.org/ | | 11 | HOMEPAGE= http://www.gtk.org/ |
11 | COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces | | 12 | COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces |
12 | LICENSE= gnu-lgpl-v2.1 | | 13 | LICENSE= gnu-lgpl-v2.1 |
13 | | | 14 | |
14 | USE_PKGLOCALEDIR= yes | | 15 | USE_PKGLOCALEDIR= yes |
15 | USE_TOOLS+= gmake perl pkg-config bash xgettext msgmerge | | 16 | USE_TOOLS+= gmake perl pkg-config bash xgettext msgmerge |
16 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
17 | USE_LIBTOOL= yes | | 18 | USE_LIBTOOL= yes |
18 | PTHREAD_AUTO_VARS= yes | | 19 | PTHREAD_AUTO_VARS= yes |
19 | BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | | 20 | BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen |
20 | TOOL_DEPENDS+= gettext-tools>=0.19.4nb1:../../devel/gettext-tools | | 21 | TOOL_DEPENDS+= gettext-tools>=0.19.4nb1:../../devel/gettext-tools |
| | | 22 | DEPENDS+= adwaita-icon-theme-[0-9]*:../../graphics/adwaita-icon-theme |
21 | # There is no logic in gettext.mk to detect the native version of xgettext, | | 23 | # There is no logic in gettext.mk to detect the native version of xgettext, |
22 | # and we do need it to be compiled with Glade support. | | 24 | # and we do need it to be compiled with Glade support. |
23 | _TOOLS_USE_PKGSRC.xgettext=yes | | 25 | _TOOLS_USE_PKGSRC.xgettext=yes |
24 | | | 26 | |
25 | GNU_CONFIGURE= yes | | 27 | GNU_CONFIGURE= yes |
26 | # XXX there is a subtle bashism in "configure" or a bug in NetBSD's sh | | 28 | # XXX there is a subtle bashism in "configure" or a bug in NetBSD's sh |
27 | CONFIG_SHELL= ${TOOLS_PATH.bash} | | 29 | CONFIG_SHELL= ${TOOLS_PATH.bash} |
28 | CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata | | 30 | CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata |
29 | # Work around build problems, disable unstable PAPI, PR #41608: | | 31 | # Work around build problems, disable unstable PAPI, PR #41608: |
30 | CONFIGURE_ARGS+= --disable-papi | | 32 | CONFIGURE_ARGS+= --disable-papi |
31 | # Avoid regeneration of Makefile.in after configure.ac patch | | 33 | # Avoid regeneration of Makefile.in after configure.ac patch |
32 | CONFIGURE_ARGS+= --disable-maintainer-mode | | 34 | CONFIGURE_ARGS+= --disable-maintainer-mode |
33 | MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} | | 35 | MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} |