gimp/plug-ins/script-fu/scripts/test/meson.build
bootchk 60a584f91a ScriptFu: move test plugins and install more in unstable build
Move test plugins from /scripts to /scripts/test.
POTFILES.skip that directory.

Add a readme to scripts dir.

Revise readme in scripts/test

Rename test9.scm which tests the new byte type support in Scheme.
Install it in unstable build, it is an important test,
long and sophisticated.

Install contactsheet.scm as a test plugin in unstable build.
See test/meson.build for comments about its issue.
2024-04-24 14:32:53 +00:00

42 lines
1 KiB
Meson

# test plugins
# Some, but not all, plugins in this directory are installed in unstable build.
# None should be installed in a release.
# None should be translated: not marked or marked but in potfiles.skip.
# scripts interpreted by extension-script-fu, installed to /scripts
if not stable
scripts = [
'contactsheet.scm',
'clothify-v3.scm',
'test-sphere.scm',
'test-v3.scm',
]
endif
install_data(
scripts,
install_dir: gimpdatadir / 'scripts',
)
# scripts interpreted by gimp-script-fu-interpreter
# Each installed in subdirectory of /plug-in
# Each have a shebang and executable permission.
# Like other interpreted plugins.
# Lacking a shebang, a .interp file is needed to associate .scm suffix
if not stable
scripts_independent = [
{ 'name': 'test-bytes' },
]
endif
foreach plugin : scripts_independent
name = plugin.get('name')
srcs = plugin.get('srcs', name + '.scm')
install_data(srcs,
install_dir: gimpplugindir / 'plug-ins' / name,
install_mode: 'rwxr-xr-x')
endforeach