x11-misc/libinput-gestures: Bump to version 2.34
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 26 Apr 2018 07:45:45 +0000 (09:45 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 26 Apr 2018 07:50:04 +0000 (09:50 +0200)
Package-Manager: Portage-2.3.31, Repoman-2.3.9

x11-misc/libinput-gestures/Manifest
x11-misc/libinput-gestures/libinput-gestures-2.34.ebuild [new file with mode: 0644]

index 628e7be8010a4013b89d8ec992b7626d89a2ab11..e94859e40882ce2c25297b1642300f09e7859410 100644 (file)
@@ -1 +1,2 @@
 DIST libinput-gestures-2.31.tar.gz 15872 BLAKE2B 0fe671f50ee6e7b06362591d68d259587347794c80df27c73d833e459eb9499ae919bf3e4f12e1dfc2852fd9b70c3962963f3a291107bab8ea0a8f1576dddde4 SHA512 fc3c90025486c8da5b2419f99666737dca40dfc962a549bd1955ea792137a1377a9697c8cab908991503fa9dd6d72520a04ac2dbc9463bc228566569be43ca67
+DIST libinput-gestures-2.34.tar.gz 16321 BLAKE2B ae1fc850a075fd0b8e4aec6b94f0257f10f309a28a4893aad608eff59afede28b4126734a14f510ca569f64d79492461000dfca8c34e614a5e99839f3c5d952d SHA512 47ffa36b9abb01e62a046d1135cf3ec2773285f94ba68d66c03f877b6acf057491fb4a7645198d8c3bde39e38e12e039f3b10c6987d5765798d969d23359269f
diff --git a/x11-misc/libinput-gestures/libinput-gestures-2.34.ebuild b/x11-misc/libinput-gestures/libinput-gestures-2.34.ebuild
new file mode 100644 (file)
index 0000000..39fb049
--- /dev/null
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_4,3_5,3_6} )
+
+inherit gnome2-utils python-single-r1
+
+DESCRIPTION="Actions gestures on your touchpad using libinput"
+HOMEPAGE="https://github.com/bulletmark/libinput-gestures"
+if [[ ${PV} == *9999 ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/bulletmark/${PN}.git"
+else
+       SRC_URI="https://github.com/bulletmark/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="test"
+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
+       test? ( dev-python/flake8[${PYTHON_USEDEP}] )"
+
+src_prepare() {
+       default
+
+       # Fix docdir installation path
+       sed '/^DOCDIR/s@$NAME@${PF}@' -i libinput-gestures-setup || die
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+
+       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
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}