diff --git a/gnome/gtk3-devel/Portfile b/gnome/gtk3-devel/Portfile
index d5fe438f929..0a0d781b7b7 100644
a
|
b
|
PortGroup xcodeversion 1.0 |
6 | 6 | PortGroup active_variants 1.1 |
7 | 7 | PortGroup compiler_blacklist_versions 1.0 |
8 | 8 | PortGroup legacysupport 1.1 |
| 9 | PortGroup meson 1.0 |
9 | 10 | |
10 | 11 | name gtk3-devel |
11 | 12 | conflicts gtk3 |
12 | 13 | set my_name gtk3 |
13 | | version 3.24.34 |
14 | | revision 2 |
| 14 | version 3.24.37 |
| 15 | revision 0 |
15 | 16 | epoch 0 |
16 | 17 | |
17 | 18 | set proj_name gtk+ |
… |
… |
distname ${proj_name}-${version} |
33 | 34 | dist_subdir ${my_name} |
34 | 35 | use_xz yes |
35 | 36 | master_sites gnome:sources/${proj_name}/${branch}/ |
36 | | |
37 | | checksums rmd160 2060a89575f9adf938bf91e4f06935ea619f7577 \ |
38 | | sha256 dbc69f90ddc821b8d1441f00374dc1da4323a2eafa9078e61edbe5eeefa852ec \ |
39 | | size 21587592 |
| 37 | checksums rmd160 afab13f415e5923bb185d923f3a37734e0f346d7 \ |
| 38 | sha256 6745f0b4c053794151fd0f0e2474b077cccff5f83e9dd1bf3d39fe9fe5fb7f57 \ |
| 39 | size 12401196 |
40 | 40 | |
41 | 41 | minimum_xcodeversions {9 3.1} |
42 | 42 | |
… |
… |
depends_run port:shared-mime-info \ |
59 | 59 | # darwin 10 and earlier requires legacy support for O_CLOEXEC |
60 | 60 | legacysupport.newest_darwin_requires_legacy 10 |
61 | 61 | |
62 | | # use autoreconf to deal with dependency tracking issues in configure |
63 | | use_autoreconf yes |
64 | | autoreconf.args -fvi |
| 62 | patchfiles patch-meson_build.diff |
65 | 63 | |
66 | 64 | # gtk3 +quartz uses instancetype which is not available |
67 | 65 | # before approximately Xcode 4.6 (#49391) |
… |
… |
if {${universal_possible} && [variant_isset universal]} { |
84 | 82 | lappend merger_destroot_args(${arch}) CC_FOR_BUILD='${configure.cc} -arch ${arch}' |
85 | 83 | } |
86 | 84 | } else { |
87 | | build.args-append CC="${configure.cc} ${configure.cc_archflags}" \ |
88 | | CC_FOR_BUILD="${configure.cc} ${configure.cc_archflags}" |
89 | | destroot.args-append CC="${configure.cc} ${configure.cc_archflags}" \ |
90 | | CC_FOR_BUILD="${configure.cc} ${configure.cc_archflags}" |
| 85 | # build.args-append CC="${configure.cc} ${configure.cc_archflags}" \ |
| 86 | # CC_FOR_BUILD="${configure.cc} ${configure.cc_archflags}" |
| 87 | # destroot.args-append CC="${configure.cc} ${configure.cc_archflags}" \ |
| 88 | # CC_FOR_BUILD="${configure.cc} ${configure.cc_archflags}" |
91 | 89 | } |
92 | 90 | |
93 | 91 | pre-configure { |
… |
… |
configure.cppflags-append \ |
104 | 102 | configure.cflags-append \ |
105 | 103 | -fstrict-aliasing |
106 | 104 | |
107 | | configure.args --enable-static \ |
108 | | --disable-glibtest \ |
109 | | --enable-introspection \ |
110 | | --disable-wayland-backend \ |
111 | | --disable-schemas-compile \ |
112 | | gio_can_sniff=yes |
113 | | |
114 | | build.args-append V=1 \ |
115 | | CPP_FOR_BUILD="${configure.cpp}" |
| 105 | configure.args -Dgtk_doc=false \ |
| 106 | -Dman=true \ |
| 107 | -Dintrospection=true \ |
| 108 | -Ddemos=false \ |
| 109 | -Dexamples=false \ |
| 110 | -Dtests=false \ |
| 111 | -Dprofiler=false |
116 | 112 | |
| 113 | # almost all tests failing?? |
117 | 114 | test.run yes |
118 | | test.target check |
| 115 | |
| 116 | destroot.post_args-append -v |
119 | 117 | |
120 | 118 | post-destroot { |
121 | 119 | set docdir ${prefix}/share/doc/${name} |
122 | 120 | xinstall -d ${destroot}${docdir} |
123 | | xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING HACKING NEWS README \ |
| 121 | xinstall -m 644 -W ${worksrcpath} CONTRIBUTING.md COPYING NEWS README.md \ |
124 | 122 | ${destroot}${docdir} |
125 | 123 | |
126 | 124 | # avoid conflict with the gtk-update-icon-cache installed by gtk2 |
… |
… |
platform darwin { |
146 | 144 | } |
147 | 145 | |
148 | 146 | # https://trac.macports.org/ticket/63151 |
149 | | configure.args-append --disable-dependency-tracking |
| 147 | # configure.args-append --disable-dependency-tracking |
150 | 148 | } |
151 | 149 | |
152 | 150 | if {${os.major} <= 10} { |
… |
… |
platform darwin { |
157 | 155 | } |
158 | 156 | if {${os.major} <= 12} { |
159 | 157 | # requires cups 1.7 |
160 | | configure.args-append --disable-cups |
| 158 | configure.args-append -Dprint_backends=file,lpr,test |
161 | 159 | } |
162 | 160 | } |
163 | 161 | |
… |
… |
variant quartz conflicts x11 { |
240 | 238 | require_active_variants path:lib/pkgconfig/cairo.pc:cairo quartz |
241 | 239 | require_active_variants path:lib/pkgconfig/pango.pc:pango quartz |
242 | 240 | |
243 | | configure.args-append --enable-quartz-backend |
| 241 | configure.args-append -Dx11_backend=false \ |
| 242 | -Dquartz_backend=true |
244 | 243 | } |
245 | 244 | |
246 | 245 | variant x11 conflicts quartz { |
… |
… |
variant x11 conflicts quartz { |
256 | 255 | port:xorg-libXfixes \ |
257 | 256 | port:at-spi2-atk |
258 | 257 | |
259 | | configure.args-append --enable-xinerama \ |
260 | | --x-include=${prefix}/include \ |
261 | | --x-lib=${prefix}/lib \ |
262 | | --enable-x11-backend |
| 258 | configure.args-append -Dx11_backend=true \ |
| 259 | -Dquartz_backend=false \ |
| 260 | -Dxinerama=yes |
263 | 261 | } |
264 | 262 | |
265 | 263 | if {![variant_isset quartz]} { |