summaryrefslogtreecommitdiff
path: root/data/meson.build
blob: cf7401b099b1c8b0f4aee778e69c7410905f5b4c (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
foreach size: [ '16x16', '22x22', '24x24', '32x32', '48x48', 'scalable' ]
    suffix = 'png'
    if size == 'scalable'
        suffix = 'svg'
    endif
    install_data (join_paths ('icons', size , 'object-crop.' + suffix),
                  install_dir: join_paths (icondir, 'hicolor', size, 'actions'))
endforeach

install_data ('org.gnome.SimpleScan.gschema.xml',
              install_dir: join_paths (datadir, 'glib-2.0', 'schemas'))
meson.add_install_script ('meson_compile_gschema.py')

i18n.merge_file ('desktop-file',
                 input: 'simple-scan.desktop.in',
                 output: 'simple-scan.desktop',
                 install: true,
                 install_dir: join_paths (datadir, 'applications'),
                 po_dir: '../po',
                 type: 'desktop')

i18n.merge_file ('appdata-file',
                 input: 'simple-scan.appdata.xml.in',
                 output: 'simple-scan.appdata.xml',
                 install: true,
                 install_dir: join_paths (datadir, 'appdata'),
                 po_dir: '../po')

install_man ('simple-scan.1')