d43adf36f8
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
27 lines
810 B
Makefile
27 lines
810 B
Makefile
################################################################################
|
|
#
|
|
# libinput
|
|
#
|
|
################################################################################
|
|
|
|
LIBINPUT_VERSION = 1.3.3
|
|
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 = --disable-tests --disable-libwacom
|
|
# Patching configure.ac
|
|
LIBINPUT_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
|
|
LIBINPUT_CONF_OPTS += --enable-event-gui
|
|
LIBINPUT_DEPENDENCIES += libgtk3
|
|
else
|
|
LIBINPUT_CONF_OPTS += --disable-event-gui
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|