Files
buildroot/package/libinput/libinput.mk
Bernd Kuhls 1cc0363191 package/libinput: security bump version to 1.31.3
Release notes:
https://lore.freedesktop.org/wayland-devel/aiDR_N7VUOSOfBUA@quokka/T/#u
https://seclists.org/oss-sec/2026/q2/809

Fixes:
https://nvd.nist.gov/vuln/detail/CVE-2026-50265

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
[Julien:
 - remove release notes link to 1.31.2 in commit log
 - add link to CVE which is now assigned
]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-06-05 23:10:59 +02:00

68 lines
1.9 KiB
Makefile

################################################################################
#
# libinput
#
################################################################################
LIBINPUT_VERSION = 1.31.3
LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.bz2
LIBINPUT_SITE = https://gitlab.freedesktop.org/libinput/libinput/-/archive/$(LIBINPUT_VERSION)
LIBINPUT_DEPENDENCIES = host-pkgconf libevdev 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_LUA_5_4),y)
LIBINPUT_CONF_OPTS += -Dlua-plugins=enabled
LIBINPUT_DEPENDENCIES += lua
else
LIBINPUT_CONF_OPTS += -Dlua-plugins=disabled
endif
ifeq ($(BR2_PACKAGE_MTDEV),y)
LIBINPUT_CONF_OPTS += -Dmtdev=true
LIBINPUT_DEPENDENCIES += mtdev
else
LIBINPUT_CONF_OPTS += -Dmtdev=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))