summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-05-14 14:45:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-05-18 14:09:11 +0200
commit50d6a61275e427739c9acb1df7bdf86c0ddf10cc (patch)
tree79c0f8f30250a34e8c95b248d088bbede246a64d /x11-plugins
parentapp-crypt/zulucrypt: Rename USE=gnome -> keyring (diff)
downloadgentoo-50d6a61275e427739c9acb1df7bdf86c0ddf10cc.tar.gz
gentoo-50d6a61275e427739c9acb1df7bdf86c0ddf10cc.tar.bz2
gentoo-50d6a61275e427739c9acb1df7bdf86c0ddf10cc.zip
x11-plugins/wmudmount: EAPI-8 bump, Rename USE=secret -> keyring
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/wmudmount/wmudmount-3.0-r2.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/x11-plugins/wmudmount/wmudmount-3.0-r2.ebuild b/x11-plugins/wmudmount/wmudmount-3.0-r2.ebuild
new file mode 100644
index 000000000000..ac9b162e9b6d
--- /dev/null
+++ b/x11-plugins/wmudmount/wmudmount-3.0-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="Filesystem mounter using 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="gcr keyring libnotify"
+
+RDEPEND="
+ sys-fs/udisks:2
+ >=x11-libs/gtk+-3.16.0:3
+ gcr? ( app-crypt/gcr:0=[gtk] )
+ keyring? ( app-crypt/libsecret )
+ libnotify? ( >=x11-libs/libnotify-0.7 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ virtual/imagemagick-tools[png]
+"
+
+DOCS="ChangeLog"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.2-perl_brace_regex.patch )
+
+src_configure() {
+ econf \
+ $(use_with gcr) \
+ $(use_with libnotify) \
+ $(use_with keyring secret)
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}