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 (define-public gusb
(package (package
(name "gusb") (name "gusb")
(version "0.2.9") (version "0.3.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/hughsie/libgusb/archive/" (uri (string-append "https://github.com/hughsie/libgusb/archive/"
"gusb_" version ".tar.gz"))
(string-join (string-split version #\.)
"_")
".tar.gz"))
(sha256 (sha256
(base32 (base32
"1500mgpidmnjfkcz1fzqkbqv547iy1cvr8bwf3k9vqgqcjx3844n")))) "1wa9787ww7s1kl9jml6kiyrjgimlgagq4jmgdj7xcpsx83w10qxk"))))
(build-system gnu-build-system) (build-system meson-build-system)
(native-inputs (native-inputs
`(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc. `(("gobject-introspection" ,gobject-introspection)
("gobject-introspection" ,gobject-introspection)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("vala" ,vala) ("vala" ,vala)
("autoconf" ,autoconf)
("automake" ,automake)
("libtool" ,libtool)
("gtk-doc" ,gtk-doc))) ("gtk-doc" ,gtk-doc)))
(propagated-inputs (propagated-inputs
;; Both of these are required by gusb.pc. ;; Both of these are required by gusb.pc.
`(("glib" ,glib) `(("glib" ,glib)
("libusb" ,libusb))) ("libusb" ,libusb)))
(arguments (arguments
`(#:tests? #f ; libusb fails to initialize. Wonder what that is. `(#: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"))))))))
(home-page "https://github.com/hughsie/libgusb") (home-page "https://github.com/hughsie/libgusb")
(synopsis "GLib binding for libusb1") (synopsis "GLib binding for libusb1")
(description (description