summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-04-30 18:52:50 +0200
committerBastien Nocera <hadess@hadess.net>2021-04-30 19:37:26 +0200
commitfa0a441713f0a20a601b3741d7d2d91dc2d2e9fb (patch)
treeb6c9a9a6d54e511fb44c05fd6f3589bb457fd840
parent725b53fa80746497bf47c845ae21e6bd0fb31110 (diff)
downloadtotem-wip/hadess/backend-fixes.tar.gz
data: Fix file validationwip/hadess/backend-fixes
Because the file to validate wasn't created yet. /run/build/totem/_flatpak_build/data/appdata/org.gnome.Totem.appdata.xml: /run/build/totem/_flatpak_build/data/appdata/org.gnome.Totem.appdata.xml could not be read: Failed to open file “/run/build/totem/_flatpak_build/data/appdata/org.gnome.Totem.appdata.xml”: No such file or directory /run/build/totem/_flatpak_build/data/org.gnome.Totem.desktop: file does not exist
-rw-r--r--data/appdata/meson.build1
-rw-r--r--data/meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/data/appdata/meson.build b/data/appdata/meson.build
index 60b0aec23..c4d17e927 100644
--- a/data/appdata/meson.build
+++ b/data/appdata/meson.build
@@ -13,6 +13,7 @@ appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test(
'validate-appdata', appstream_util,
+ depends: appdata_file,
args: ['validate', '--nonet', appdata_file.full_path()]
)
endif
diff --git a/data/meson.build b/data/meson.build
index 32f2f8450..4c6df3ba3 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -83,6 +83,7 @@ if desktop_file_validate.found()
test(
'validate-desktop',
desktop_file_validate,
+ depends: desktop_file,
args: [desktop_file.full_path()]
)
endif