mirror of https://github.com/GNOME/gimp.git
42 lines
886 B
Meson
42 lines
886 B
Meson
plugin_name = 'file-tiff'
|
|
|
|
plugin_sources = [
|
|
'file-tiff-io.c',
|
|
'file-tiff-save.c',
|
|
'file-tiff.c',
|
|
'file-tiff-load.c',
|
|
]
|
|
|
|
if platform_windows
|
|
plugin_sources += windows.compile_resources(
|
|
gimp_plugins_rc,
|
|
args: [
|
|
'--define', 'ORIGINALFILENAME_STR="@0@"'.format(plugin_name+'.exe'),
|
|
'--define', 'INTERNALNAME_STR="@0@"' .format(plugin_name),
|
|
'--define', 'TOP_SRCDIR="@0@"' .format(meson.source_root()),
|
|
],
|
|
include_directories: [
|
|
rootInclude, appInclude,
|
|
],
|
|
)
|
|
endif
|
|
|
|
executable(plugin_name,
|
|
plugin_sources,
|
|
include_directories: [ rootInclude, ],
|
|
dependencies: [
|
|
gtk3, gegl, gexiv2, libtiff,
|
|
],
|
|
link_with: [
|
|
libgimp,
|
|
libgimpbase,
|
|
libgimpcolor,
|
|
libgimpconfig,
|
|
libgimpmath,
|
|
libgimpui,
|
|
libgimpwidgets,
|
|
],
|
|
install: true,
|
|
install_dir: gimpplugindir / 'plug-ins' / plugin_name,
|
|
)
|