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() {