2014-06-02 22:27:23 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libinput
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-07-02 19:07:59 +02:00
|
|
|
LIBINPUT_VERSION = 1.13.4
|
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.
|
2018-12-12 06:35:21 +01:00
|
|
|
LIBINPUT_CONF_OPTS = -Dtests=false -Dlibwacom=false -Ddocumentation=false
|
2014-06-02 22:27:23 +02:00
|
|
|
|
2016-04-21 23:20:51 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
2018-12-12 06:35:21 +01:00
|
|
|
LIBINPUT_CONF_OPTS += -Ddebug-gui=true
|
2016-04-21 23:20:51 +02:00
|
|
|
LIBINPUT_DEPENDENCIES += libgtk3
|
|
|
|
else
|
2018-12-12 06:35:21 +01:00
|
|
|
LIBINPUT_CONF_OPTS += -Ddebug-gui=false
|
2016-04-21 23:20:51 +02:00
|
|
|
endif
|
|
|
|
|
2018-12-12 06:35:21 +01:00
|
|
|
$(eval $(meson-package))
|