Skip to content

Commit

Permalink
x11-misc/rofi-emoji: fix USE flags
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
mathsaey committed Jun 30, 2024
1 parent 6bbd428 commit 6c7d541
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions x11-misc/rofi-emoji/rofi-emoji-3.3.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 6c7d541

Please sign in to comment.