Skip to content

Commit 6029759

Browse files
committed
gimp3-devel: update to 3.0.2
1 parent 30c7a2c commit 6029759

File tree

1 file changed

+36
-21
lines changed

1 file changed

+36
-21
lines changed

graphics/gimp3-devel/Portfile

Lines changed: 36 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ PortGroup perl5 1.0
1010
name gimp3-devel
1111
set my_name gimp3
1212
conflicts gimp2 gimp2-devel
13-
version 2.99.rc1
14-
revision 1
13+
version 3.0.2
14+
revision 0
1515
license GPL-3+
1616
categories graphics
1717
maintainers {devans @dbevans} {mascguy @mascguy}
@@ -26,23 +26,20 @@ long_description The GNU Image Manipulation Program (GIMP) is a powerful \
2626
git master.
2727
homepage https://gimp.org/
2828

29-
# TODO: Once 3.0 officially released, eliminate these versions hacks
30-
set branch 3.0
31-
#set branch [join [lrange [split ${version} .] 0 1] .]
29+
set branch [join [lrange [split ${version} .] 0 1] .]
3230
master_sites gimp:gimp/v${branch}/
3331
dist_subdir ${my_name}
34-
distname gimp-3.0.0-RC1
32+
distname gimp-${version}
3533
use_xz yes
3634

37-
checksums rmd160 18f197f32e38304dba69b2d5af62534174892852 \
38-
sha256 b3d0b264c5e38e789faaf3417003397f3240014c59c7f417f9ca3bd39c5ffb66 \
39-
size 28863948
35+
checksums rmd160 db09fecb1251674a5ade556b17faffc00a50511e \
36+
sha256 546ddc30cb2d0e79123c7fcb4d78211e1ee7a6aace91a6a0ad8cbcbf6ea571a2 \
37+
size 27019468
4038

4139
# Disable unexpected download of subprojects
4240
meson.wrap_mode nodownload
4341

4442
depends_build-append \
45-
port:appstream-glib \
4643
port:gettext \
4744
port:gtk-doc \
4845
port:perl${perl5.major} \
@@ -51,6 +48,7 @@ depends_build-append \
5148

5249
depends_lib-append \
5350
port:aalib \
51+
port:appstream-glib \
5452
port:atk \
5553
path:lib/pkgconfig/babl-0.1.pc:babl \
5654
port:bzip2 \
@@ -67,7 +65,9 @@ depends_lib-append \
6765
port:glib-networking \
6866
path:lib/pkgconfig/gobject-introspection-1.0.pc:gobject-introspection \
6967
path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
68+
path:lib/pkgconfig/harfbuzz.pc:harfbuzz \
7069
port:iso-codes \
70+
port:json-glib \
7171
port:lcms2 \
7272
port:libheif \
7373
path:include/turbojpeg.h:libjpeg-turbo \
@@ -82,10 +82,15 @@ depends_lib-append \
8282
port:mypaint-brushes1 \
8383
port:openexr \
8484
port:openjpeg \
85+
path:lib/pkgconfig/pango.pc:pango \
8586
path:lib/pkgconfig/poppler.pc:poppler \
87+
port:shared-mime-info \
8688
port:tiff \
89+
path:bin/vala:vala \
8790
port:webp \
8891
port:xdg-utils \
92+
port:xpm \
93+
port:xz \
8994
port:zlib
9095

9196
depends_run-append \
@@ -140,18 +145,24 @@ if {[vercmp $xcodeversion 4.3] < 0 && [string match "*macports*" ${configure.com
140145

141146
configure.args-append \
142147
-Dalsa=disabled \
143-
-Denable-console-bin=true \
144148
-Dbug-report-url=https://guide.macports.org/#project.tickets \
149+
-Denable-console-bin=true \
145150
-Dgi-docgen=disabled \
146-
-Dg-ir-doc=false \
147151
-Dgudev=disabled \
152+
-Dheif=enabled \
153+
-Djpeg2000=enabled \
154+
-Djpeg-xl=enabled \
155+
-Dheif=enabled \
148156
-Dilbm=disabled \
149157
-Djavascript=disabled \
150158
-Dlibbacktrace=false \
151159
-Dlibunwind=false \
152160
-Dlua=false \
161+
-Dmng=enabled \
162+
-Dopenexr=enabled \
153163
-Dopenmp=disabled \
154-
-Dwebkit-unmaintained=false
164+
-Dwebkit-unmaintained=false \
165+
-Dwebp=enabled
155166

156167
# keep empty GIMP font directory
157168
# silences warning message on startup:
@@ -187,27 +198,32 @@ proc py_setup {py_ver} {
187198
port:py${py_ver_nodot}-gobject3
188199
}
189200

190-
variant python39 description {Build with python plugin support using python 3.9} {
201+
variant python39 conflicts python310 python311 python312 python313 description {Build with python plugin support using python 3.9} {
191202
py_setup 3.9
192203
}
193204

194-
variant python310 description {Build with python plugin support using python 3.10} {
205+
variant python310 conflicts python39 python311 python312 python313 description {Build with python plugin support using python 3.10} {
195206
py_setup 3.10
196207
}
197208

198-
variant python311 description {Build with python plugin support using python 3.11} {
209+
variant python311 conflicts python39 python310 python312 python313 description {Build with python plugin support using python 3.11} {
199210
py_setup 3.11
200211
}
201212

202-
variant python312 description {Build with python plugin support using python 3.12} {
213+
variant python312 conflicts python39 python310 python311 python313 description {Build with python plugin support using python 3.12} {
203214
py_setup 3.12
204215
}
205216

217+
variant python313 conflicts python39 python310 python311 python312 description {Build with python plugin support using python 3.13} {
218+
py_setup 3.13
219+
}
220+
206221
if {![variant_isset python39] && \
207222
![variant_isset python310] && \
208223
![variant_isset python311] && \
209-
![variant_isset python312]} {
210-
default_variants-append +python312
224+
![variant_isset python312] && \
225+
![variant_isset python313]} {
226+
default_variants-append +python313
211227
}
212228

213229
# meson.build uses the GTK+ 3 backend to determine whether to enable X11.
@@ -218,8 +234,7 @@ variant x11 conflicts quartz {
218234
port:xorg-libXcursor \
219235
port:xorg-libXmu \
220236
port:xorg-libXext \
221-
port:xorg-libXfixes \
222-
port:xpm
237+
port:xorg-libXfixes
223238
}
224239

225240
variant quartz conflicts x11 {

0 commit comments

Comments
 (0)