diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-11 18:47:33 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-11-11 18:47:33 +0100 |
commit | f1a056923fce6dd0ebd778d381794d3090a62e8c (patch) | |
tree | bdec089a7e8046bec17d23c64d5c4ee4a356a1a0 /data/meson.build | |
parent | 0b098a24e80acb1bd7ffeed90c6c821f8420b84a (diff) | |
parent | ab6556e393162fff0e0e0c80a9fff689b4e2ca05 (diff) |
Update upstream source from tag 'upstream/3.26.2'
Update to upstream version '3.26.2'
with Debian dir f1471e23cdedd43d9950b3078b7120e6c8510a8f
Diffstat (limited to 'data/meson.build')
-rw-r--r-- | data/meson.build | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/data/meson.build b/data/meson.build index 8e5412f..cf7401b 100644 --- a/data/meson.build +++ b/data/meson.build @@ -11,20 +11,19 @@ install_data ('org.gnome.SimpleScan.gschema.xml', install_dir: join_paths (datadir, 'glib-2.0', 'schemas')) meson.add_install_script ('meson_compile_gschema.py') -# Note the keywords explicitly listed to stop the icon field being translated -# https://bugs.launchpad.net/bugs/1624662 -custom_target ('simple-scan.desktop', - output: 'simple-scan.desktop', - input: 'simple-scan.desktop.in', - command: [ msgfmt, '--desktop', '--keyword=Name', '--keyword=GenericName', '--keyword=Comment', '--keyword=Keywords', '--template', '@INPUT@', '-d', podir, '-o', '@OUTPUT@' ], - install: true, - install_dir: join_paths (datadir, 'applications')) +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') -custom_target ('simple-scan.appdata.xml', - output: 'simple-scan.appdata.xml', - input: 'simple-scan.appdata.xml.in', - command: [ msgfmt, '--xml', '--template', '@INPUT@', '-d', podir, '-o', '@OUTPUT@' ], - install: true, - install_dir: join_paths (datadir, 'appdata')) +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') |