diff --git a/build-aux/io.github.fkinoshita.Telegraph.Devel.json b/build-aux/io.github.fkinoshita.Telegraph.Devel.json index 21c2f49..6ef2936 100644 --- a/build-aux/io.github.fkinoshita.Telegraph.Devel.json +++ b/build-aux/io.github.fkinoshita.Telegraph.Devel.json @@ -26,6 +26,7 @@ "name" : "telegraph", "builddir" : true, "buildsystem" : "meson", + "run-tests": true, "config-opts" : [ "-Dprofile=development" ], diff --git a/data/io.github.fkinoshita.Telegraph.metainfo.xml.in.in b/data/io.github.fkinoshita.Telegraph.metainfo.xml.in.in index 4afc265..c8be19c 100644 --- a/data/io.github.fkinoshita.Telegraph.metainfo.xml.in.in +++ b/data/io.github.fkinoshita.Telegraph.metainfo.xml.in.in @@ -4,7 +4,11 @@ @APPID@ @APPID@.desktop @NAME@ + Felipe Kinoshita + + Felipe Kinoshita + kinofhek@gmail.com CC0-1.0 GPL-3.0-only diff --git a/data/meson.build b/data/meson.build index f721c1a..0f3db75 100644 --- a/data/meson.build +++ b/data/meson.build @@ -75,13 +75,13 @@ metainfo = i18n.merge_file( po_dir: join_paths(meson.project_source_root(), 'po') ) -# Validating the metainfo file -appstreamcli = find_program('appstream-util', required: false) -if appstreamcli.found() - test ( - 'Validate metainfo file', +# Validate Appdata +appstreamcli = find_program('appstreamcli', required: false) +if (appstreamcli.found()) + test('Validate metainfo file', appstreamcli, - args: ['validate-relax', '--nonet', join_paths(meson.current_build_dir (), application_id + '.metainfo.xml')] + args: ['validate', '--no-net', '--explain', metainfo], + workdir: meson.current_build_dir() ) endif