kumquat-buildroot/package/hidapi/Config.in
Vicente Olivert Riera 6267f34afd hidapi: new package
[Thomas:
 - use BR2_INIT_SYSTEMD instead of BR2_PACKAGE_SYSTEMD for the
   libgudev handling. This is consistent with what we do in libmbim,
   modem-manager and network-manager. Only udisks is diverging from
   this by using BR2_PACKAGE_SYSTEMD.
 - Fix the license info: it is GPLv3 *or* BSD-3c *or* the specific
   HIDAPI license. Added LICENSE-orig.txt to LICENSE_FILES.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-11-17 21:49:43 +01:00

21 lines
832 B
Plaintext

config BR2_PACKAGE_HIDAPI
bool "hidapi"
depends on BR2_PACKAGE_HAS_UDEV
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
select BR2_PACKAGE_LIBUSB
# When eudev is used as the udev provider, libgudev is
# automatically provided as it is part of eudev. However, when
# systemd is used as the udev provider, libgudev is not
# provided, and needs to be built separately. This is why we
# select the libgudev package only if systemd is used.
select BR2_PACKAGE_LIBGUDEV if BR2_INIT_SYSTEMD
help
HIDAPI is a multi-platform library which allows an application
to interface with USB and Bluetooth HID-Class devices on
Windows, Linux, and Mac OS X.
http://www.signal11.us/oss/hidapi/
comment "hidapi needs udev /dev management and a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_HAS_UDEV