File: meson.build

package info (click to toggle)
gimp 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 222,880 kB
  • sloc: ansic: 870,914; python: 10,965; lisp: 10,857; cpp: 7,355; perl: 4,536; sh: 1,753; xml: 972; yacc: 609; lex: 348; javascript: 150; makefile: 42
file content (57 lines) | stat: -rw-r--r-- 1,331 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# test plugins

# All are not for ordinary users.
# None should be translated: not marked or marked but in potfiles.skip.

# Some can be installed by a build, other must be manually installed.

# 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


# test of i18n is in its own subdir
subdir('testi18n')


# scripts interpreted by extension-script-fu, installed to /scripts
scripts = [
  'contactsheet.scm',
  'clothify-v2.scm',
  'clothify-v3.scm',
  'test-sphere.scm',
  'test-v3.scm',
]


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

scripts_independent = [
  { 'name': 'test-bytes' },
  { 'name': 'test-display' },
  { 'name': 'ts-helloworld' },
]

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