mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-05 21:02:42 +02:00
Following 36b660e2b2
- PATH was being set due to the Installer and MSIX but
on my tests on both relocatable and Unix-style builds it
was bogus. C and Py plug-ins worked without problems
- Same aplies to GI_TYPELIB_PATH, it is obscure and useless
31 lines
776 B
Meson
31 lines
776 B
Meson
#.env files read by gimp_environ_table_load_env_file in gimpenvirontable.c
|
|
|
|
|
|
install_data(
|
|
'default.env',
|
|
install_dir: gimpplugindir / 'environ',
|
|
)
|
|
|
|
|
|
if relocatable_bundle or platform_windows and not meson.is_cross_build()
|
|
pygimp_config = configuration_data()
|
|
if relocatable_bundle
|
|
pygimp_config.set('DONTWRITEBYTECODE_SETTING', 'PYTHONDONTWRITEBYTECODE=1')
|
|
else
|
|
pygimp_config.set('DONTWRITEBYTECODE_SETTING', '')
|
|
endif
|
|
if platform_windows
|
|
pygimp_config.set('HIGHDPI_SETTING', '__COMPAT_LAYER=HIGHDPIAWARE')
|
|
else
|
|
pygimp_config.set('HIGHDPI_SETTING', '')
|
|
endif
|
|
|
|
configure_file(
|
|
input : 'pygimp.env.in',
|
|
output: 'pygimp.env',
|
|
configuration: pygimp_config,
|
|
install: true,
|
|
install_dir: gimpplugindir / 'environ',
|
|
)
|
|
endif
|