2022-08-02 01:08:35 +08:00
|
|
|
stamp_text_enums = custom_target('stamp-text-enums.h',
|
|
|
|
input : [
|
|
|
|
files(
|
|
|
|
'text-enums.h'
|
|
|
|
),
|
|
|
|
],
|
|
|
|
output: [ 'stamp-text-enums.h', ],
|
2019-10-20 04:18:50 +08:00
|
|
|
command: [
|
2022-08-02 01:08:35 +08:00
|
|
|
mkenums_wrap, perl,
|
2022-08-31 07:07:27 +08:00
|
|
|
meson.project_source_root(), meson.current_source_dir(),
|
2022-08-02 01:08:35 +08:00
|
|
|
meson.current_build_dir(),
|
|
|
|
'text-',
|
|
|
|
'#include <gio/gio.h>\n' +
|
|
|
|
'#include "libgimpbase/gimpbase.h"\n',
|
|
|
|
'#include "gimp-intl.h"'
|
2019-10-20 04:18:50 +08:00
|
|
|
],
|
2022-08-02 01:08:35 +08:00
|
|
|
build_by_default: true
|
2017-11-01 21:27:13 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
libapptext_sources = [
|
|
|
|
'gimpfont.c',
|
|
|
|
'gimpfontfactory.c',
|
|
|
|
'gimptext-compat.c',
|
|
|
|
'gimptext-parasite.c',
|
2024-07-13 13:07:57 +08:00
|
|
|
'gimptext-path.c',
|
2017-11-01 21:27:13 +08:00
|
|
|
'gimptext-xlfd.c',
|
|
|
|
'gimptext.c',
|
|
|
|
'gimptextlayer-transform.c',
|
|
|
|
'gimptextlayer-xcf.c',
|
|
|
|
'gimptextlayer.c',
|
|
|
|
'gimptextlayout-render.c',
|
|
|
|
'gimptextlayout.c',
|
|
|
|
'gimptextundo.c',
|
2022-08-02 01:08:35 +08:00
|
|
|
|
|
|
|
'text-enums.c',
|
|
|
|
stamp_text_enums
|
2017-11-01 21:27:13 +08:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
libapptext = static_library('apptext',
|
|
|
|
libapptext_sources,
|
|
|
|
include_directories: [ rootInclude, rootAppInclude, ],
|
|
|
|
c_args: '-DG_LOG_DOMAIN="Gimp-Text"',
|
|
|
|
dependencies: [
|
|
|
|
gegl, gdk_pixbuf, harfbuzz, pangocairo, pangoft2,
|
|
|
|
],
|
|
|
|
)
|