gnu: gusb: Update to 0.3.0.

* gnu/packages/gnome.scm (gusb): Update to 0.3.0.
[source](uri): Adjust tarball name.
[build-system]: Switch to MESON-BUILD-SYSTEM.
[native-inputs]: Remove AUTOCONF, AUTOMAKE and LIBTOOL.
[arguments]: Remove #:phases.
This commit is contained in:
Marius Bakke 2018-08-09 20:45:15 +02:00
parent 88c54b1b75
commit 536b32745e
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -4002,39 +4002,26 @@ DAV, and others.")
(define-public gusb
(package
(name "gusb")
(version "0.2.9")
(version "0.3.0")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/hughsie/libgusb/archive/"
"gusb_"
(string-join (string-split version #\.)
"_")
".tar.gz"))
version ".tar.gz"))
(sha256
(base32
"1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n"))))
(build-system gnu-build-system)
"1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
(build-system meson-build-system)
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
("gobject-introspection" ,gobject-introspection)
`(("gobject-introspection" ,gobject-introspection)
("pkg-config" ,pkg-config)
("vala" ,vala)
("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("gtk-doc" ,gtk-doc)))
(propagated-inputs
;; Both of these are required by gusb.pc.
`(("glib" ,glib)
("libusb" ,libusb)))
(arguments
`(#:tests? #f ; libusb fails to initialize. Wonder what that is.
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'autogen
(lambda _
(and (zero? (system* "gtkdocize"))
(zero? (system* "autoreconf" "-vif"))))))))
`(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
(home-page "https://github.com/hughsie/libgusb")
(synopsis "GLib binding for libusb1")
(description