~martijnbraam/pyatem

pyatem/gtk_switcher/meson.build -rw-r--r-- 1.4 KiB
ed164087Martijn Braam i18n: update translation files from source 5 days ago
                                                                                
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
58
59
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
moduledir = join_paths(pkgdatadir, 'gtk_switcher')
gnome = import('gnome')

gnome.compile_resources('atem',
    'atem.gresource.xml',
    gresource_bundle: true,
    install: true,
    install_dir: pkgdatadir,
)

python = import('python')

conf = configuration_data()
conf.set('PYTHON', python.find_installation('python3').path())
conf.set('VERSION', meson.project_version())
conf.set('localedir', join_paths(get_option('prefix'), get_option('localedir')))
conf.set('pkgdatadir', pkgdatadir)

configure_file(
    input: 'switcher-control.in',
    output: 'switcher-control',
    configuration: conf,
    install: true,
    install_dir: get_option('bindir')
)

switcher_sources = [
    '__init__.py',
    '__main__.py',
    'atemwindow.py',
    'connectionwindow.py',
    'preferences.py',
    'switcher.py',
    'media.py',
    'audio.py',
    'camera.py',
    'mixeffect.py',
    'mixeffect_aux.py',
    'upstreamkey.py',
    'colorwheel.py',
    'layout.py',
    'decorators.py',
    'adjustmententry.py',
    'dial.py',
    'downstreamkey.py',
    'gtklogadjustment.py',
    'macroeditor.py',
    'stream_data.py',
    'template_i18n.py',
    'eqcurve.py',
    'eqwindow.py',
    'videohub.py',
    'videohubbus.py',
    'videohubconnection.py',
    'debugger.py',
]

install_data(switcher_sources, install_dir: moduledir)