summaryrefslogtreecommitdiffstats
path: root/package/libinput
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-04-21 18:20:51 -0300
committerPeter Korsgaard <peter@korsgaard.com>2016-04-22 22:06:30 +0200
commit1c02dee9552c06c90d887746e70181347a2e2fde (patch)
tree730398a9796cb216441251e46c8287643fd82593 /package/libinput
parent6a8da21fbb642846d89893eb4af4f2a1c4993d0d (diff)
downloadbuildroot-1c02dee9552c06c90d887746e70181347a2e2fde.tar.gz
buildroot-1c02dee9552c06c90d887746e70181347a2e2fde.zip
libinput: add explicit event-gui handling
Otherwise since it's automatic it was left to random depending on the libgtk3/libinput build order. Also collapse all that whitespace. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libinput')
-rw-r--r--package/libinput/libinput.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk
index 6d8b7b61b9..2954760996 100644
--- a/package/libinput/libinput.mk
+++ b/package/libinput/libinput.mk
@@ -7,13 +7,18 @@
LIBINPUT_VERSION = 1.1.5
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
-
+LIBINPUT_LICENSE = MIT
+LIBINPUT_LICENSE_FILES = COPYING
# Tests need fork, so just disable them everywhere.
LIBINPUT_CONF_OPTS = --disable-tests
+ifeq ($(BR2_PACKAGE_LIBGTK3),y)
+LIBINPUT_CONF_OPTS += --enable-event-gui
+LIBINPUT_DEPENDENCIES += libgtk3
+else
+LIBINOUT_CONF_OPTS += --disable-event-gui
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud