package/python-libevdev: new package
python-libevdev is needed for libinput replay command: $ libinput replay recording.yml Error: No module named 'libevdev' One or more python modules are missing. Please install those modules and re-run this tool. Indeed only libinput-replay tool is a python script (like libinput-analyze-recording, libinput-measure-fuzz...) python-libevdev itself requires a kernel built with CONFIG_INPUT_UINPUT option enabled, enable this option if a kernel is built by Buildroot. Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
bf85b8e267
commit
f052047095
@ -2584,6 +2584,7 @@ F: package/ogre/
|
||||
F: package/openpowerlink/
|
||||
F: package/physfs/
|
||||
F: package/piglit/
|
||||
F: package/python-libevdev/
|
||||
F: package/qemu/
|
||||
F: package/solarus/
|
||||
F: package/stress-ng/
|
||||
|
@ -1095,6 +1095,7 @@ menu "External python modules"
|
||||
source "package/python-kiwisolver/Config.in"
|
||||
source "package/python-lark/Config.in"
|
||||
source "package/python-libconfig/Config.in"
|
||||
source "package/python-libevdev/Config.in"
|
||||
source "package/python-libusb1/Config.in"
|
||||
source "package/python-lmdb/Config.in"
|
||||
source "package/python-lockfile/Config.in"
|
||||
|
7
package/python-libevdev/Config.in
Normal file
7
package/python-libevdev/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_LIBEVDEV
|
||||
bool "python-libevdev"
|
||||
select BR2_PACKAGE_LIBEVDEV # runtime
|
||||
help
|
||||
Python wrapper for libevdev.
|
||||
|
||||
https://gitlab.freedesktop.org/libevdev/python-libevdev
|
5
package/python-libevdev/python-libevdev.hash
Normal file
5
package/python-libevdev/python-libevdev.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/libevdev/json
|
||||
md5 34b48098c1fba26de79a0d67a17a588a libevdev-0.11.tar.gz
|
||||
sha256 e9ca006a4df2488a60bd9a740011ee948d81904be2364f017e560169508f560f libevdev-0.11.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 a547b196da4e5bb9588a6e24f1f36ae9e2349ca5375e2cf9c315186e237d9f6d COPYING
|
20
package/python-libevdev/python-libevdev.mk
Normal file
20
package/python-libevdev/python-libevdev.mk
Normal file
@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-libevdev
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_LIBEVDEV_VERSION = 0.11
|
||||
PYTHON_LIBEVDEV_SOURCE = libevdev-$(PYTHON_LIBEVDEV_VERSION).tar.gz
|
||||
PYTHON_LIBEVDEV_SITE = https://files.pythonhosted.org/packages/b0/49/2fe589ce1fa6ca0f05ae0b1717923650f2cc6eec6307c71fbc7789738902
|
||||
PYTHON_LIBEVDEV_SETUP_TYPE = setuptools
|
||||
PYTHON_LIBEVDEV_LICENSE = MIT
|
||||
PYTHON_LIBEVDEV_LICENSE_FILES = COPYING
|
||||
|
||||
# Requires a kernel built with user level driver support (uinput).
|
||||
define PYTHON_LIBEVDEV_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_INPUT_MISC)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_INPUT_UINPUT)
|
||||
endef
|
||||
|
||||
$(eval $(python-package))
|
Loading…
Reference in New Issue
Block a user