[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/06: gnu: Add gusb.
From: |
Mark H. Weaver |
Subject: |
05/06: gnu: Add gusb. |
Date: |
Sat, 08 Aug 2015 18:33:20 +0000 |
mhw pushed a commit to branch master
in repository guix.
commit 7c88b6bd5c631708d9ee504af873d68fa5f1e280
Author: Andy Wingo <address@hidden>
Date: Sat Aug 8 13:43:04 2015 -0400
gnu: Add gusb.
* gnu/packages/gnome.scm (gusb): New variable.
---
gnu/packages/gnome.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index fb5c67e..ebf1383 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3162,3 +3162,48 @@ mounts to non-GIO applications using FUSE.
GVFS comes with a set of backends, including trash support, SFTP, SMB, HTTP,
DAV, and others.")
(license license:lgpl2.0+)))
+
+(define-public gusb
+ (package
+ (name "gusb")
+ (version "0.2.6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/hughsie/libgusb/archive/"
+ "gusb_"
+ (string-join (string-split version #\.)
+ "_")
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0h9dzaza81b0mx5jfh5cnc31xdynl0jsxgwvl6vqyhy8mnwfi5nr"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("glib:bin" ,glib "bin") ; for glib-genmarshal, etc.
+ ("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"))))))))
+ (home-page "https://github/hughsie/libgusb")
+ (synopsis "A GLib binding for libusb1")
+ (description
+ "GUsb is a GObject wrapper for libusb1 that makes it easy to do
+asynchronous control, bulk and interrupt transfers with proper cancellation
+and integration into a mainloop. This makes it easy to integrate low level
+USB transfers with your high-level application or system daemon.")
+ (license license:lgpl2.1+)))
- branch master updated (831bc14 -> 0abe1d8), Mark H. Weaver, 2015/08/08
- 01/06: gnu: Move ghostscript-with-x into (gnu packages ghostscript)., Mark H. Weaver, 2015/08/08
- 02/06: gnu: Add libusb-compat., Mark H. Weaver, 2015/08/08
- 04/06: gnu: Add gtk-doc., Mark H. Weaver, 2015/08/08
- 03/06: gnu: sane-backends: Support USB scanners., Mark H. Weaver, 2015/08/08
- 06/06: gnu: Add simple-scan., Mark H. Weaver, 2015/08/08
- 05/06: gnu: Add gusb.,
Mark H. Weaver <=