mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
build: Enable IFF format on Windows
Now that libiff and libilbm have been added to the MSYS2 repositories, the plug-in can be built automatically on Windows.
This commit is contained in:
parent
43a5b92c65
commit
f947109f92
4 changed files with 17 additions and 2 deletions
|
@ -40,6 +40,8 @@ crossroad install appstream-glib \
|
||||||
gobject-introspection-runtime \
|
gobject-introspection-runtime \
|
||||||
iso-codes \
|
iso-codes \
|
||||||
libheif \
|
libheif \
|
||||||
|
libiff \
|
||||||
|
libilbm \
|
||||||
libjxl \
|
libjxl \
|
||||||
$LIBMNG \
|
$LIBMNG \
|
||||||
libmypaint mypaint-brushes \
|
libmypaint mypaint-brushes \
|
||||||
|
|
|
@ -50,6 +50,8 @@ pacman --noconfirm -S --needed \
|
||||||
mingw-w64-$MSYS2_ARCH-lensfun \
|
mingw-w64-$MSYS2_ARCH-lensfun \
|
||||||
mingw-w64-$MSYS2_ARCH-libarchive \
|
mingw-w64-$MSYS2_ARCH-libarchive \
|
||||||
mingw-w64-$MSYS2_ARCH-libheif \
|
mingw-w64-$MSYS2_ARCH-libheif \
|
||||||
|
mingw-w64-$MSYS2_ARCH-libiff \
|
||||||
|
mingw-w64-$MSYS2_ARCH-libilbm \
|
||||||
mingw-w64-$MSYS2_ARCH-libjxl \
|
mingw-w64-$MSYS2_ARCH-libjxl \
|
||||||
mingw-w64-$MSYS2_ARCH-libmypaint \
|
mingw-w64-$MSYS2_ARCH-libmypaint \
|
||||||
mingw-w64-$MSYS2_ARCH-libspiro \
|
mingw-w64-$MSYS2_ARCH-libspiro \
|
||||||
|
|
|
@ -718,7 +718,13 @@ if have_qoi
|
||||||
MIMEtypes += 'image/qoi'
|
MIMEtypes += 'image/qoi'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
have_ilbm = cc.has_header('libilbm/ilbm.h', required: get_option('ilbm'))
|
libiff = dependency('libiff', required: get_option('ilbm'))
|
||||||
|
libilbm = dependency('libilbm', required: get_option('ilbm'))
|
||||||
|
if libiff.found() and libilbm.found()
|
||||||
|
have_ilbm = true
|
||||||
|
else
|
||||||
|
have_ilbm = cc.has_header('libilbm/ilbm.h', required: get_option('ilbm'))
|
||||||
|
endif
|
||||||
if have_ilbm
|
if have_ilbm
|
||||||
MIMEtypes += 'image/x-ilbm'
|
MIMEtypes += 'image/x-ilbm'
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -160,7 +160,12 @@ if have_qoi
|
||||||
}
|
}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if have_ilbm
|
if libiff.found() and libilbm.found()
|
||||||
|
common_plugins_list += {
|
||||||
|
'name': 'file-iff',
|
||||||
|
'deps': [ gtk3, gegl, libiff, libilbm, ],
|
||||||
|
}
|
||||||
|
elif have_ilbm
|
||||||
common_plugins_list += {
|
common_plugins_list += {
|
||||||
'name': 'file-iff',
|
'name': 'file-iff',
|
||||||
'deps': [ gtk3, gegl, ],
|
'deps': [ gtk3, gegl, ],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue