Files
gimp/plug-ins/help-browser/meson.build
Niels De Graef ae34e778fc meson: Use libgimp(ui)_dep in plug-ins meson files
This gives a big cleanup in the meson.build files of the plug-ins.

It's also quite a bit more maintainable, since anything that changes in
libgimp's dependencies, linkage, ... doesn't have to be copy-pasted into
each plug-in.
2020-05-11 07:01:37 +02:00

42 lines
793 B
Meson

if webkit.found()
plugin_name = 'help-browser'
plugin_sources = [
'dialog.c',
'gimpthrobber.c',
'gimpthrobberaction.c',
'help-browser.c',
'uri.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,
dependencies: [
libgimpui_dep,
gio,
webkit,
],
link_with: [
help_plugin_lib,
],
install: true,
install_dir: gimpplugindir / 'plug-ins' / plugin_name,
)
endif