diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-12 13:21:19 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-12 13:21:19 +0100 |
commit | 99656b4fb34c8a8c6a174c7953a6b218ba6568c6 (patch) | |
tree | f511703bdeeff064dbc314281c6abce9b0bb5348 /data/meson.build | |
parent | 6c629d45711b613257d30e8d5a1527003d9c3f1f (diff) | |
parent | 35fd3ab8990210defe10f1614abe4ca1afe04c5d (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'data/meson.build')
-rw-r--r-- | data/meson.build | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..cf7401b --- /dev/null +++ b/data/meson.build @@ -0,0 +1,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') |