kumquat-buildroot/package/libinput/libinput.mk
2020-08-06 23:40:51 +02:00

25 lines
771 B
Makefile

################################################################################
#
# libinput
#
################################################################################
LIBINPUT_VERSION = 1.16.0
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
LIBINPUT_LICENSE = MIT
LIBINPUT_LICENSE_FILES = COPYING
# Tests need fork, so just disable them everywhere.
LIBINPUT_CONF_OPTS = -Dtests=false -Dlibwacom=false -Ddocumentation=false
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
LIBINPUT_CONF_OPTS += -Ddebug-gui=true
LIBINPUT_DEPENDENCIES += libgtk3
else
LIBINPUT_CONF_OPTS += -Ddebug-gui=false
endif
$(eval $(meson-package))