commit:     19102942b5d6049be39126e08436fd9e49dbc8e1
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 28 04:15:03 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Mar 28 04:20:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19102942

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

meson-0.61.4's gnome module now checks that gtk4-update-icon-cache is
available if updating cache is requested (was ignored with <=0.61.3),
simply skip given this should be handled by xdg.eclass either way.

Closes: https://bugs.gentoo.org/836294
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-kids/gmult/files/gmult-10.0-no-icon-cache.patch | 8 ++++++++
 games-kids/gmult/gmult-10.0.ebuild                    | 4 ++++
 2 files changed, 12 insertions(+)

diff --git a/games-kids/gmult/files/gmult-10.0-no-icon-cache.patch 
b/games-kids/gmult/files/gmult-10.0-no-icon-cache.patch
new file mode 100644
index 000000000000..2a355c17e228
--- /dev/null
+++ b/games-kids/gmult/files/gmult-10.0-no-icon-cache.patch
@@ -0,0 +1,8 @@
+https://bugs.gentoo.org/836294
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -56,3 +56,3 @@
+ gnome.post_install(
+-    gtk_update_icon_cache: true,
++    gtk_update_icon_cache: false,
+ )

diff --git a/games-kids/gmult/gmult-10.0.ebuild 
b/games-kids/gmult/gmult-10.0.ebuild
index 6df28b33de33..b0c8fcd25418 100644
--- a/games-kids/gmult/gmult-10.0.ebuild
+++ b/games-kids/gmult/gmult-10.0.ebuild
@@ -26,6 +26,10 @@ BDEPEND="
        $(vala_depend)
        sys-devel/gettext"
 
+PATCHES=(
+       "${FILESDIR}"/${PN}-10.0-no-icon-cache.patch
+)
+
 DOCS=( NEWS.md README.md )
 
 src_configure() {

Reply via email to