summaryrefslogtreecommitdiff
path: root/data/meson.build
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-06-30 20:45:42 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-06-30 20:45:42 +0200
commit26d8dd51f3ecc4bd6861ed5155acb3090a1983d4 (patch)
tree08d9369065e32f20a80f9cf916a5b1a468b39527 /data/meson.build
parent1676db749dc23da9fcd9c767de2f1e9a0c61b2b2 (diff)
New upstream version 46.0upstream/46.0upstream
Diffstat (limited to 'data/meson.build')
-rw-r--r--data/meson.build25
1 files changed, 23 insertions, 2 deletions
diff --git a/data/meson.build b/data/meson.build
index cf6e4ae..fb8959b 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -15,22 +15,43 @@ i18n.merge_file (input: 'simple-scan.desktop.in',
po_dir: '../po',
type: 'desktop')
-i18n.merge_file (input: 'simple-scan.appdata.xml.in',
- output: 'simple-scan.appdata.xml',
+appdata_file = i18n.merge_file (input: 'org.gnome.SimpleScan.appdata.xml.in',
+ output: 'org.gnome.SimpleScan.appdata.xml',
install: true,
install_dir: join_paths (datadir, 'metainfo'),
po_dir: '../po')
+# Validate Appdata
+appstreamcli = find_program('appstreamcli', required: false)
+if appstreamcli.found()
+ test('validate-appdata',
+ appstreamcli,
+ args: ['validate', '--no-net', '--explain', appdata_file.full_path()],
+ depends: appdata_file)
+endif
+
install_man ('simple-scan.1')
resource_files = files([
'icons/scalable/actions/scan-type-adf-symbolic.svg',
'icons/scalable/actions/scan-type-batch-symbolic.svg',
'icons/scalable/actions/crop-symbolic.svg',
+ 'icons/scalable/actions/right-large-symbolic.svg',
+ 'icons/scalable/actions/interleave-before.svg',
+ 'icons/scalable/actions/interleave-after.svg',
+ 'icons/scalable/actions/interleave-reverse-after.svg',
+ 'icons/scalable/actions/reverse-before.svg',
+ 'icons/scalable/actions/reverse-after.svg',
+ 'icons/scalable/actions/flip-before.svg',
+ 'icons/scalable/actions/flip-even.svg',
+ 'icons/scalable/actions/flip-odd.svg',
'ui/app-window.ui',
'ui/authorize-dialog.ui',
+ 'ui/drivers-dialog.ui',
'ui/help-overlay.ui',
'ui/preferences-dialog.ui',
+ 'ui/reorder-pages-item.ui',
+ 'ui/reorder-pages-dialog.ui',
])
resources = gnome.compile_resources ('resources', 'simple-scan.gresource.xml',
dependencies: resource_files,