mate-extra/mate-utils: Make utils available on all DEs, #585252
authorNP-Hardass <NP-Hardass@gentoo.org>
Mon, 5 Sep 2016 18:44:25 +0000 (14:44 -0400)
committerEttore Di Giacinto <mudler@gentoo.org>
Mon, 21 Nov 2016 11:00:40 +0000 (12:00 +0100)
Package-Manager: portage-2.3.0

mate-extra/mate-utils/mate-utils-1.14.1.ebuild

index 9570167b1a3a61a84560eb0928192bb4b3e3b6db..a5f7e8d400d1432408ccc417fea5927a749842c9 100644 (file)
@@ -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 \