From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1355997-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 5D01D158088
	for <garchives@archives.gentoo.org>; Fri,  7 Jan 2022 19:52:56 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 68AECE0636;
	Fri,  7 Jan 2022 19:52:54 +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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8F4E92BC005
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Jan 2022 19:52:53 +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 94114342E6C
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Jan 2022 19:52:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D4D3282
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Jan 2022 19:52:51 +0000 (UTC)
From: "Luciano Degni" <degni.public@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Luciano Degni" <degni.public@gmail.com>
Message-ID: <1641585075.bc50f93af8fd107173ff0b4fbb034cf2d41f927a.degni.public@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-wm/leftwm/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: x11-wm/leftwm/leftwm-0.2.10.ebuild
X-VCS-Directories: x11-wm/leftwm/
X-VCS-Committer: degni.public
X-VCS-Committer-Name: Luciano Degni
X-VCS-Revision: bc50f93af8fd107173ff0b4fbb034cf2d41f927a
X-VCS-Branch: dev
Date: Fri,  7 Jan 2022 19:52:51 +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: 6e5129e1-1397-4a2a-8358-9a78c2b80f7d
X-Archives-Hash: 9a9c0c7ba5ca406ac04e401ae8a1548d

commit:     bc50f93af8fd107173ff0b4fbb034cf2d41f927a
Author:     Luciano Degni <degni.public <AT> gmail <DOT> com>
AuthorDate: Fri Jan  7 19:51:15 2022 +0000
Commit:     Luciano Degni <degni.public <AT> gmail <DOT> com>
CommitDate: Fri Jan  7 19:51:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc50f93a

x11-wm/leftwm: add use and change deps format

Signed-off-by: Luciano Degni <degni.public <AT> gmail.com>

 x11-wm/leftwm/leftwm-0.2.10.ebuild | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/x11-wm/leftwm/leftwm-0.2.10.ebuild b/x11-wm/leftwm/leftwm-0.2.10.ebuild
index bb1ada236..199114594 100644
--- a/x11-wm/leftwm/leftwm-0.2.10.ebuild
+++ b/x11-wm/leftwm/leftwm-0.2.10.ebuild
@@ -158,15 +158,26 @@ LICENSE="
 "
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="systemd"
+IUSE="systemd xinerama doc"
 
 DEPEND="
-	x11-libs/libXinerama:0=
-	x11-apps/xrandr:0=
-	x11-base/xorg-server:0=
+	x11-base/xorg-server[xorg,udev]
+	x11-apps/xrandr
+	xinerama? (
+		x11-libs/libXinerama
+	)
 	>=dev-lang/rust-1.52.0
+	systemd? (
+		sys-apps/systemd
+	)
+"
+BDEPEND="
+	$DEPEND
+"
+RDEPEND="
+	$DEPEND
+	!x11-wm/$PN-bin
 "
-RDEPEND="${DEPEND}"
 
 QA_FLAGS_IGNORED="usr/bin/.*"
 
@@ -177,7 +188,7 @@ src_compile() {
 }
 
 src_install() {
-	dodoc README.md CHANGELOG
+	use doc && dodoc README.md CHANGELOG
 	make_desktop_entry leftwm.desktop /usr/share/xsessions/
 	cd target/release || die
 	dobin leftwm{,-worker,-state,-check,-command}
@@ -185,6 +196,7 @@ src_install() {
 
 pkg_postinst() {
 	xdg_desktop_database_update
+	elog "Emerge 'x11-misc/leftwm-theme' to manage themes for $PN"
 }
 
 pkg_postrm() {