ssb_resources = gnome.compile_resources( 'ssb-resources', join_paths('resources', 'eu.polonkai.gergely.SsbGtk.gresource.xml'), source_dir: 'resources', c_name: 'ssb') desktop_file = i18n.merge_file( input: 'eu.polonkai.gergely.SsbGtk.desktop.in', output: 'eu.polonkai.gergely.SsbGtk.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