| @@ -1,101 +1,101 @@ | | | @@ -1,101 +1,101 @@ |
1 | # $NetBSD: Makefile,v 1.46 2013/12/08 23:12:15 prlw1 Exp $ | | 1 | # $NetBSD: Makefile,v 1.47 2014/02/12 20:55:20 prlw1 Exp $ |
2 | | | 2 | |
3 | DISTNAME= gtk+-3.10.6 | | 3 | DISTNAME= gtk+-3.10.7 |
4 | PKGNAME= ${DISTNAME:S/gtk/gtk3/} | | 4 | PKGNAME= ${DISTNAME:S/gtk/gtk3/} |
5 | CATEGORIES= x11 gnome | | 5 | CATEGORIES= x11 gnome |
6 | MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/${PKGVERSION_NOREV:R}/ \ | | 6 | MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/${PKGVERSION_NOREV:R}/ \ |
7 | ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/} | | 7 | ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/} |
8 | EXTRACT_SUFX= .tar.xz | | 8 | EXTRACT_SUFX= .tar.xz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.gtk.org/ | | 11 | HOMEPAGE= http://www.gtk.org/ |
12 | COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces | | 12 | COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces |
13 | LICENSE= gnu-lgpl-v2.1 | | 13 | LICENSE= gnu-lgpl-v2.1 |
14 | | | 14 | |
15 | USE_PKGLOCALEDIR= yes | | 15 | USE_PKGLOCALEDIR= yes |
16 | USE_TOOLS+= gmake msgfmt perl pkg-config bash | | 16 | USE_TOOLS+= gmake msgfmt perl pkg-config bash |
17 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
18 | USE_LIBTOOL= yes | | 18 | USE_LIBTOOL= yes |
19 | PTHREAD_AUTO_VARS= yes | | 19 | PTHREAD_AUTO_VARS= yes |
20 | BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen | | 20 | BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen |
21 | | | 21 | |
22 | GNU_CONFIGURE= yes | | 22 | GNU_CONFIGURE= yes |
23 | # XXX there is a subtle bashism in "configure" or a bug in NetBSD's sh | | 23 | # XXX there is a subtle bashism in "configure" or a bug in NetBSD's sh |
24 | CONFIG_SHELL= bash | | 24 | CONFIG_SHELL= bash |
25 | CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata | | 25 | CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/libdata |
26 | # Work around build problems, disable unstable PAPI, PR #41608: | | 26 | # Work around build problems, disable unstable PAPI, PR #41608: |
27 | CONFIGURE_ARGS+= --disable-papi | | 27 | CONFIGURE_ARGS+= --disable-papi |
28 | # XXX for now, to avoid conflict | | 28 | # XXX for now, to avoid conflict |
29 | CONFIGURE_ARGS+= --enable-gtk2-dependency | | 29 | CONFIGURE_ARGS+= --enable-gtk2-dependency |
30 | # Avoid regeneration of Makefile.in after configure.ac patch | | 30 | # Avoid regeneration of Makefile.in after configure.ac patch |
31 | CONFIGURE_ARGS+= --disable-maintainer-mode | | 31 | CONFIGURE_ARGS+= --disable-maintainer-mode |
32 | DEPENDS+= gtk2+-[0-9]*:../../x11/gtk2 | | 32 | DEPENDS+= gtk2+-[0-9]*:../../x11/gtk2 |
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 | .if ${OPSYS} == "DragonFly" | | 59 | .if ${OPSYS} == "DragonFly" |
60 | CONFIGURE_ENV+= ac_cv_func_isnan=yes | | 60 | CONFIGURE_ENV+= ac_cv_func_isnan=yes |
61 | CONFIGURE_ENV+= ac_cv_func_isinf=yes | | 61 | CONFIGURE_ENV+= ac_cv_func_isinf=yes |
62 | .endif | | 62 | .endif |
63 | | | 63 | |
64 | CFLAGS.SunOS+= -std=gnu99 | | 64 | CFLAGS.SunOS+= -std=gnu99 |
65 | | | 65 | |
66 | CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" | | 66 | CPPFLAGS+= -DPREFIX="\"${PREFIX}\"" |
67 | | | 67 | |
68 | # We remove the module databases during post-install since we create them | | 68 | # We remove the module databases during post-install since we create them |
69 | # anew in the +INSTALL script as part of the POST-INSTALL action. | | 69 | # anew in the +INSTALL script as part of the POST-INSTALL action. |
70 | # | | 70 | # |
71 | post-install: | | 71 | post-install: |
72 | ${RM} -f ${DESTDIR}${GTK3_IMMODULES_DB} | | 72 | ${RM} -f ${DESTDIR}${GTK3_IMMODULES_DB} |
73 | | | 73 | |
74 | _BUILDING_GTK3= yes | | 74 | _BUILDING_GTK3= yes |
75 | .include "modules.mk" | | 75 | .include "modules.mk" |
76 | | | 76 | |
77 | .include "../../databases/shared-mime-info/buildlink3.mk" | | 77 | .include "../../databases/shared-mime-info/buildlink3.mk" |
78 | BUILDLINK_API_DEPENDS.atk+= atk>=2.7.5 | | 78 | BUILDLINK_API_DEPENDS.atk+= atk>=2.7.5 |
79 | .include "../../devel/atk/buildlink3.mk" | | 79 | .include "../../devel/atk/buildlink3.mk" |
80 | .include "../../devel/gettext-lib/buildlink3.mk" | | 80 | .include "../../devel/gettext-lib/buildlink3.mk" |
81 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.37.5 | | 81 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.37.5 |
82 | .include "../../devel/glib2/buildlink3.mk" | | 82 | .include "../../devel/glib2/buildlink3.mk" |
83 | BUILDLINK_API_DEPENDS.gdk-pixbuf2+= gdk-pixbuf2>=2.27.1 | | 83 | BUILDLINK_API_DEPENDS.gdk-pixbuf2+= gdk-pixbuf2>=2.27.1 |
84 | .include "../../graphics/gdk-pixbuf2/buildlink3.mk" | | 84 | .include "../../graphics/gdk-pixbuf2/buildlink3.mk" |
85 | BUILDLINK_DEPMETHOD.gobject-introspection:= build | | 85 | BUILDLINK_DEPMETHOD.gobject-introspection:= build |
86 | BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=1.32 | | 86 | BUILDLINK_API_DEPENDS.gobject-introspection+= gobject-introspection>=1.32 |
87 | .include "../../devel/gobject-introspection/buildlink3.mk" | | 87 | .include "../../devel/gobject-introspection/buildlink3.mk" |
88 | | | 88 | |
89 | .include "options.mk" | | 89 | .include "options.mk" |
90 | | | 90 | |
91 | .include "../../devel/glib2/schemas.mk" | | 91 | .include "../../devel/glib2/schemas.mk" |
92 | | | 92 | |
93 | BUILDLINK_API_DEPENDS.pango+= pango>=1.32.4 | | 93 | BUILDLINK_API_DEPENDS.pango+= pango>=1.32.4 |
94 | .include "../../devel/pango/buildlink3.mk" | | 94 | .include "../../devel/pango/buildlink3.mk" |
95 | .include "../../fonts/fontconfig/buildlink3.mk" | | 95 | .include "../../fonts/fontconfig/buildlink3.mk" |
96 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.12.0 | | 96 | BUILDLINK_API_DEPENDS.cairo+= cairo>=1.12.0 |
97 | .include "../../graphics/cairo/buildlink3.mk" | | 97 | .include "../../graphics/cairo/buildlink3.mk" |
98 | .include "../../graphics/cairo-gobject/buildlink3.mk" | | 98 | .include "../../graphics/cairo-gobject/buildlink3.mk" |
99 | .include "../../graphics/freetype2/buildlink3.mk" | | 99 | .include "../../graphics/freetype2/buildlink3.mk" |
100 | | | 100 | |
101 | .include "../../mk/bsd.pkg.mk" | | 101 | .include "../../mk/bsd.pkg.mk" |