From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1476106-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4639815800F
	for <garchives@archives.gentoo.org>; Wed, 11 Jan 2023 14:52:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 50587E0C58;
	Wed, 11 Jan 2023 14:52:32 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 368F8E0C58
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Jan 2023 14:52:32 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 31EB9340E53
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Jan 2023 14:52:31 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 86373824
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Jan 2023 14:52:29 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1673448673.7ddd4c7ec131f881b2f690dd16792a7a47846eb8.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfce4-panel/
X-VCS-Repository: repo/gentoo
X-VCS-Files: xfce-base/xfce4-panel/xfce4-panel-4.19.0.ebuild
X-VCS-Directories: xfce-base/xfce4-panel/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 7ddd4c7ec131f881b2f690dd16792a7a47846eb8
X-VCS-Branch: master
Date: Wed, 11 Jan 2023 14:52:29 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 3b51bba3-f27c-4f94-8c16-b2d254390cd1
X-Archives-Hash: fab097fdf10cb14eecf38580ae467c7e

commit:     7ddd4c7ec131f881b2f690dd16792a7a47846eb8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 11 14:51:13 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 14:51:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ddd4c7e

xfce-base/xfce4-panel: Require || ( wayland X )

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-base/xfce4-panel/xfce4-panel-4.19.0.ebuild | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/xfce-base/xfce4-panel/xfce4-panel-4.19.0.ebuild b/xfce-base/xfce4-panel/xfce4-panel-4.19.0.ebuild
index d3de0ac68c66..0550feb13c05 100644
--- a/xfce-base/xfce4-panel/xfce4-panel-4.19.0.ebuild
+++ b/xfce-base/xfce4-panel/xfce4-panel-4.19.0.ebuild
@@ -15,8 +15,11 @@ SRC_URI="https://archive.xfce.org/src/xfce/${PN}/${PV%.*}/${P}.tar.bz2"
 LICENSE="GPL-2+ LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~amd64 ~riscv ~x86"
-IUSE="X +dbusmenu introspection vala wayland"
-REQUIRED_USE="vala? ( introspection )"
+IUSE="+dbusmenu introspection vala wayland X"
+REQUIRED_USE="
+	|| ( wayland X )
+	vala? ( introspection )
+"
 
 DEPEND="
 	>=dev-libs/glib-2.72.0
@@ -28,16 +31,16 @@ DEPEND="
 	>=xfce-base/libxfce4util-4.17.2:=[introspection?,vala?]
 	>=xfce-base/libxfce4windowing-4.19.1:=
 	>=xfce-base/xfconf-4.13:=
-	X? (
-		x11-libs/libX11
-		x11-libs/libwnck:3
-	)
 	dbusmenu? ( >=dev-libs/libdbusmenu-16.04.0[gtk3] )
 	introspection? ( >=dev-libs/gobject-introspection-1.66:= )
 	wayland? (
 		>=dev-libs/wayland-1.15
 		>=gui-libs/gtk-layer-shell-0.7.0
 	)
+	X? (
+		x11-libs/libX11
+		x11-libs/libwnck:3
+	)
 "
 RDEPEND="
 	${DEPEND}
@@ -57,10 +60,10 @@ src_configure() {
 		$(use_enable introspection)
 		$(use_enable dbusmenu dbusmenu-gtk3)
 		$(use_enable vala)
-		$(use_enable X gtk-x11)
-		$(use_enable X libwnck)
 		$(use_enable wayland wayland-client)
 		$(use_enable wayland gtk-layer-shell)
+		$(use_enable X gtk-x11)
+		$(use_enable X libwnck)
 	)
 
 	use vala && vala_setup