commit:     6c7d54149b8551d32ba59ad15d3b9513d2ed0b45
Author:     Mathijs Saey <mathijs <AT> mathsaey <DOT> be>
AuthorDate: Sun Jun 30 15:13:31 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sun Jun 30 15:13:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c7d5414

x11-misc/rofi-emoji: fix USE flags

The ebuild required either the X or wayland USE flag to be set, but did
not enforce this. This commit removes the X flag and installs X
dependencies by default (i.e. if the wayland USE flag is not set).

Closes: https://bugs.gentoo.org/935159
Signed-off-by: Mathijs Saey <mathijs <AT> mathsaey.be>

 x11-misc/rofi-emoji/rofi-emoji-3.3.0.ebuild | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/x11-misc/rofi-emoji/rofi-emoji-3.3.0.ebuild 
b/x11-misc/rofi-emoji/rofi-emoji-3.3.0.ebuild
index 90d627a43..94263d5d9 100644
--- a/x11-misc/rofi-emoji/rofi-emoji-3.3.0.ebuild
+++ b/x11-misc/rofi-emoji/rofi-emoji-3.3.0.ebuild
@@ -13,26 +13,22 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-IUSE="X wayland"
+IUSE="wayland"
 
 DEPEND="
-       wayland? (
-               gui-apps/rofi-wayland
-       )
-       X? (
-               x11-misc/rofi
-       )
+       !wayland? ( x11-misc/rofi )
+       wayland? ( gui-apps/rofi-wayland )
 "
 RDEPEND="
        ${DEPEND}
+       !wayland? (
+               || ( x11-misc/xsel x11-misc/xclip x11-misc/copyq )
+               x11-misc/xdotool
+       )
        wayland? (
                gui-apps/wl-clipboard
                gui-apps/wtype
        )
-       X? (
-               || ( x11-misc/xsel x11-misc/xclip x11-misc/copyq )
-               x11-misc/xdotool
-       )
 "
 
 src_prepare() {

Reply via email to