| @@ -1,103 +1,103 @@ | | | @@ -1,103 +1,103 @@ |
1 | # $NetBSD: Makefile,v 1.84 2016/08/10 08:55:37 prlw1 Exp $ | | 1 | # $NetBSD: Makefile,v 1.85 2016/08/19 08:04:04 prlw1 Exp $ |
2 | | | 2 | |
3 | DISTNAME= gtk+-3.20.8 | | 3 | DISTNAME= gtk+-3.20.9 |
4 | PKGNAME= ${DISTNAME:S/gtk/gtk3/} | | 4 | PKGNAME= ${DISTNAME:S/gtk/gtk3/} |
5 | CATEGORIES= x11 gnome | | 5 | CATEGORIES= x11 gnome |
6 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/} | | 6 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/} |
7 | EXTRACT_SUFX= .tar.xz | | 7 | EXTRACT_SUFX= .tar.xz |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://www.gtk.org/ | | 10 | HOMEPAGE= http://www.gtk.org/ |
11 | COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces | | 11 | COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces |
12 | LICENSE= gnu-lgpl-v2.1 | | 12 | LICENSE= gnu-lgpl-v2.1 |
13 | | | 13 | |
14 | USE_PKGLOCALEDIR= yes | | 14 | USE_PKGLOCALEDIR= yes |
15 | USE_TOOLS+= gmake perl pkg-config bash xgettext msgmerge | | 15 | USE_TOOLS+= gmake perl pkg-config bash xgettext msgmerge |
16 | USE_LANGUAGES= c c++ | | 16 | USE_LANGUAGES= c c++ |
17 | USE_LIBTOOL= yes | | 17 | USE_LIBTOOL= yes |
18 | PTHREAD_AUTO_VARS= yes | | 18 | PTHREAD_AUTO_VARS= yes |
19 | BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | | 19 | BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen |
20 | TOOL_DEPENDS+= gettext-tools>=0.19.4nb1:../../devel/gettext-tools | | 20 | TOOL_DEPENDS+= gettext-tools>=0.19.4nb1:../../devel/gettext-tools |
21 | # There is no logic in gettext.mk to detect the native version of xgettext, | | 21 | # 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. | | 22 | # and we do need it to be compiled with Glade support. |
23 | _TOOLS_USE_PKGSRC.xgettext=yes | | 23 | _TOOLS_USE_PKGSRC.xgettext=yes |
24 | | | 24 | |
25 | GNU_CONFIGURE= yes | | 25 | GNU_CONFIGURE= yes |
26 | # XXX there is a subtle bashism in "configure" or a bug in NetBSD's sh | | 26 | # XXX there is a subtle bashism in "configure" or a bug in NetBSD's sh |
27 | CONFIG_SHELL= ${TOOLS_PATH.bash} | | 27 | CONFIG_SHELL= ${TOOLS_PATH.bash} |
28 | CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata | | 28 | CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata |
29 | # Work around build problems, disable unstable PAPI, PR #41608: | | 29 | # Work around build problems, disable unstable PAPI, PR #41608: |
30 | CONFIGURE_ARGS+= --disable-papi | | 30 | CONFIGURE_ARGS+= --disable-papi |
31 | # Avoid regeneration of Makefile.in after configure.ac patch | | 31 | # Avoid regeneration of Makefile.in after configure.ac patch |
32 | CONFIGURE_ARGS+= --disable-maintainer-mode | | 32 | CONFIGURE_ARGS+= --disable-maintainer-mode |
33 | MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} | | 33 | MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR} |
34 | TEST_TARGET= check | | 34 | TEST_TARGET= check |
35 | | | 35 | |
36 | PKGCONFIG_OVERRIDE+= gdk-3.0.pc.in | | 36 | PKGCONFIG_OVERRIDE+= gdk-3.0.pc.in |
37 | PKGCONFIG_OVERRIDE+= gtk+-3.0.pc.in | | 37 | PKGCONFIG_OVERRIDE+= gtk+-3.0.pc.in |
38 | PKGCONFIG_OVERRIDE+= gtk+-unix-print-3.0.pc.in | | 38 | PKGCONFIG_OVERRIDE+= gtk+-unix-print-3.0.pc.in |
39 | PKGCONFIG_OVERRIDE+= gail-3.0.pc.in | | 39 | PKGCONFIG_OVERRIDE+= gail-3.0.pc.in |
40 | | | 40 | |
41 | INSTALLATION_DIRS+= lib/gtk-3.0/immodules | | 41 | INSTALLATION_DIRS+= lib/gtk-3.0/immodules |
42 | INSTALLATION_DIRS+= lib/gtk-3.0/modules | | 42 | INSTALLATION_DIRS+= lib/gtk-3.0/modules |
43 | INSTALLATION_DIRS+= lib/gtk-3.0/3.0.0/filesystems | | 43 | INSTALLATION_DIRS+= lib/gtk-3.0/3.0.0/filesystems |
44 | | | 44 | |
45 | #REQD_DIRS+= ${PREFIX}/libdata/gtk-2.0 | | 45 | #REQD_DIRS+= ${PREFIX}/libdata/gtk-2.0 |
46 | | | 46 | |
47 | BUILD_DIRS= . demos/gtk-demo | | 47 | BUILD_DIRS= . demos/gtk-demo |
48 | | | 48 | |
49 | .include "../../mk/bsd.prefs.mk" | | 49 | .include "../../mk/bsd.prefs.mk" |
50 | | | 50 | |
51 | # gtk/Makefile.am hardcodes 'grep -o' so require GNU grep on platforms | | 51 | # gtk/Makefile.am hardcodes 'grep -o' so require GNU grep on platforms |
52 | # which do not have it. | | 52 | # which do not have it. |
53 | .if ${OPSYS} == "SunOS" | | 53 | .if ${OPSYS} == "SunOS" |
54 | BUILD_DEPENDS+= grep-[0-9]*:../../textproc/grep | | 54 | BUILD_DEPENDS+= grep-[0-9]*:../../textproc/grep |
55 | TOOLS_PATH.grep= ${LOCALBASE}/bin/ggrep | | 55 | TOOLS_PATH.grep= ${LOCALBASE}/bin/ggrep |
56 | .endif | | 56 | .endif |
57 | # isnan and isinf are part of libc, not libm on DragonFly | | 57 | # isnan and isinf are part of libc, not libm on DragonFly |
58 | # conf tests fail detection due to conflicting definitions, just skip them | | 58 | # conf tests fail detection due to conflicting definitions, just skip them |
59 | CONFIGURE_ENV.DragonFly+= ac_cv_func_isinf=yes | | 59 | CONFIGURE_ENV.DragonFly+= ac_cv_func_isinf=yes |
60 | CONFIGURE_ENV.DragonFly+= ac_cv_func_isnan=yes | | 60 | CONFIGURE_ENV.DragonFly+= ac_cv_func_isnan=yes |
61 | | | 61 | |
62 | CFLAGS.SunOS+= -std=gnu99 | | 62 | CFLAGS.SunOS+= -std=gnu99 |
63 | | | 63 | |
64 | CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" | | 64 | CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" |
65 | | | 65 | |
66 | # We remove the module databases during post-install since we create them | | 66 | # We remove the module databases during post-install since we create them |
67 | # anew in the +INSTALL script as part of the POST-INSTALL action. | | 67 | # anew in the +INSTALL script as part of the POST-INSTALL action. |
68 | # | | 68 | # |
69 | post-install: | | 69 | post-install: |
70 | ${RM} -f ${DESTDIR}${GTK3_IMMODULES_DB} | | 70 | ${RM} -f ${DESTDIR}${GTK3_IMMODULES_DB} |
71 | | | 71 | |
72 | _BUILDING_GTK3= yes | | 72 | _BUILDING_GTK3= yes |
73 | .include "modules.mk" | | 73 | .include "modules.mk" |
74 | | | 74 | |
75 | .include "../../databases/shared-mime-info/buildlink3.mk" | | 75 | .include "../../databases/shared-mime-info/buildlink3.mk" |
76 | BUILDLINK_API_DEPENDS.atk+= atk>=2.15.1 | | 76 | BUILDLINK_API_DEPENDS.atk+= atk>=2.15.1 |
77 | .include "../../devel/atk/buildlink3.mk" | | 77 | .include "../../devel/atk/buildlink3.mk" |
78 | .include "../../devel/gettext-lib/buildlink3.mk" | | 78 | .include "../../devel/gettext-lib/buildlink3.mk" |
79 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.45.8 | | 79 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.45.8 |
80 | .include "../../devel/glib2/buildlink3.mk" | | 80 | .include "../../devel/glib2/buildlink3.mk" |
81 | BUILDLINK_API_DEPENDS.gdk-pixbuf2+= gdk-pixbuf2>=2.30.0 | | 81 | BUILDLINK_API_DEPENDS.gdk-pixbuf2+= gdk-pixbuf2>=2.30.0 |
82 | .include "../../graphics/gdk-pixbuf2/buildlink3.mk" | | 82 | .include "../../graphics/gdk-pixbuf2/buildlink3.mk" |
83 | BUILDLINK_DEPMETHOD.gobject-introspection:= build | | 83 | BUILDLINK_DEPMETHOD.gobject-introspection:= build |
84 | BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=1.39.0 | | 84 | BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=1.39.0 |
85 | .include "../../devel/gobject-introspection/buildlink3.mk" | | 85 | .include "../../devel/gobject-introspection/buildlink3.mk" |
86 | | | 86 | |
87 | .include "options.mk" | | 87 | .include "options.mk" |
88 | | | 88 | |
89 | .include "../../devel/glib2/schemas.mk" | | 89 | .include "../../devel/glib2/schemas.mk" |
90 | | | 90 | |
91 | BUILDLINK_API_DEPENDS.pango+= pango>=1.37.3 | | 91 | BUILDLINK_API_DEPENDS.pango+= pango>=1.37.3 |
92 | .include "../../devel/pango/buildlink3.mk" | | 92 | .include "../../devel/pango/buildlink3.mk" |
93 | .include "../../fonts/fontconfig/buildlink3.mk" | | 93 | .include "../../fonts/fontconfig/buildlink3.mk" |
94 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.14.0 | | 94 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.14.0 |
95 | .include "../../graphics/cairo/buildlink3.mk" | | 95 | .include "../../graphics/cairo/buildlink3.mk" |
96 | .include "../../graphics/cairo-gobject/buildlink3.mk" | | 96 | .include "../../graphics/cairo-gobject/buildlink3.mk" |
97 | .include "../../graphics/freetype2/buildlink3.mk" | | 97 | .include "../../graphics/freetype2/buildlink3.mk" |
98 | BUILDLINK_API_DEPENDS.libepoxy+= libepoxy>=1.2nb2 | | 98 | BUILDLINK_API_DEPENDS.libepoxy+= libepoxy>=1.2nb2 |
99 | .include "../../graphics/libepoxy/buildlink3.mk" | | 99 | .include "../../graphics/libepoxy/buildlink3.mk" |
100 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 100 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
101 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | | 101 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" |
102 | | | 102 | |
103 | .include "../../mk/bsd.pkg.mk" | | 103 | .include "../../mk/bsd.pkg.mk" |