summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerenc Erki <erkiferenc@gmail.com>2024-08-09 18:22:40 +0200
committerEli Schwartz <eschwartz@gentoo.org>2024-08-22 22:03:11 -0400
commitf73377c9ab9e4a4191ad7bb07b25b7379cfef0c3 (patch)
treeb5cfb83f14676ce58de683d60e1538239e2b02c7 /x11-misc/clipmenu
parentx11-misc/clipmenu: notify systemd users about expected environment (diff)
downloadgentoo-f73377c9ab9e4a4191ad7bb07b25b7379cfef0c3.tar.gz
gentoo-f73377c9ab9e4a4191ad7bb07b25b7379cfef0c3.tar.bz2
gentoo-f73377c9ab9e4a4191ad7bb07b25b7379cfef0c3.zip
x11-misc/clipmenu: mention xdotool as an optional dependency
Closes: https://bugs.gentoo.org/936496 Signed-off-by: Ferenc Erki <erkiferenc@gmail.com> Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'x11-misc/clipmenu')
-rw-r--r--x11-misc/clipmenu/clipmenu-6.2.0-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-misc/clipmenu/clipmenu-6.2.0-r1.ebuild b/x11-misc/clipmenu/clipmenu-6.2.0-r1.ebuild
index d50e4c08f495..299a3b2a4f1b 100644
--- a/x11-misc/clipmenu/clipmenu-6.2.0-r1.ebuild
+++ b/x11-misc/clipmenu/clipmenu-6.2.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit systemd
+inherit optfeature systemd
DESCRIPTION="Clipboard management"
HOMEPAGE="https://github.com/cdown/clipmenu"
@@ -49,6 +49,8 @@ src_install() {
}
pkg_postinst() {
+ optfeature "ignoring specific windows via CM_IGNORE_WINDOW" x11-misc/xdotool
+
if systemd_is_booted || has_version sys-apps/systemd; then
einfo ""
einfo "Make sure to import \$DISPLAY when using the systemd unit for clipmenud"