From ac99aca2510eebb83ac9a112849d8788ef67db3d Mon Sep 17 00:00:00 2001 From: Ricky Kresslein Date: Fri, 18 Feb 2022 16:14:09 +0100 Subject: - Moved to com.lakoliu.Furtherance - Removed development flag for release - Created nicer about dialog - Added description to data file - Improved desktop file - Changed database directory - Delete All no longer enabled if no tasks - Added GPL to top of every file --- data/meson.build | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 data/meson.build (limited to 'data/meson.build') diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..63e3267 --- /dev/null +++ b/data/meson.build @@ -0,0 +1,43 @@ +desktop_file = i18n.merge_file( + input: 'com.lakoliu.Furtherance.desktop.in', + output: 'com.lakoliu.Furtherance.desktop', + type: 'desktop', + po_dir: '../po', + install: true, + install_dir: join_paths(get_option('datadir'), 'applications') +) + +desktop_utils = find_program('desktop-file-validate', required: false) +if desktop_utils.found() + test('Validate desktop file', desktop_utils, + args: [desktop_file] + ) +endif + +appstream_file = i18n.merge_file( + input: 'com.lakoliu.Furtherance.appdata.xml.in', + output: 'com.lakoliu.Furtherance.appdata.xml', + po_dir: '../po', + install: true, + install_dir: join_paths(get_option('datadir'), 'appdata') +) + +appstream_util = find_program('appstream-util', required: false) +if appstream_util.found() + test('Validate appstream file', appstream_util, + args: ['validate', appstream_file] + ) +endif + +install_data('com.lakoliu.Furtherance.gschema.xml', + install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas') +) + +compile_schemas = find_program('glib-compile-schemas', required: false) +if compile_schemas.found() + test('Validate schema file', compile_schemas, + args: ['--strict', '--dry-run', meson.current_source_dir()] + ) +endif + +subdir('icons') -- cgit 1.4.1