diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-22 20:28:19 +0000 |
commit | abaa75b10f899ada8dd05b23cc03205064394bc6 (patch) | |
tree | eca3dd248b73b92013cba00a0fcc1edf2696e19a /x11-misc/libinput-gestures | |
parent | 24fd814c326e282c4321965c31f341dad77e270d (diff) |
gentoo resync : 22.01.2021
Diffstat (limited to 'x11-misc/libinput-gestures')
-rw-r--r-- | x11-misc/libinput-gestures/Manifest | 4 | ||||
-rw-r--r-- | x11-misc/libinput-gestures/libinput-gestures-2.56.ebuild | 53 | ||||
-rw-r--r-- | x11-misc/libinput-gestures/libinput-gestures-9999.ebuild | 14 |
3 files changed, 61 insertions, 10 deletions
diff --git a/x11-misc/libinput-gestures/Manifest b/x11-misc/libinput-gestures/Manifest index 6d1061c519b7..1e3755009ffe 100644 --- a/x11-misc/libinput-gestures/Manifest +++ b/x11-misc/libinput-gestures/Manifest @@ -1,4 +1,6 @@ DIST libinput-gestures-2.48.tar.gz 22858 BLAKE2B 67fada253a0d02791e14c6c2175f37f75c2e4ff04b04360070d1c045cf064a9d7b362c28a1e8130e6cc435bd487370c69ded3af41d53b935f7024d722aca9593 SHA512 6ad510f2067ab6cef9c9a94f1c300fe91aa811904a0e85209dc06b3afdd4a2be8ae7bda8ccb40210cc59c3758e3b14b53285f7c3c29c6982a3894952b678a840 +DIST libinput-gestures-2.56.tar.gz 26293 BLAKE2B b48a33c13efc63545bcb5ae722066493bd6aba083a07b1ebbf10eea69afa2a8f9d80a92b60dda3e8472a55851b70e84cf7c10e0bf3428c2278dd3ef5b6f65d0d SHA512 f215444dbe7e70ae137404beb25d5a60c5a618fb2d3d20eb9b4cf3f94cbc93a7e42a5fa82efdea082e2fa229c95d86c02df91c59f4a51c067e47ccf5dcf79fa7 EBUILD libinput-gestures-2.48.ebuild 1339 BLAKE2B 95965c98d19555134dce9e75caacea6621a8a8466d317264dbffe53fe89dcf977d9b8fe1830c82705b594a85757483c093fc2056264f0ee7e730b9474e59771b SHA512 061b1feedde28609ea7da4afa240c7ce7d15cf9b5eaf961b40bd4822375f9a4e6e9c963836906253b5df89cce9b11538dfc3a3f71a3703626a4afbba4a3f82ae -EBUILD libinput-gestures-9999.ebuild 1339 BLAKE2B 95965c98d19555134dce9e75caacea6621a8a8466d317264dbffe53fe89dcf977d9b8fe1830c82705b594a85757483c093fc2056264f0ee7e730b9474e59771b SHA512 061b1feedde28609ea7da4afa240c7ce7d15cf9b5eaf961b40bd4822375f9a4e6e9c963836906253b5df89cce9b11538dfc3a3f71a3703626a4afbba4a3f82ae +EBUILD libinput-gestures-2.56.ebuild 1276 BLAKE2B 7857b10c6096683619bb34cd41f69a8a4fa85cf136eca758fc203c475353c1dc1b668de9f029624a9182c0154dd5dca69fb817083abfd9941fb1639388e1165d SHA512 972bff57d2b9b5e1fb7edae7e81b2e77b14f1fdb7414eb854bb9aeea17f8bb15eebe6c5510ae0c03285c2e439bef889fa8762959b2c747dc42aa2614a47b685e +EBUILD libinput-gestures-9999.ebuild 1276 BLAKE2B 7857b10c6096683619bb34cd41f69a8a4fa85cf136eca758fc203c475353c1dc1b668de9f029624a9182c0154dd5dca69fb817083abfd9941fb1639388e1165d SHA512 972bff57d2b9b5e1fb7edae7e81b2e77b14f1fdb7414eb854bb9aeea17f8bb15eebe6c5510ae0c03285c2e439bef889fa8762959b2c747dc42aa2614a47b685e MISC metadata.xml 825 BLAKE2B 2c2b255745088a09c94810f34d5540b437428582a8b4e67fa31c47ae7257ded169b8047c2ebce98e090092063d9d3086f60cf6f04accc6c50a62313d1c14528b SHA512 9ed80c1c4113a9539366f66ddcc1a0169d42252e0cf347693085d89dee2259c9c120f4e864e35d42a1af9f86019ef944c27bd2ba71cba6ff6eba8509281807c5 diff --git a/x11-misc/libinput-gestures/libinput-gestures-2.56.ebuild b/x11-misc/libinput-gestures/libinput-gestures-2.56.ebuild new file mode 100644 index 000000000000..ef3844015c8f --- /dev/null +++ b/x11-misc/libinput-gestures/libinput-gestures-2.56.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit python-single-r1 xdg + +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="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libinput + x11-misc/wmctrl + x11-misc/xdotool" +DEPEND="dev-libs/libinput + dev-util/desktop-file-utils" + +src_prepare() { + default + + # Fix docdir installation path + sed -i "/^DOCDIR/s@\$NAME@${PF}@" libinput-gestures-setup \ + || die "sed failed for libinput-gestures-setup" +} + +src_test() { :; } + +pkg_postinst() { + xdg_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 +} diff --git a/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild index e1af99e98ebe..ef3844015c8f 100644 --- a/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild +++ b/x11-misc/libinput-gestures/libinput-gestures-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6..7} ) +PYTHON_COMPAT=( python3_{6..9} ) -inherit python-single-r1 xdg-utils +inherit python-single-r1 xdg DESCRIPTION="Actions gestures on your touchpad using libinput" HOMEPAGE="https://github.com/bulletmark/libinput-gestures" @@ -23,10 +23,10 @@ IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} - >=dev-libs/libinput-1.8.0 + dev-libs/libinput x11-misc/wmctrl x11-misc/xdotool" -DEPEND=">=dev-libs/libinput-1.8.0 +DEPEND="dev-libs/libinput dev-util/desktop-file-utils" src_prepare() { @@ -51,7 +51,3 @@ pkg_postinst() { elog "${PN}-setup script supports Plasma 5 via kde-plasma/kde-cli-tools:5." fi } - -pkg_postrm() { - xdg_icon_cache_update -} |