From 2db19af40179d6c2dfd78e08c005e67b01cdc01e Mon Sep 17 00:00:00 2001 From: Jesse Van Gavere Date: Tue, 7 Feb 2023 18:17:17 +0100 Subject: [PATCH] package/qt6/qt6base: add support for libinput Signed-off-by: Jesse Van Gavere Signed-off-by: Angelo Compagnucci Signed-off-by: Thomas Petazzoni --- package/qt6/qt6base/qt6base.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/qt6/qt6base/qt6base.mk b/package/qt6/qt6base/qt6base.mk index 8db59bbc31..49a61e4d25 100644 --- a/package/qt6/qt6base/qt6base.mk +++ b/package/qt6/qt6base/qt6base.mk @@ -229,6 +229,13 @@ else QT6BASE_CONF_OPTS += -DFEATURE_widgets=OFF endif +ifeq ($(BR2_PACKAGE_LIBINPUT),y) +QT6BASE_CONF_OPTS += -DFEATURE_libinput=ON +QT6BASE_DEPENDENCIES += libinput +else +QT6BASE_CONF_OPTS += -DFEATURE_libinput=OFF +endif + ifeq ($(BR2_PACKAGE_QT6BASE_TSLIB),y) QT6BASE_CONF_OPTS += -DFEATURE_tslib=ON QT6BASE_DEPENDENCIES += tslib