diff options
author | Vladimir Pavljuchenkov (SpiderX) <spiderx@spiderx.dp.ua> | 2017-12-25 13:43:46 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-12-25 14:53:02 +0100 |
commit | a327e44a1a13290b26234ac21ecad9590aa05631 (patch) | |
tree | 0c8764c8abceb3839ad8007e2020e6ad7fa9180d /x11-misc/libinput-gestures | |
parent | media-libs/libextractor: Patch CVE-2017-17440 (diff) | |
download | gentoo-a327e44a1a13290b26234ac21ecad9590aa05631.tar.gz gentoo-a327e44a1a13290b26234ac21ecad9590aa05631.tar.bz2 gentoo-a327e44a1a13290b26234ac21ecad9590aa05631.zip |
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
Diffstat (limited to 'x11-misc/libinput-gestures')
-rw-r--r-- | x11-misc/libinput-gestures/libinput-gestures-9999.ebuild | 16 |
1 files 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 fcb47f025982..f2516c9159bd 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 } |