summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-kids/gmult/files/gmult-10.0-meson-0.62.patch21
-rw-r--r--games-kids/gmult/gmult-10.0.ebuild4
2 files changed, 25 insertions, 0 deletions
diff --git a/games-kids/gmult/files/gmult-10.0-meson-0.62.patch b/games-kids/gmult/files/gmult-10.0-meson-0.62.patch
new file mode 100644
index 000000000000..a3b12300e292
--- /dev/null
+++ b/games-kids/gmult/files/gmult-10.0-meson-0.62.patch
@@ -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(
diff --git a/games-kids/gmult/gmult-10.0.ebuild b/games-kids/gmult/gmult-10.0.ebuild
index 6df28b33de33..7ef500d6f09a 100644
--- a/games-kids/gmult/gmult-10.0.ebuild
+++ b/games-kids/gmult/gmult-10.0.ebuild
@@ -28,6 +28,10 @@ BDEPEND="
DOCS=( NEWS.md README.md )
+PATCHES=(
+ "${FILESDIR}"/${P}-meson-0.62.patch
+)
+
src_configure() {
vala_setup
meson_src_configure