1################################################################################ 2# 3# libinput 4# 5################################################################################ 6 7LIBINPUT_VERSION = 1.19.2 8LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz 9LIBINPUT_SITE = http://www.freedesktop.org/software/libinput 10LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev 11LIBINPUT_INSTALL_STAGING = YES 12LIBINPUT_LICENSE = MIT 13LIBINPUT_LICENSE_FILES = COPYING 14# Tests need fork, so just disable them everywhere. 15LIBINPUT_CONF_OPTS = -Dtests=false -Dlibwacom=false -Ddocumentation=false 16 17ifeq ($(BR2_PACKAGE_LIBGTK3),y) 18LIBINPUT_CONF_OPTS += -Ddebug-gui=true 19LIBINPUT_DEPENDENCIES += libgtk3 20ifeq ($(BR2_PACKAGE_WAYLAND),y) 21LIBINPUT_DEPENDENCIES += wayland 22endif 23ifeq ($(BR2_PACKAGE_WAYLAND_PROTOCOLS),y) 24LIBINPUT_DEPENDENCIES += wayland-protocols 25endif 26ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) 27LIBINPUT_DEPENDENCIES += xlib_libX11 28endif 29else 30LIBINPUT_CONF_OPTS += -Ddebug-gui=false 31endif 32 33$(eval $(meson-package)) 34