2022-05-11 14:09:17 +02:00
|
|
|
# Install glib-gettextize executable, if a UNIX-style shell is found
|
|
|
|
if have_sh
|
|
|
|
# These should not contain " quotes around the values
|
|
|
|
gettextize_conf = configuration_data()
|
|
|
|
gettextize_conf.set('PACKAGE', 'glib')
|
|
|
|
gettextize_conf.set('VERSION', meson.project_version())
|
|
|
|
gettextize_conf.set('prefix', glib_prefix)
|
|
|
|
gettextize_conf.set('datarootdir', glib_datadir)
|
|
|
|
gettextize_conf.set('datadir', glib_datadir)
|
|
|
|
configure_file(input : 'glib-gettextize.in',
|
|
|
|
install_dir : glib_bindir,
|
2022-09-09 19:56:35 +02:00
|
|
|
install_tag : 'bin-devel',
|
2022-05-11 14:09:17 +02:00
|
|
|
output : 'glib-gettextize',
|
|
|
|
configuration : gettextize_conf)
|
|
|
|
endif
|
2022-05-11 14:11:01 +02:00
|
|
|
|
|
|
|
if host_system != 'windows'
|
|
|
|
# Install Valgrind suppression file (except on Windows,
|
|
|
|
# as Valgrind is currently not supported on Windows)
|
2023-04-05 17:07:58 +02:00
|
|
|
install_data(fs.name(valgrind_suppression_file),
|
|
|
|
install_dir : get_option('datadir') / valgrind_suppression_file_install_subdir,
|
2022-09-18 22:51:55 +02:00
|
|
|
install_tag : 'devel',
|
|
|
|
)
|
2022-05-11 14:11:01 +02:00
|
|
|
endif
|
2022-10-03 16:36:04 +02:00
|
|
|
|
|
|
|
gen_visibility_macros = find_program('gen-visibility-macros.py')
|
2023-06-30 04:29:28 +02:00
|
|
|
|
|
|
|
# This is only needed for 32-bit (x86) Windows builds
|
|
|
|
if host_system == 'windows' and host_machine.cpu_family() == 'x86'
|
|
|
|
embed_uac_manifest = true
|
|
|
|
gen_uac_manifest = find_program('generate-uac-manifest.py')
|
|
|
|
else
|
|
|
|
embed_uac_manifest = false
|
|
|
|
endif
|