commit:     b8f82c6e626d1f16e082cc62694354de4203f5bb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 11 14:50:32 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 14:50:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8f82c6e

xfce-base/xfdesktop: Require || ( wayland X )

Closes: https://bugs.gentoo.org/890437
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-base/xfdesktop/xfdesktop-4.19.0.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/xfce-base/xfdesktop/xfdesktop-4.19.0.ebuild 
b/xfce-base/xfdesktop/xfdesktop-4.19.0.ebuild
index c92e7011f80c..59e3d0085c86 100644
--- a/xfce-base/xfdesktop/xfdesktop-4.19.0.ebuild
+++ b/xfce-base/xfdesktop/xfdesktop-4.19.0.ebuild
@@ -15,12 +15,13 @@ 
SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2";
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv ~x86"
-IUSE="X libnotify +thunar wayland"
+IUSE="libnotify +thunar wayland X"
+REQUIRED_USE="|| ( wayland X )"
 
 DEPEND="
        >=x11-libs/cairo-1.16
        >=dev-libs/glib-2.66.0
-       >=x11-libs/gtk+-3.24.0:3[X?,wayland?]
+       >=x11-libs/gtk+-3.24.0:3[wayland?,X?]
        x11-libs/libX11
        >=xfce-base/exo-0.11:=
        >=xfce-base/garcon-0.6:=
@@ -43,9 +44,9 @@ BDEPEND="
 
 src_configure() {
        local myconf=(
-               $(use_enable X x11)
                $(use_enable wayland)
                $(use_enable wayland gtk-layer-shell)
+               $(use_enable X x11)
                $(use_enable thunar file-icons)
                $(use_enable thunar thunarx)
                $(use_enable libnotify notifications)

Reply via email to