Note by reviewer (Jehan): merging this port as it was in GIMP 2.10 anyway, but is this even still needed code? This plug-in is not even available on stable release, it looks like for-development only benchmark, and I'm not sure if it's relevant anymore, especially in our GEGL-fueled new world. Please anyone who knows a bit more on the history of this plug-in and the evolution of our gimp_drawable_foreground_extract() algorithm, feel free to weigh in and tell us what this was for exactly and if it's still relevant.
52 lines
1.1 KiB
Meson
52 lines
1.1 KiB
Meson
if not have_python
|
|
subdir_done()
|
|
endif
|
|
|
|
plugins = [
|
|
{ 'name': 'colorxhtml' },
|
|
{ 'name': 'file-openraster' },
|
|
{ 'name': 'foggify' },
|
|
{ 'name': 'gradients-save-as-css' },
|
|
{ 'name': 'palette-offset' },
|
|
{ 'name': 'palette-sort' },
|
|
{ 'name': 'palette-to-gradient' },
|
|
{ 'name': 'py-slice' },
|
|
{ 'name': 'spyro-plus' },
|
|
|
|
# { 'name': 'histogram-export' },
|
|
# { 'name': 'python-eval' },
|
|
]
|
|
|
|
if not stable
|
|
plugins += [
|
|
{ 'name': 'benchmark-foreground-extract' }
|
|
# { 'name': 'clothify', },
|
|
# { 'name': 'shadow_bevel', },
|
|
# { 'name': 'sphere', },
|
|
# { 'name': 'whirlpinch', },
|
|
]
|
|
endif
|
|
|
|
subdir('python-console')
|
|
|
|
foreach plugin : plugins
|
|
name = plugin.get('name')
|
|
srcs = plugin.get('srcs', name + '.py')
|
|
|
|
install_data(srcs, install_dir: gimpplugindir / 'plug-ins' / name,
|
|
install_mode: 'rwxr-xr-x')
|
|
endforeach
|
|
|
|
|
|
if python.found()
|
|
python_config = configuration_data()
|
|
python_config.set('PYTHON_PATH', python.path())
|
|
|
|
configure_file(
|
|
input : 'pygimp.interp.in',
|
|
output: 'pygimp.interp',
|
|
configuration: python_config,
|
|
install: true,
|
|
install_dir: gimpplugindir / 'interpreters',
|
|
)
|
|
endif
|