games-kids/gmult: fix build with meson-0.62.1

Closes: https://bugs.gentoo.org/843866
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens 2022-05-12 09:34:59 -04:00
parent 9da06c873c
commit fe930d2999
No known key found for this signature in database
GPG Key ID: B24406B0B0AC4334
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,21 @@
New meson is more picky about using exe in test() that wasn't found.
https://bugs.gentoo.org/843866
--- a/data/meson.build
+++ b/data/meson.build
@@ -41,9 +41,11 @@
)
-test(
- 'validate-appstream',
- appstream_util,
- args: ['--nonet', 'validate-relax', gmult_appdata],
-)
+if appstream_util.found()
+ test(
+ 'validate-appstream',
+ appstream_util,
+ args: ['--nonet', 'validate-relax', gmult_appdata],
+ )
+endif
resources = gnome.compile_resources(

View File

@ -28,6 +28,10 @@ BDEPEND="
DOCS=( NEWS.md README.md )
PATCHES=(
"${FILESDIR}"/${P}-meson-0.62.patch
)
src_configure() {
vala_setup
meson_src_configure