qt5base: force-build "input"-component
authorMirko Vogt <[email protected]>
Mon, 12 May 2025 00:52:38 +0000 (00:52 +0000)
committerMirko Vogt <[email protected]>
Thu, 22 May 2025 10:58:15 +0000 (10:58 +0000)
Without that patch the build rule including the input component depends
on other options being enabled, such as e.g. GUI support.
Since our host build is headless and we only need the input component
which actually does not have any such dependencies, we patch to force-
build it.

input component being present is a requirement for e.g. qt5tools
building certain host tools - such as 'kmap2qmap'.

frameworks/qt5/qt5base/patches/100-always-enable-libinput.patch [new file with mode: 0644]

diff --git a/frameworks/qt5/qt5base/patches/100-always-enable-libinput.patch b/frameworks/qt5/qt5base/patches/100-always-enable-libinput.patch
new file mode 100644 (file)
index 0000000..74fc263
--- /dev/null
@@ -0,0 +1,17 @@
+--- ./src/platformsupport/platformsupport.pro  2020-05-11 08:15:08.000000000 +0000
++++ ./src/platformsupport/platformsupport.pro.mod      2020-06-11 21:15:01.922331522 +0000
+@@ -6,13 +6,13 @@
+     eventdispatchers \
+     devicediscovery \
+     fbconvenience \
+-    themes
++    themes \
++    input
+ qtConfig(freetype)|darwin|win32: \
+     SUBDIRS += fontdatabases
+ qtConfig(evdev)|qtConfig(tslib)|qtConfig(libinput)|qtConfig(integrityhid)|qtConfig(xkbcommon) {
+-    SUBDIRS += input
+     input.depends += devicediscovery
+ }