From 6b607a774403f7cbdfd968a80ec1c5bcf7eff524 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Mon, 4 Aug 2025 20:51:59 +0200 Subject: [PATCH] package/libinput: bump version to 1.29.0 Release notes: https://lists.freedesktop.org/archives/wayland-devel/2025-March/044026.html https://lists.freedesktop.org/archives/wayland-devel/2025-April/044102.html https://lore.freedesktop.org/wayland-devel/20250731092534.GA4100432@quokka/T/ Upstream changed mtdev into an optional dependency: https://gitlab.freedesktop.org/libinput/libinput/-/commit/27f4b0ae744a2b2655755188f2224dd5f8c4bdeb Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/libinput/Config.in | 1 - package/libinput/libinput.hash | 2 +- package/libinput/libinput.mk | 11 +++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/package/libinput/Config.in b/package/libinput/Config.in index 1a8fcc7ed4..f5253dfec2 100644 --- a/package/libinput/Config.in +++ b/package/libinput/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_LIBINPUT bool "libinput" depends on BR2_PACKAGE_HAS_UDEV select BR2_PACKAGE_LIBEVDEV - select BR2_PACKAGE_MTDEV help libinput is a library to handle input devices in Wayland compositors and to provide a generic X.Org input driver. diff --git a/package/libinput/libinput.hash b/package/libinput/libinput.hash index f6ec570588..cd60e70c40 100644 --- a/package/libinput/libinput.hash +++ b/package/libinput/libinput.hash @@ -1,5 +1,5 @@ # Locally computed -sha256 8e823cc9f44c51b63ae90af0b73676ed82c0402cc1cbd4a59ac91b7bb6cad716 libinput-1.27.0.tar.bz2 +sha256 7160c16c409c9ea4f7da9d91923ae0a92df7f3453a292bf684bed071acd7b4ff libinput-1.29.0.tar.bz2 # License files sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING diff --git a/package/libinput/libinput.mk b/package/libinput/libinput.mk index ee15b781e6..93d8a51aca 100644 --- a/package/libinput/libinput.mk +++ b/package/libinput/libinput.mk @@ -4,10 +4,10 @@ # ################################################################################ -LIBINPUT_VERSION = 1.27.0 +LIBINPUT_VERSION = 1.29.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_DEPENDENCIES = host-pkgconf libevdev udev LIBINPUT_INSTALL_STAGING = YES LIBINPUT_LICENSE = MIT LIBINPUT_LICENSE_FILES = COPYING @@ -31,6 +31,13 @@ else LIBINPUT_CONF_OPTS += -Ddebug-gui=false 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 \