48 lines
995 B
Meson
48 lines
995 B
Meson
plugin_name = 'help'
|
|
|
|
plugin_sources = [
|
|
# 'pika-help-lookup.c',
|
|
'pikahelp.c',
|
|
'pikahelpdomain.c',
|
|
'pikahelpitem.c',
|
|
'pikahelplocale.c',
|
|
'pikahelpprogress.c',
|
|
]
|
|
|
|
if platform_windows
|
|
plugin_sources += windows.compile_resources(
|
|
pika_plugins_rc,
|
|
args: [
|
|
'--define', 'ORIGINALFILENAME_STR="@0@"'.format(plugin_name+'.exe'),
|
|
'--define', 'INTERNALNAME_STR="@0@"' .format(plugin_name),
|
|
'--define', 'TOP_SRCDIR="@0@"' .format(meson.project_source_root()),
|
|
],
|
|
include_directories: [
|
|
rootInclude, appInclude,
|
|
],
|
|
)
|
|
endif
|
|
|
|
help_plugin_lib = static_library('help_plugin',
|
|
plugin_sources,
|
|
include_directories: [ rootInclude, ],
|
|
dependencies: [
|
|
gtk3, gegl, cairo, gio, gdk_pixbuf,
|
|
],
|
|
install: false,
|
|
)
|
|
|
|
executable(plugin_name,
|
|
'help.c',
|
|
dependencies: [
|
|
libpikaui_dep,
|
|
gio,
|
|
gdk_pixbuf,
|
|
],
|
|
link_with: [
|
|
help_plugin_lib,
|
|
],
|
|
install: true,
|
|
install_dir: pikaplugindir / 'plug-ins' / plugin_name,
|
|
)
|