kumquat-buildroot/package/python-hid/Config.in
Peter Korsgaard 4432b08790 package/python-hid: new package
A python wrapper for the hidapi library.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-05-09 22:13:38 +02:00

16 lines
497 B
Plaintext

config BR2_PACKAGE_PYTHON_HID
bool "python-hid"
depends on BR2_PACKAGE_HAS_UDEV # hidapi
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi
select BR2_PACKAGE_HIDAPI
help
ctypes bindings for hidapi.
https://github.com/apmorton/pyhidapi
comment "python-hid needs udev /dev management and a toolchain w/ NPTL, gcc >= 4.9"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
!BR2_PACKAGE_HAS_UDEV || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9