commit:     88e533bbd3098188db4dc7a4be7fa03ba15a0d11
Author:     NP-Hardass <NP-Hardass <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  5 18:44:25 2016 +0000
Commit:     Ettore Di Giacinto <mudler <AT> gentoo <DOT> org>
CommitDate: Mon Nov 21 11:00:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88e533bb

mate-extra/mate-utils: Make utils available on all DEs, #585252

Package-Manager: portage-2.3.0

 mate-extra/mate-utils/mate-utils-1.14.1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/mate-extra/mate-utils/mate-utils-1.14.1.ebuild 
b/mate-extra/mate-utils/mate-utils-1.14.1.ebuild
index 9570167..a5f7e8d 100644
--- a/mate-extra/mate-utils/mate-utils-1.14.1.ebuild
+++ b/mate-extra/mate-utils/mate-utils-1.14.1.ebuild
@@ -53,6 +53,14 @@ DEPEND="${COMMON_DEPEND}
        sys-devel/gettext:*
        virtual/pkgconfig:*"
 
+src_prepare() {
+       # Make apps visible in all DEs.
+       LC_ALL=C find . -iname '*.desktop.in*' -exec \
+               sed -e '/OnlyShowIn/d' -i {} + || die
+
+       mate_src_prepare
+}
+
 src_configure() {
        mate_src_configure \
                --disable-maintainer-flags \

Reply via email to