diff --git a/programming/misc/libinput/actions.py b/programming/misc/libinput/actions.py
index 3d208e842d..996d8377b0 100644
--- a/programming/misc/libinput/actions.py
+++ b/programming/misc/libinput/actions.py
@@ -4,24 +4,31 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
+from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
-from pisi.actionsapi import get
+from pisi.actionsapi import shelltools
+
def setup():
- autotools.configure("--prefix=/usr \
- --disable-static")
+ shelltools.makedirs("build")
+ shelltools.cd("build")
+ shelltools.system("meson .. --prefix=/usr -Ddocumentation=false")
+
def build():
- autotools.make()
+ shelltools.cd("build")
+ shelltools.system("ninja")
#def build():
# autotools.make("check")
def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+ shelltools.cd("build")
+ shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
pisitools.dosym("libinput.so.10","/usr/lib/libinput.so.0")
#pisitools.remove("/usr/lib/udev/rules.d/80-libinput-device-groups.rules")
#pisitools.remove("/usr/lib/udev/rules.d/90-libinput-model-quirks.rules")
- pisitools.dodoc("COPYING", "README.txt")
+ shelltools.cd("..")
+ pisitools.dodoc("COPYING", "README*")
diff --git a/programming/misc/libinput/pspec.xml b/programming/misc/libinput/pspec.xml
index 566c925908..fef8f91552 100644
--- a/programming/misc/libinput/pspec.xml
+++ b/programming/misc/libinput/pspec.xml
@@ -12,9 +12,14 @@
app:console
library that handles input devices for display servers and other applications that need to directly deal with input devices.
It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect.
- https://www.freedesktop.org/software/libinput/libinput-1.6.3.tar.xz
+ https://www.freedesktop.org/software/libinput/libinput-1.9.4.tar.xz
+ meson
+ gtk3-devel
+ valgrind
libevdev
+ check-devel
+ libunwind-devel
eudev-devel
libmtdev-devel
libwacom-devel
@@ -24,13 +29,17 @@
libinput
+ gtk3
eudev
+ cairo
+ glib2
libevdev
libmtdev
libwacom
/usr/bin
+ /usr/libexec/libinput
/usr/lib
/usr/share/doc
/usr/share/man/man1
@@ -51,6 +60,13 @@
+
+ 2017-12-24
+ 1.9.4
+ Version bump
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2017-05-21
1.6.3