diff --git a/hardware/misc/libgusb/actions.py b/hardware/misc/libgusb/actions.py
index 5c97139c77..6f405b8a4e 100644
--- a/hardware/misc/libgusb/actions.py
+++ b/hardware/misc/libgusb/actions.py
@@ -9,16 +9,19 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
-
def setup():
- autotools.configure("--prefix=/usr \
- --disable-static \
- --enable-vala \
- --enable-introspection")
-
+ shelltools.makedirs("build")
+ shelltools.cd("build")
+ shelltools.system("meson .. --prefix=/usr -Ddocs=false")
+
def build():
- autotools.make()
-
+ shelltools.cd("build")
+ shelltools.system("ninja")
+
def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
- pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README*")
+ shelltools.cd("build")
+ shelltools.system("DESTDIR=%s ninja install" % get.installDIR())
+
+ shelltools.cd("..")
+ pisitools.dodoc("COPYING", "NEWS", "README*")
+
diff --git a/hardware/misc/libgusb/pspec.xml b/hardware/misc/libgusb/pspec.xml
index 81591309b8..981721d19c 100644
--- a/hardware/misc/libgusb/pspec.xml
+++ b/hardware/misc/libgusb/pspec.xml
@@ -12,8 +12,9 @@
library
GObject wrapper for libusb.
GLib wrapper around libusb1.
- https://people.freedesktop.org/~hughsient/releases/libgusb-0.2.11.tar.xz
+ https://people.freedesktop.org/~hughsient/releases/libgusb-0.3.0.tar.xz
+ meson
glib2-devel
vala-devel
libxslt-devel
@@ -58,6 +59,13 @@
+
+ 2018-07-30
+ 0.3.0
+ Version bump
+ Mustafa Cinasal
+ muscnsl@gmail.com
+
2017-12-13
0.2.11