summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-05-28 09:21:46 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-05-28 09:21:46 +0200
commit2b4536a32d6c6a4434867ed2901bfcaa3609f1d0 (patch)
tree11a1993a70a41618f98a7788d9c4454c6a485a7a
parente3d90515af0df903f00961274dc0f31b8eb31a6a (diff)
downloadptxdist-2b4536a32d6c6a4434867ed2901bfcaa3609f1d0.tar.gz
ptxdist-2b4536a32d6c6a4434867ed2901bfcaa3609f1d0.tar.xz
libinput: add optional 'libinput replay' dependencies
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/libinput.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/rules/libinput.in b/rules/libinput.in
index d4bde4bfe..9d319cc0b 100644
--- a/rules/libinput.in
+++ b/rules/libinput.in
@@ -7,6 +7,9 @@ menuconfig LIBINPUT
select LIBEVDEV
select UDEV
select UDEV_LIBUDEV
+ select PYTHON3 if LIBINPUT_TOOL_REPLAY && RUNTIME
+ select PYTHON3_LIBEVDEV if LIBINPUT_TOOL_REPLAY && RUNTIME
+ select PYTHON3_PYYAML if LIBINPUT_TOOL_REPLAY && RUNTIME
prompt "libinput "
help
libinput is a library to handle input devices in Wayland compositors and to
@@ -31,4 +34,13 @@ config LIBINPUT_TOOL
help
Install the libinput tool.
+config LIBINPUT_TOOL_REPLAY
+ bool
+ depends on LIBINPUT_TOOL
+ prompt "install Python dependencies for 'libinput replay'"
+ help
+ 'libinput replay' is a Python 3 script that has several
+ dependencies. Enable this option to ensure that all Python
+ packages needed for 'libinput replay' are available.
+
endif