Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-kids/gmult/files/, games-kids/gmult/
Date: Thu, 12 May 2022 13:38:47
Message-Id: 1652362705.fe930d29997bc3950e120aaee37074a30734c4f9.ionen@gentoo
1 commit: fe930d29997bc3950e120aaee37074a30734c4f9
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 12 13:34:59 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Thu May 12 13:38:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe930d29
7
8 games-kids/gmult: fix build with meson-0.62.1
9
10 Closes: https://bugs.gentoo.org/843866
11 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
12
13 games-kids/gmult/files/gmult-10.0-meson-0.62.patch | 21 +++++++++++++++++++++
14 games-kids/gmult/gmult-10.0.ebuild | 4 ++++
15 2 files changed, 25 insertions(+)
16
17 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
18 new file mode 100644
19 index 000000000000..a3b12300e292
20 --- /dev/null
21 +++ b/games-kids/gmult/files/gmult-10.0-meson-0.62.patch
22 @@ -0,0 +1,21 @@
23 +New meson is more picky about using exe in test() that wasn't found.
24 +https://bugs.gentoo.org/843866
25 +--- a/data/meson.build
26 ++++ b/data/meson.build
27 +@@ -41,9 +41,11 @@
28 + )
29 +
30 +-test(
31 +- 'validate-appstream',
32 +- appstream_util,
33 +- args: ['--nonet', 'validate-relax', gmult_appdata],
34 +-)
35 ++if appstream_util.found()
36 ++ test(
37 ++ 'validate-appstream',
38 ++ appstream_util,
39 ++ args: ['--nonet', 'validate-relax', gmult_appdata],
40 ++ )
41 ++endif
42 +
43 + resources = gnome.compile_resources(
44
45 diff --git a/games-kids/gmult/gmult-10.0.ebuild b/games-kids/gmult/gmult-10.0.ebuild
46 index 6df28b33de33..7ef500d6f09a 100644
47 --- a/games-kids/gmult/gmult-10.0.ebuild
48 +++ b/games-kids/gmult/gmult-10.0.ebuild
49 @@ -28,6 +28,10 @@ BDEPEND="
50
51 DOCS=( NEWS.md README.md )
52
53 +PATCHES=(
54 + "${FILESDIR}"/${P}-meson-0.62.patch
55 +)
56 +
57 src_configure() {
58 vala_setup
59 meson_src_configure