x11-plugins/wmudmount: depend on virtual/imagemagick-tools
authorBernard Cafarelli <voyageur@gentoo.org>
Sun, 12 Feb 2017 23:29:43 +0000 (00:29 +0100)
committerBernard Cafarelli <voyageur@gentoo.org>
Sun, 12 Feb 2017 23:35:21 +0000 (00:35 +0100)
Previous commit messed with stable version and last changes
Bug 587870

Package-Manager: Portage-2.3.3, Repoman-2.3.1

x11-plugins/wmudmount/wmudmount-2.2-r2.ebuild [new file with mode: 0644]

diff --git a/x11-plugins/wmudmount/wmudmount-2.2-r2.ebuild b/x11-plugins/wmudmount/wmudmount-2.2-r2.ebuild
new file mode 100644 (file)
index 0000000..32e4f34
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 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="https://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
+       virtual/imagemagick-tools[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; }