mirror of https://github.com/GNOME/gimp.git
build: plugins: ensure test plugins not installed in stable version
Menu Filters>Development>Demos not appear in a stable version, and not appear in unstable version unless buildtype==debug.
This commit is contained in:
parent
f0e09494e1
commit
634f3d674f
|
@ -11,7 +11,7 @@ plugins = [
|
||||||
{ 'name': 'spyro-plus' },
|
{ 'name': 'spyro-plus' },
|
||||||
]
|
]
|
||||||
|
|
||||||
if not stable or not release
|
if (not stable or not release) and get_option('buildtype')=='debug'
|
||||||
plugins += [
|
plugins += [
|
||||||
{ 'name': 'test-dialog' },
|
{ 'name': 'test-dialog' },
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
subdir('images')
|
subdir('images')
|
||||||
if not stable or not release
|
subdir('test')
|
||||||
subdir('test')
|
|
||||||
endif
|
|
||||||
|
|
||||||
# scripts interpreted by extension-script-fu, installed to /scripts
|
# scripts interpreted by extension-script-fu, installed to /scripts
|
||||||
scripts = [
|
scripts = [
|
||||||
|
|
|
@ -1,11 +1,19 @@
|
||||||
# test plugins
|
# test plugins
|
||||||
|
|
||||||
# Some, but not all, plugins in this directory are installed in unstable build.
|
# All are not for ordinary users.
|
||||||
# None should be installed in a release.
|
|
||||||
# None should be translated: not marked or marked but in potfiles.skip.
|
# None should be translated: not marked or marked but in potfiles.skip.
|
||||||
|
|
||||||
# Note this meson.build is excluded from a release build at a higher level,
|
# Some can be installed by a build, other must be manually installed.
|
||||||
# so here there are no "if not release statements"
|
|
||||||
|
# No plugin in this directory is installed in a "stable" or "release" version,
|
||||||
|
# even if buildtype==debug.
|
||||||
|
|
||||||
|
if (stable or release)
|
||||||
|
subdir_done()
|
||||||
|
elif get_option('buildtype') != 'debug'
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# scripts interpreted by extension-script-fu, installed to /scripts
|
# scripts interpreted by extension-script-fu, installed to /scripts
|
||||||
scripts = [
|
scripts = [
|
||||||
|
|
Loading…
Reference in New Issue