[gnome-tetravex] Unrelax the appdata validation.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tetravex] Unrelax the appdata validation.
- Date: Wed, 7 Aug 2019 11:09:50 +0000 (UTC)
commit e1089f95576405c5210b56cfd0104533997d4cc0
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Aug 7 13:04:01 2019 +0200
Unrelax the appdata validation.
data/meson.build | 4 +---
data/org.gnome.Tetravex.appdata.xml.in | 4 ++++
meson.build | 10 ++++++++--
3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/data/meson.build b/data/meson.build
index 0c19ccd..c1df698 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -19,7 +19,6 @@ desktop_file = i18n.merge_file ('desktop-file',
po_dir: '../po',
type: 'desktop')
-desktop_file_validate = find_program('desktop-file-validate', required: false)
if desktop_file_validate.found()
test(
'validate-desktop',
@@ -37,12 +36,11 @@ appdata_file = i18n.merge_file ('appdata-file',
install_dir: join_paths (datadir, 'metainfo'),
po_dir: '../po')
-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
diff --git a/data/org.gnome.Tetravex.appdata.xml.in b/data/org.gnome.Tetravex.appdata.xml.in
index a9f2156..425dce7 100644
--- a/data/org.gnome.Tetravex.appdata.xml.in
+++ b/data/org.gnome.Tetravex.appdata.xml.in
@@ -68,4 +68,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-10" type="stable" urgency="medium"/>
+ </releases>
</component>
diff --git a/meson.build b/meson.build
index d052b5a..dbe99bc 100644
--- a/meson.build
+++ b/meson.build
@@ -9,8 +9,10 @@ project ('gnome-tetravex', ['vala', 'c'],
project_id = 'org.gnome.Tetravex'
-gnome = import ('gnome')
-i18n = import ('i18n')
+# used to install help
+gnome = import('gnome')
+# used for internationalization
+i18n = import('i18n')
# Paths
mandir = join_paths (get_option ('prefix'), get_option ('mandir'))
@@ -21,6 +23,10 @@ datadir = join_paths (get_option ('prefix'), get_option ('datadir'))
glib_dep = dependency ('glib-2.0', version: '>= 2.40.0')
gtk_dep = dependency ('gtk+-3.0', version: '>= 3.14')
+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?
+
cc = meson.get_compiler('c')
libm_dep = cc.find_library('m')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]