Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/libinput-gestures/
Date: Tue, 04 Dec 2018 22:37:56
Message-Id: 1543962985.35542761a39aea5e757f4453eb7f0a87c23c632e.mgorny@gentoo
1 commit: 35542761a39aea5e757f4453eb7f0a87c23c632e
2 Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
3 AuthorDate: Sun Dec 2 09:11:19 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 4 22:36:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35542761
7
8 x11-misc/libinput-gestures: version bump to 2.40
9
10 Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12 Closes: https://github.com/gentoo/gentoo/pull/10537
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 x11-misc/libinput-gestures/Manifest | 1 +
16 .../libinput-gestures-2.40.ebuild | 56 ++++++++++++++++++++++
17 2 files changed, 57 insertions(+)
18
19 diff --git a/x11-misc/libinput-gestures/Manifest b/x11-misc/libinput-gestures/Manifest
20 index 8235daf24ca..448322d6a55 100644
21 --- a/x11-misc/libinput-gestures/Manifest
22 +++ b/x11-misc/libinput-gestures/Manifest
23 @@ -1 +1,2 @@
24 DIST libinput-gestures-2.39.tar.gz 18028 BLAKE2B f7d24a1ca8a6ba7064359d3f1c4e1cc72419205d94c9da7efc85b1fa0561f8353a50e126b6ec15cd79f6ef6c82b5d1ed94d44f0af6fcfc21eb2644695dd66337 SHA512 5aa54c9da01de76e279924bc2840b704f163512e06734fee1fa37e6905c33fa2aa734f4bfef6e8bc75a654f0345dfd8928be298d880229cc47be791a65ba1927
25 +DIST libinput-gestures-2.40.tar.gz 18082 BLAKE2B ef01449a6fa381361876909487460f2a11e86887b1a3885b1459c218206e80d76ccf53dbebe39d39c360bee5da7a32028673d2165c244df584ae6e8078957d33 SHA512 70c22f7225f4a1f7e0a4d0a83f84370f2649ef01d9a72756b2d4bb4be92ac2265c9aff9302642609065da0e1769b719f616e2d8ee843aca01ce66f1891732890
26
27 diff --git a/x11-misc/libinput-gestures/libinput-gestures-2.40.ebuild b/x11-misc/libinput-gestures/libinput-gestures-2.40.ebuild
28 new file mode 100644
29 index 00000000000..ebd4d9f424c
30 --- /dev/null
31 +++ b/x11-misc/libinput-gestures/libinput-gestures-2.40.ebuild
32 @@ -0,0 +1,56 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +PYTHON_COMPAT=( python3_{4..7} )
39 +
40 +inherit gnome2-utils python-single-r1
41 +
42 +DESCRIPTION="Actions gestures on your touchpad using libinput"
43 +HOMEPAGE="https://github.com/bulletmark/libinput-gestures"
44 +if [[ ${PV} == *9999 ]] ; then
45 + inherit git-r3
46 + EGIT_REPO_URI="https://github.com/bulletmark/${PN}.git"
47 +else
48 + SRC_URI="https://github.com/bulletmark/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
49 + KEYWORDS="~amd64 ~x86"
50 +fi
51 +
52 +LICENSE="GPL-3+"
53 +SLOT="0"
54 +IUSE=""
55 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
56 +
57 +RDEPEND="${PYTHON_DEPS}
58 + >=dev-libs/libinput-1.8.0
59 + x11-misc/xdotool
60 + x11-misc/wmctrl"
61 +DEPEND=">=dev-libs/libinput-1.8.0
62 + dev-util/desktop-file-utils"
63 +
64 +src_prepare() {
65 + default
66 +
67 + # Fix docdir installation path
68 + sed '/^DOCDIR/s@$NAME@${PF}@' -i libinput-gestures-setup || die
69 +}
70 +
71 +src_test() { :; }
72 +
73 +pkg_postinst() {
74 + gnome2_icon_cache_update
75 +
76 + elog "You must be in the input group to read the touchpad device."
77 +
78 + if ! has_version x11-libs/gtk+:3 ; then
79 + elog "${PN}-setup script supports Gnome 3 via x11-libs/gtk+:3."
80 + fi
81 + if ! has_version kde-plasma/kde-cli-tools:5 ; then
82 + elog "${PN}-setup script supports Plasma 5 via kde-plasma/kde-cli-tools:5."
83 + fi
84 +}
85 +
86 +pkg_postrm() {
87 + gnome2_icon_cache_update
88 +}