meson.build 1.12 KB
Newer Older
Jens Georg's avatar
Jens Georg committed
1 2 3 4 5 6 7
if get_option('install-apport-hook')
    subdir('apport')
endif

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

Jens Georg's avatar
Jens Georg committed
8 9
podir = join_paths('..', 'po')

Jens Georg's avatar
Jens Georg committed
10 11
i18n.merge_file(input : 'org.gnome.Shotwell.appdata.xml.in',
                output : 'org.gnome.Shotwell.appdata.xml',
Jens Georg's avatar
Jens Georg committed
12 13 14
                po_dir : join_paths('..', 'po'),
                type : 'xml',
                install: true,
15
                install_dir : join_paths(get_option('datadir'), 'metainfo'))
Jens Georg's avatar
Jens Georg committed
16

Jens Georg's avatar
Jens Georg committed
17 18
i18n.merge_file(input : 'org.gnome.Shotwell.desktop.in',
                output: 'org.gnome.Shotwell.desktop',
Jens Georg's avatar
Jens Georg committed
19 20 21 22 23
                po_dir : podir,
                type : 'desktop',
                install : true,
                install_dir : join_paths(get_option('datadir'), 'applications'))

Jens Georg's avatar
Jens Georg committed
24 25
i18n.merge_file(input : 'org.gnome.Shotwell-Viewer.desktop.in',
                output: 'org.gnome.Shotwell-Viewer.desktop',
Jens Georg's avatar
Jens Georg committed
26 27 28 29 30
                po_dir : podir,
                type : 'desktop',
                install : true,
                install_dir : join_paths(get_option('datadir'), 'applications'))

Jens Georg's avatar
Jens Georg committed
31 32
shotwell_resources = gnome.compile_resources('shotwell-resources',
        'org.gnome.Shotwell.gresource.xml')