commit:     099515d22f7758ccb5e8ce3d22e5d8f1661ddf7a
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 29 01:41:55 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Mar 29 01:41:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099515d2

games-board/gnome-mahjongg: Avoid sandbox violation

The eclass handles these things for us, so we don't need to.

Closes: https://bugs.gentoo.org/778827
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild | 8 ++++++++
 profiles/package.mask                                   | 4 ----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild 
b/games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild
index 35a8f95c6d0..d6dd60a4981 100644
--- a/games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild
+++ b/games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild
@@ -35,6 +35,14 @@ src_prepare() {
        vala_src_prepare
 }
 
+src_configure() {
+       local emesonargs=(
+               -Dcompile-schemas=disabled
+               -Dupdate-icon-cache=disabled
+       )
+       meson_src_configure
+}
+
 pkg_postinst() {
        xdg_pkg_postinst
        gnome2_schemas_update

diff --git a/profiles/package.mask b/profiles/package.mask
index 2e62daa9861..dd00f200220 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -32,10 +32,6 @@
 
 #--- END OF EXAMPLES ---
 
-# Matt Turner <[email protected]> (2021-03-28)
-# Sandbox violations, bug #778827
->=games-board/gnome-mahjongg-3.38
-
 # Andreas Sturmlechner <[email protected]> (2021-03-28)
 # No release since 2012, depends on deprecated dev-ml/lablgtk:2, no more
 # revdeps in Gentoo ebuild repository.

Reply via email to