From https://lists.freedesktop.org/archives/wayland-devel/2024-November/043860.html: In terms of new features we have a "sticky" mode for drag-locking. Previously a tap-and-drag lock would always expire after a timeout, now the button is held logically down until a completing tap. Desktop environments are encouraged to use this as the default as it provides a better experience for anyone with less-than-perfect dexterity. For backwards-compatibility reasons libinput cannot easily change its defaults without risking bugs in the callers. For tablet pads we now support tablet pad mode groups for devices without status LEDs as well, the previous implementation was tied to LEDs which some devices like the XP Pen ACK05 remote don't have. Since the mode is a software feature anyway tying it to LEDs is not necessary. If a tablet is unknown to libwacom we now assume that it is a built-in tablet. This matches the behavior of libwacom 2.11 but in our case the only visible result is that the device now has the calibration configuration available. Better to have it and not use it, as they say. The available area on external tablets can be reduced via the new tablet "area" configuration. Users can set a rectangle smaller than the width/height of the tablet and input outside this rectangle will be ignored. For packagers: the check dependency is now optional, almost all tests can now run without it. And then we have of course the usual collection of bug fixes and device-specific quirks. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
54 lines
1.6 KiB
Makefile
54 lines
1.6 KiB
Makefile
################################################################################
|
|
#
|
|
# libinput
|
|
#
|
|
################################################################################
|
|
|
|
LIBINPUT_VERSION = 1.27.0
|
|
LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2
|
|
LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION)
|
|
LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev
|
|
LIBINPUT_INSTALL_STAGING = YES
|
|
LIBINPUT_LICENSE = MIT
|
|
LIBINPUT_LICENSE_FILES = COPYING
|
|
LIBINPUT_CPE_ID_VENDOR = freedesktop
|
|
# 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
|
|
ifeq ($(BR2_PACKAGE_WAYLAND),y)
|
|
LIBINPUT_DEPENDENCIES += wayland
|
|
endif
|
|
ifeq ($(BR2_PACKAGE_WAYLAND_PROTOCOLS),y)
|
|
LIBINPUT_DEPENDENCIES += wayland-protocols
|
|
endif
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
|
LIBINPUT_DEPENDENCIES += xlib_libX11
|
|
endif
|
|
else
|
|
LIBINPUT_CONF_OPTS += -Ddebug-gui=false
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBINPUT_PYTHON_TOOLS),)
|
|
LIBINPUT_PYTHON_TOOLS = libinput-analyze-per-slot-delta \
|
|
libinput-analyze-recording \
|
|
libinput-analyze-touch-down-state \
|
|
libinput-measure-fuzz \
|
|
libinput-measure-touchpad-pressure \
|
|
libinput-measure-touchpad-size \
|
|
libinput-measure-touchpad-tap \
|
|
libinput-measure-touch-size \
|
|
libinput-replay
|
|
|
|
define LIBINPUT_REMOVE_UNNEEDED_FILES
|
|
$(foreach f,$(LIBINPUT_PYTHON_TOOLS), \
|
|
rm -f $(TARGET_DIR)/usr/libexec/libinput/$(f)
|
|
)
|
|
endef
|
|
LIBINPUT_POST_INSTALL_TARGET_HOOKS += LIBINPUT_REMOVE_UNNEEDED_FILES
|
|
endif
|
|
|
|
$(eval $(meson-package))
|