commit:     f73377c9ab9e4a4191ad7bb07b25b7379cfef0c3
Author:     Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Fri Aug  9 16:22:40 2024 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Aug 23 02:03:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73377c9

x11-misc/clipmenu: mention xdotool as an optional dependency

Closes: https://bugs.gentoo.org/936496
Signed-off-by: Ferenc Erki <erkiferenc <AT> gmail.com>
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 x11-misc/clipmenu/clipmenu-6.2.0-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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"

Reply via email to