summaryrefslogtreecommitdiff
path: root/data/meson.build
blob: f04dbcbca769a6651050b3cc8154b550f89b7041 (plain)
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
if get_option('install_apport_hook')
    subdir('apport')
endif

subdir('gsettings')
subdir('icons')

podir = join_paths('..', 'po')

i18n.merge_file(input : 'org.gnome.Shotwell.appdata.xml.in',
                output : 'org.gnome.Shotwell.appdata.xml',
                po_dir : podir,
                type : 'xml',
                install: true,
                install_dir : join_paths(get_option('datadir'), 'metainfo'))

i18n.merge_file(input : 'org.gnome.Shotwell.desktop.in',
                output: 'org.gnome.Shotwell.desktop',
                po_dir : podir,
                type : 'desktop',
                install : true,
                install_dir : join_paths(get_option('datadir'), 'applications'))

i18n.merge_file(input : 'org.gnome.Shotwell-Viewer.desktop.in',
                output: 'org.gnome.Shotwell-Viewer.desktop',
                po_dir : podir,
                type : 'desktop',
                install : true,
                install_dir : join_paths(get_option('datadir'), 'applications'))

auth_conf = configuration_data()
auth_conf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')))
configure_file(
    input : 'org.gnome.Shotwell.Auth.desktop.in',
    output: 'org.gnome.Shotwell.Auth.desktop',
    configuration: auth_conf,
    install: true,
    install_dir : join_paths(get_option('datadir'), 'applications')
)

shotwell_resources = gnome.compile_resources('shotwell-resources',
        'org.gnome.Shotwell.gresource.xml')