mirror of https://github.com/GNOME/gimp.git
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
|
@ -40,6 +40,8 @@ crossroad install appstream-glib \
|
|||
gobject-introspection-runtime \
|
||||
iso-codes \
|
||||
libheif \
|
||||
libiff \
|
||||
libilbm \
|
||||
libjxl \
|
||||
$LIBMNG \
|
||||
libmypaint mypaint-brushes \
|
||||
|
|
|
@ -50,6 +50,8 @@ pacman --noconfirm -S --needed \
|
|||
mingw-w64-$MSYS2_ARCH-lensfun \
|
||||
mingw-w64-$MSYS2_ARCH-libarchive \
|
||||
mingw-w64-$MSYS2_ARCH-libheif \
|
||||
mingw-w64-$MSYS2_ARCH-libiff \
|
||||
mingw-w64-$MSYS2_ARCH-libilbm \
|
||||
mingw-w64-$MSYS2_ARCH-libjxl \
|
||||
mingw-w64-$MSYS2_ARCH-libmypaint \
|
||||
mingw-w64-$MSYS2_ARCH-libspiro \
|
||||
|
|
|
@ -718,7 +718,13 @@ if have_qoi
|
|||
MIMEtypes += 'image/qoi'
|
||||
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
|
||||
MIMEtypes += 'image/x-ilbm'
|
||||
endif
|
||||
|
|
|
@ -160,7 +160,12 @@ if have_qoi
|
|||
}
|
||||
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 += {
|
||||
'name': 'file-iff',
|
||||
'deps': [ gtk3, gegl, ],
|
||||
|
|
Loading…
Reference in New Issue