package/libinput: new package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Yann E. MORIN 2014-06-02 22:27:23 +02:00 committed by Peter Korsgaard
parent 5cd1c4feb5
commit 76dff6c63d
3 changed files with 37 additions and 0 deletions

View File

@ -625,6 +625,7 @@ source "package/libcec/Config.in"
source "package/libfreefare/Config.in"
source "package/libftdi/Config.in"
source "package/libhid/Config.in"
source "package/libinput/Config.in"
source "package/libiqrf/Config.in"
source "package/libllcp/Config.in"
source "package/libmbim/Config.in"

View File

@ -0,0 +1,17 @@
config BR2_PACKAGE_LIBINPUT
bool "libinput"
depends on BR2_PACKAGE_HAS_UDEV
select BR2_PACKAGE_LIBEVDEV
select BR2_PACKAGE_MTDEV
help
libinput is a library to handle input devices in Wayland
compositors and to provide a generic X.Org input driver.
It provides device detection, device handling, input device
event processing and abstraction so minimize the amount of
custom input code compositors need to provide the common
set of functionality that users expect.
http://freedesktop.org/wiki/Software/libinput/
comment "libinput needs udev /dev management"
depends on !BR2_PACKAGE_HAS_UDEV

View File

@ -0,0 +1,19 @@
################################################################################
#
# libinput
#
################################################################################
LIBINPUT_VERSION = 0.2.0
LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz
LIBINPUT_SITE = http://www.freedesktop.org/software/libinput
LIBINPUT_LICENSE = MIT
LIBINPUT_LICENSE_FILES = COPYING
LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev
LIBINPUT_INSTALL_STAGING = YES
# Tests need fork, so just disable them everywhere.
LIBINPUT_CONF_OPT = --disable-tests
$(eval $(autotools-package))