2014-06-02 22:27:23 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libinput
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-06-01 13:37:17 +02:00
|
|
|
LIBINPUT_VERSION = 1.3.1
|
2014-06-02 22:27:23 +02:00
|
|
|
LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz
|
|
|
|
LIBINPUT_SITE = http://www.freedesktop.org/software/libinput
|
|
|
|
LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev
|
|
|
|
LIBINPUT_INSTALL_STAGING = YES
|
2016-04-21 23:20:51 +02:00
|
|
|
LIBINPUT_LICENSE = MIT
|
|
|
|
LIBINPUT_LICENSE_FILES = COPYING
|
2014-06-02 22:27:23 +02:00
|
|
|
# Tests need fork, so just disable them everywhere.
|
2016-04-21 23:20:52 +02:00
|
|
|
LIBINPUT_CONF_OPTS = --disable-tests --disable-libwacom
|
2016-05-16 20:19:50 +02:00
|
|
|
# Patching configure.ac
|
|
|
|
LIBINPUT_AUTORECONF = YES
|
2014-06-02 22:27:23 +02:00
|
|
|
|
2016-04-21 23:20:51 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
|
|
|
LIBINPUT_CONF_OPTS += --enable-event-gui
|
|
|
|
LIBINPUT_DEPENDENCIES += libgtk3
|
|
|
|
else
|
2016-05-11 03:14:53 +02:00
|
|
|
LIBINPUT_CONF_OPTS += --disable-event-gui
|
2016-04-21 23:20:51 +02:00
|
|
|
endif
|
|
|
|
|
2014-06-02 22:27:23 +02:00
|
|
|
$(eval $(autotools-package))
|