[PATCH v2 util-modular] build.sh: add libinput and xf86-input-libinput

Peter Hutterer peter.hutterer at who-t.net
Thu Sep 1 00:58:38 UTC 2016


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
Well, that'll teach me to send untested patches. Sorry.

Changes to v1:
- add libinput special handling to clone()
- confirmed it actually worked :)

 build.sh | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 369afc8..01c396d 100755
--- a/build.sh
+++ b/build.sh
@@ -516,6 +516,9 @@ clone() {
     "libevdev")
         BASEDIR=""
         ;;
+    "libinput")
+	BASEDIR="wayland/"
+	;;
     *)
         BASEDIR="xorg/"
         ;;
@@ -1154,12 +1157,16 @@ build_all_modules() {
     build app xwud
     build xserver ""
     case $HOST_OS in
-	Linux) build libevdev "";;
+	Linux)
+	    build libevdev ""
+	    build libinput ""
+	    ;;
     esac
     case $HOST_OS in
 	Linux)
 	    build driver xf86-input-evdev
 	    build driver xf86-input-joystick
+	    build driver xf86-input-libinput
 	    ;;
 	FreeBSD | NetBSD | OpenBSD | Dragonfly | GNU/kFreeBSD)
 	    build driver xf86-input-joystick
-- 
2.7.4



More information about the xorg-devel mailing list