From de05dc37029c7ca63eb69809f730a7caffc9fd4d Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Tue, 5 Jul 2016 15:16:32 +0200 Subject: [PATCH] x11-plugins/wmudmount: fix xdg sandbox issue, bug #587870 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported by Toralf Förster Also bump EAPI Package-Manager: portage-2.3.0 --- x11-plugins/wmudmount/wmudmount-2.2-r1.ebuild | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 x11-plugins/wmudmount/wmudmount-2.2-r1.ebuild diff --git a/x11-plugins/wmudmount/wmudmount-2.2-r1.ebuild b/x11-plugins/wmudmount/wmudmount-2.2-r1.ebuild new file mode 100644 index 0000000000000..9e2f5e8329a2d --- /dev/null +++ b/x11-plugins/wmudmount/wmudmount-2.2-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils gnome2-utils xdg + +DESCRIPTION="A filesystem mounter that uses udisks to handle notification and mounting" +HOMEPAGE="http://sourceforge.net/projects/wmudmount/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnome-keyring libnotify" + +RDEPEND="sys-fs/udisks:2 + >=x11-libs/gtk+-3.8.0:3 + gnome-keyring? ( gnome-base/libgnome-keyring ) + libnotify? ( >=x11-libs/libnotify-0.7 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + || ( media-gfx/imagemagick[png] media-gfx/graphicsmagick[imagemagick,png] )" + +DOCS="ChangeLog" + +src_configure() { + econf \ + $(use_with libnotify) \ + $(use_with gnome-keyring) +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; }