Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/libinput-gestures/
Date: Sun, 17 Nov 2019 08:31:49
Message-Id: 1573979490.0ea9faf0672b851e6b253b535e1cd22e81ff4486.juippis@gentoo
1 commit: 0ea9faf0672b851e6b253b535e1cd22e81ff4486
2 Author: Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
3 AuthorDate: Sat Oct 5 16:17:34 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 17 08:31:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ea9faf0
7
8 x11-misc/libinput-gestures: version bump to 2.45
9
10 Closes: https://bugs.gentoo.org/696530
11 Package-Manager: Portage-2.3.76, Repoman-2.3.16
12 Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 x11-misc/libinput-gestures/Manifest | 1 +
16 .../libinput-gestures-2.45.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 f7e67f49388..f6afd4314c9 100644
21 --- a/x11-misc/libinput-gestures/Manifest
22 +++ b/x11-misc/libinput-gestures/Manifest
23 @@ -1 +1,2 @@
24 DIST libinput-gestures-2.41.tar.gz 18098 BLAKE2B 792ebab29cb5ea24cbb696eac6ed651632db4079d8470784f45a1055d99c9672f8bfa7e8ddc08b80417c91a47f540fdf13f7a071c73bb7a654ce66508f181a38 SHA512 7f718275d5b4b722df52adb597f0344427500ca730c154cf6fd3de2f06d7081e6214cc954addc34594f17f10c70d081fecbfc1a22d16726b6ea820019dae6d83
25 +DIST libinput-gestures-2.45.tar.gz 18645 BLAKE2B 555556e683eac1944407e169d7ad9cac23fe3b91b781dbba9367b86bd73556d3e0aa550008563c4c7f6726a12dc6ac4a458f9dae5782db0d8a23dc2f12a897f8 SHA512 27eac34826c3f02a16bb5c6c892e2bcc12ed27a8a1cb64bde945e869161f30701240deebbd278318f418319f1c98be13dc90eb95f9354f624939af4b7471762f
26
27 diff --git a/x11-misc/libinput-gestures/libinput-gestures-2.45.ebuild b/x11-misc/libinput-gestures/libinput-gestures-2.45.ebuild
28 new file mode 100644
29 index 00000000000..213fbc54cfa
30 --- /dev/null
31 +++ b/x11-misc/libinput-gestures/libinput-gestures-2.45.ebuild
32 @@ -0,0 +1,56 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{5..7} )
39 +
40 +inherit python-single-r1 xdg-utils
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 + xdg_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 + xdg_icon_cache_update
88 +}