summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-03-08 19:03:34 -0700
committerMatt Turner <mattst88@gentoo.org>2020-03-08 19:05:41 -0700
commit0b5616c3dedc857001d0b42e579c6599cf713f43 (patch)
treeda701e9abfbe6f9a9081bd0ae34eefd46bff98df /dev-libs/libinput
parentdev-libs/libinput: Unrestrict tests (diff)
downloadgentoo-0b5616c3dedc857001d0b42e579c6599cf713f43.tar.gz
gentoo-0b5616c3dedc857001d0b42e579c6599cf713f43.tar.bz2
gentoo-0b5616c3dedc857001d0b42e579c6599cf713f43.zip
dev-libs/libinput: Inform users about dev-python/python-libevdev
I don't think a runtime dependency is warranted for these two tools, so let's just inform users about the dependency. Closes: https://bugs.gentoo.org/703800 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs/libinput')
-rw-r--r--dev-libs/libinput/libinput-1.15.3.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-libs/libinput/libinput-1.15.3.ebuild b/dev-libs/libinput/libinput-1.15.3.ebuild
index 43de3f8241a4..7ae9b0b06559 100644
--- a/dev-libs/libinput/libinput-1.15.3.ebuild
+++ b/dev-libs/libinput/libinput-1.15.3.ebuild
@@ -73,5 +73,11 @@ src_install() {
}
pkg_postinst() {
+ pkgname="dev-python/python-libevdev"
+ if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "${pkgname}"; then
+ einfo "${pkgname} must be installed to use the"
+ einfo "libinput measure and libinput replay tools."
+ fi
+
udevadm hwdb --update --root="${ROOT}"
}