mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00

It must not be a boolean but a `feature` option, with `auto` by default. `auto` value mean enabled for macOS and Win32, and disabled for other cases. This default logics disappeared in the meson build. Also the mypaint-brushes package is a mandatory dependency, which must always be checked. Absence is fatale. Finally properly set the MYPAINT_BRUSHES_DIR macro depending on the proper relocatable case.
63 lines
1.5 KiB
Meson
63 lines
1.5 KiB
Meson
|
|
# Configure_file is just here to rename the files
|
|
manconf = configuration_data()
|
|
manconf.set('GIMP_VERSION', gimp_version)
|
|
manconf.set('gimpdatadir', prefix / gimpdatadir)
|
|
manconf.set('gimplocaledir', prefix / localedir)
|
|
manconf.set('gimpplugindir', prefix / gimpplugindir)
|
|
manconf.set('manpage_gimpdir', '$XDG_CONFIG_HOME/' + gimpdir / gimp_app_version)
|
|
manconf.set('gimpsysconfdir', prefix / gimpsysconfdir)
|
|
manconf.set('mypaint_brushes_dir', mypaint_brushes_dir)
|
|
|
|
|
|
man_files = [
|
|
configure_file(
|
|
input : 'gimptool.1.in',
|
|
output: 'gimptool-' + gimp_app_version + '.1',
|
|
configuration: manconf,
|
|
),
|
|
configure_file(
|
|
input : 'gimptool.1.in',
|
|
output: 'gimptool.1',
|
|
configuration: manconf,
|
|
),
|
|
|
|
configure_file(
|
|
input : 'gimprc.5.in',
|
|
output: 'gimprc-' + gimp_app_version + '.5',
|
|
configuration: manconf,
|
|
),
|
|
configure_file(
|
|
input : 'gimprc.5.in',
|
|
output: 'gimprc.5',
|
|
configuration: manconf,
|
|
),
|
|
]
|
|
|
|
if enable_console_bin
|
|
man_files += configure_file(
|
|
input : 'gimp.1.in',
|
|
output: 'gimp-console-' + gimp_app_version + '.1',
|
|
configuration: manconf,
|
|
)
|
|
man_files += configure_file(
|
|
input : 'gimp.1.in',
|
|
output: 'gimp-console.1',
|
|
configuration: manconf,
|
|
)
|
|
endif
|
|
|
|
if enable_default_bin
|
|
man_files += configure_file(
|
|
input : 'gimp.1.in',
|
|
output: 'gimp-' + gimp_app_version + '.1',
|
|
configuration: manconf,
|
|
)
|
|
man_files += configure_file(
|
|
input : 'gimp.1.in',
|
|
output: 'gimp.1',
|
|
configuration: manconf,
|
|
)
|
|
endif
|
|
|
|
install_man(man_files)
|