From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-992867-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 0DFC9138806
	for <garchives@archives.gentoo.org>; Mon, 25 Dec 2017 13:53:27 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5CB12E0E33;
	Mon, 25 Dec 2017 13:53:24 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 3C5C1E0E33
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Dec 2017 13:53:23 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id AE04033FE49
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Dec 2017 13:53:22 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1B933AE98
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Dec 2017 13:53:20 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@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, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1514209982.a327e44a1a13290b26234ac21ecad9590aa05631.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/libinput-gestures/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
X-VCS-Directories: x11-misc/libinput-gestures/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: a327e44a1a13290b26234ac21ecad9590aa05631
X-VCS-Branch: master
Date: Mon, 25 Dec 2017 13:53:20 +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-Archives-Salt: da2e7ac5-3faa-4cbb-8d62-fad234dc3f8d
X-Archives-Hash: 65ffc3abfc51f0917144f623fe47ce16

commit:     a327e44a1a13290b26234ac21ecad9590aa05631
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Mon Dec 25 11:43:46 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 13:53:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a327e44a

x11-misc/libinput-gestures: Drop USE=gtk,kde

1. Dropped x11-libs/gtk+:3 and kde-plasma/kde-cli-tools:5 from RDEPEND.
2. Fixed REQUIRED_USE position in ebuild.

Closes: https://github.com/gentoo/gentoo/pull/6065
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 x11-misc/libinput-gestures/libinput-gestures-9999.ebuild | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
index fcb47f02598..f2516c9159b 100644
--- a/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
+++ b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild
@@ -15,19 +15,23 @@ SRC_URI=""
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE="gtk kde"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
 	>=dev-libs/libinput-1.8.0
 	x11-misc/xdotool
 	x11-misc/wmctrl"
 DEPEND=">=dev-libs/libinput-1.8.0
-	dev-util/desktop-file-utils
-	gtk? ( x11-libs/gtk+:3 )
-	kde? ( kde-plasma/kde-cli-tools:5 )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+	dev-util/desktop-file-utils"
 
 pkg_postinst() {
 	elog "You must be in the input group to read the touchpad device."
+
+	if ! has_version x11-libs/gtk+:3 ; then
+		elog "${PN}-setup script supports Gnome 3 via x11-libs/gtk+:3."
+	fi
+	if ! has_version kde-plasma/kde-cli-tools:5 ; then
+		elog "${PN}-setup script supports Plasma 5 via kde-plasma/kde-cli-tools:5."
+	fi
 }