Now that we bumped our meson requirement, meson is complaining about several features now deprecated even in the minimum required meson version: s/meson.source_root/meson.project_source_root/ to fix: > WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead. s/meson.build_root/meson.project_build_root/ to fix: > WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead. Fixing using path() on xdg_email and python ExternalProgram variables: > WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.55.0': ExternalProgram.path. use ExternalProgram.full_path() instead s/get_pkgconfig_variable *(\([^)]*\))/get_variable(pkgconfig: \1)/ to fix: > WARNING: Project targets '>=0.56.0' but uses feature deprecated since '0.56.0': dependency.get_pkgconfig_variable. use dependency.get_variable(pkgconfig : ...) instead
61 lines
1.4 KiB
Meson
61 lines
1.4 KiB
Meson
stamp_plug_in_enums = custom_target('stamp-plug-in-enums.h',
|
|
input : [
|
|
files(
|
|
'plug-in-enums.h'
|
|
),
|
|
],
|
|
output: [ 'stamp-plug-in-enums.h', ],
|
|
command: [
|
|
mkenums_wrap, perl,
|
|
meson.project_source_root(), meson.current_source_dir(),
|
|
meson.current_build_dir(),
|
|
'plug-in-',
|
|
'#include <gio/gio.h>\n' +
|
|
'#include "libgimpbase/gimpbase.h"\n',
|
|
'#include "gimp-intl.h"'
|
|
],
|
|
build_by_default: true
|
|
)
|
|
|
|
libappplugin_sources = [
|
|
'gimpenvirontable.c',
|
|
'gimpgpparams.c',
|
|
'gimpinterpreterdb.c',
|
|
'gimpplugin-cleanup.c',
|
|
'gimpplugin-context.c',
|
|
'gimpplugin-message.c',
|
|
'gimpplugin-proc.c',
|
|
'gimpplugin-progress.c',
|
|
'gimpplugin.c',
|
|
'gimpplugindebug.c',
|
|
'gimpplugindef.c',
|
|
'gimppluginerror.c',
|
|
'gimppluginmanager-call.c',
|
|
'gimppluginmanager-data.c',
|
|
'gimppluginmanager-file.c',
|
|
'gimppluginmanager-help-domain.c',
|
|
'gimppluginmanager-menu-branch.c',
|
|
'gimppluginmanager-query.c',
|
|
'gimppluginmanager-restore.c',
|
|
'gimppluginmanager.c',
|
|
'gimppluginprocedure.c',
|
|
'gimppluginprocframe.c',
|
|
'gimppluginshm.c',
|
|
'gimptemporaryprocedure.c',
|
|
'plug-in-menu-path.c',
|
|
'plug-in-rc.c',
|
|
|
|
'plug-in-enums.c',
|
|
stamp_plug_in_enums,
|
|
|
|
appcoremarshal[1],
|
|
]
|
|
|
|
libappplugin = static_library('appplug-in',
|
|
libappplugin_sources,
|
|
include_directories: [ rootInclude, rootAppInclude, ],
|
|
c_args: '-DG_LOG_DOMAIN="Gimp-Plug-In"',
|
|
dependencies: [
|
|
cairo, gegl, gdk_pixbuf,
|
|
],
|
|
)
|