[four-in-a-row] Unrelax the appdata validation.



commit 27e6a9ed75e59f5681ab256da1dafc51390dfaeb
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Aug 6 08:46:27 2019 +0200

    Unrelax the appdata validation.

 data/meson.build                            | 6 ++----
 data/org.gnome.Four-in-a-row.appdata.xml.in | 4 ++++
 meson.build                                 | 4 ++++
 3 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 5ab5b99..d8e7043 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -9,7 +9,6 @@ desktop_file = i18n.merge_file(
 )
 
 # Validate desktop file
-desktop_file_validate = find_program('desktop-file-validate', required: false)
 if desktop_file_validate.found()
   test(
     'validate-desktop',
@@ -30,12 +29,11 @@ appdata_file = i18n.merge_file(
 )
 
 # Validate AppData file
-appstream_util = find_program('appstream-util', required: false)
 if appstream_util.found()
   test(
     'validate-appdata', appstream_util,
     args: [
-      'validate-relax', '--nonet', appdata_file.full_path()
+      'validate', '--nonet', appdata_file.full_path()
     ]
   )
 endif
@@ -70,4 +68,4 @@ install_data(
     ],
     install_dir: join_paths(datadir, 'sounds')
 )
-subdir('icons')
\ No newline at end of file
+subdir('icons')
diff --git a/data/org.gnome.Four-in-a-row.appdata.xml.in b/data/org.gnome.Four-in-a-row.appdata.xml.in
index 721b1bb..ee424d5 100644
--- a/data/org.gnome.Four-in-a-row.appdata.xml.in
+++ b/data/org.gnome.Four-in-a-row.appdata.xml.in
@@ -63,4 +63,8 @@
     <content_attribute id="money-purchasing">none</content_attribute>
     <content_attribute id="money-gambling">none</content_attribute>
   </content_rating>
+
+  ​<releases>
+    <release version="3.32.0" date="2019-03-11" type="stable" urgency="medium"/>
+  </releases>
 </component>
diff --git a/meson.build b/meson.build
index f640b04..73ff0cc 100644
--- a/meson.build
+++ b/meson.build
@@ -19,6 +19,10 @@ gsound_dependency = dependency('gsound', version: '>= 1.0.2')
 gtk_dependency = dependency('gtk+-3.0', version: '>= 3.13.2')
 rsvg_dependency = dependency('librsvg-2.0', version: '>= 2.32.0')
 
+appstream_util          = find_program('appstream-util',        required: false)
+desktop_file_validate   = find_program('desktop-file-validate', required: false)
+glib_compile_schema     = find_program('glib-compile-schemas',  required: true) # useful?
+
 datadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name())
 
 conf = configuration_data ()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]