Gentoo Archives: gentoo-commits

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