2017-11-01 21:27:13 +08:00
|
|
|
libgimpcolor_sources = files(
|
|
|
|
'gimpadaptivesupersample.c',
|
|
|
|
'gimpbilinear.c',
|
|
|
|
'gimpcairo.c',
|
2023-11-14 03:02:52 +08:00
|
|
|
'gimpcolor.c',
|
2023-11-27 04:37:52 +08:00
|
|
|
'gimpcolor-parse.c',
|
2017-11-01 21:27:13 +08:00
|
|
|
'gimpcolormanaged.c',
|
|
|
|
'gimpcolorprofile.c',
|
|
|
|
'gimpcolorspace.c',
|
|
|
|
'gimpcolortransform.c',
|
|
|
|
'gimphsl.c',
|
|
|
|
'gimppixbuf.c',
|
|
|
|
'gimprgb.c',
|
|
|
|
)
|
|
|
|
|
|
|
|
libgimpcolor_headers_introspectable = files(
|
|
|
|
'gimpcolortypes.h',
|
|
|
|
'gimpadaptivesupersample.h',
|
|
|
|
'gimpbilinear.h',
|
|
|
|
'gimpcairo.h',
|
|
|
|
'gimpcolormanaged.h',
|
|
|
|
'gimpcolorprofile.h',
|
|
|
|
'gimpcolorspace.h',
|
|
|
|
'gimpcolortransform.h',
|
|
|
|
'gimphsl.h',
|
|
|
|
'gimppixbuf.h',
|
|
|
|
'gimprgb.h',
|
2023-12-19 21:59:01 +08:00
|
|
|
|
|
|
|
'gimpcolor.h',
|
2017-11-01 21:27:13 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
libgimpcolor_headers = [
|
|
|
|
libgimpcolor_headers_introspectable,
|
|
|
|
]
|
|
|
|
|
|
|
|
libgimpcolor_introspectable = [
|
|
|
|
libgimpcolor_sources,
|
|
|
|
libgimpcolor_headers_introspectable,
|
|
|
|
]
|
|
|
|
|
|
|
|
libgimpcolor = library('gimpcolor-' + gimp_api_version,
|
|
|
|
libgimpcolor_sources,
|
|
|
|
include_directories: rootInclude,
|
|
|
|
dependencies: [
|
|
|
|
cairo, gdk_pixbuf, gegl, lcms, math,
|
|
|
|
],
|
|
|
|
c_args: [ '-DG_LOG_DOMAIN="LibGimpColor"', '-DGIMP_COLOR_COMPILATION', ],
|
|
|
|
link_with: [ libgimpbase, ],
|
|
|
|
vs_module_defs: 'gimpcolor.def',
|
|
|
|
install: true,
|
|
|
|
version: so_version,
|
|
|
|
)
|
|
|
|
|
|
|
|
install_headers(
|
|
|
|
libgimpcolor_headers,
|
|
|
|
subdir: gimp_api_name / 'libgimpcolor',
|
|
|
|
)
|