aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathijs Saey <mathijs@mathsaey.be>2024-06-30 17:13:31 +0200
committerMathijs Saey <mathijs@mathsaey.be>2024-06-30 17:13:31 +0200
commit6c7d54149b8551d32ba59ad15d3b9513d2ed0b45 (patch)
tree183cfd15dd822da2aa82c8fd459d31c9022edfa9 /x11-misc
parentsec-keys/signify-keys-telescope: update HOMEPAGE (diff)
downloadguru-6c7d54149b8551d32ba59ad15d3b9513d2ed0b45.tar.gz
guru-6c7d54149b8551d32ba59ad15d3b9513d2ed0b45.tar.bz2
guru-6c7d54149b8551d32ba59ad15d3b9513d2ed0b45.zip
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@mathsaey.be>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/rofi-emoji/rofi-emoji-3.3.0.ebuild18
1 files 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 90d627a43f..94263d5d9c 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() {