New package, libgusb-0.3.5.

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.

Not everything you can do in libusb1 is wrapped, although we'll accept
feature requests (with patches) if it makes sense.
This commit is contained in:
Benny Siegert 2020-10-31 13:36:25 +01:00
parent 205f0e27b9
commit ec6b7532c7
5 changed files with 95 additions and 0 deletions

8
libgusb/DESCR Normal file
View File

@ -0,0 +1,8 @@
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.
Not everything you can do in libusb1 is wrapped, although we'll accept
feature requests (with patches) if it makes sense.

20
libgusb/Makefile Normal file
View File

@ -0,0 +1,20 @@
# $NetBSD$
DISTNAME= libgusb-0.3.5
GITHUB_TAG= ${PKGVERSION_NOREV}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=hughsie/}
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= https://github.com/hughsie/libgusb/
COMMENT= GObject wrapper for libusb1
#LICENSE= # TODO: (see mk/license.mk)
USE_TOOLS+= pkg-config
#.include "../../devel/cmake/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/meson/build.mk"
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

45
libgusb/PLIST Normal file
View File

@ -0,0 +1,45 @@
@comment $NetBSD$
bin/gusbcmd
include/gusb-1/gusb.h
include/gusb-1/gusb/gusb-autocleanups.h
include/gusb-1/gusb/gusb-context-private.h
include/gusb-1/gusb/gusb-context.h
include/gusb-1/gusb/gusb-device-list.h
include/gusb-1/gusb/gusb-device-private.h
include/gusb-1/gusb/gusb-device.h
include/gusb-1/gusb/gusb-endpoint-private.h
include/gusb-1/gusb/gusb-endpoint.h
include/gusb-1/gusb/gusb-interface-private.h
include/gusb-1/gusb/gusb-interface.h
include/gusb-1/gusb/gusb-source.h
include/gusb-1/gusb/gusb-util.h
include/gusb-1/gusb/gusb-version.h
lib/girepository-1.0/GUsb-1.0.typelib
lib/libgusb.so
lib/libgusb.so.2
lib/libgusb.so.2.0.10
lib/pkgconfig/gusb.pc
share/gir-1.0/GUsb-1.0.gir
share/gtk-doc/html/gusb/faq.html
share/gtk-doc/html/gusb/gusb-GUsbContext.html
share/gtk-doc/html/gusb/gusb-GUsbDevice.html
share/gtk-doc/html/gusb/gusb-GUsbDeviceList.html
share/gtk-doc/html/gusb/gusb-gusb-interface.html
share/gtk-doc/html/gusb/gusb-gusb-source.html
share/gtk-doc/html/gusb/gusb-gusb-version.html
share/gtk-doc/html/gusb/gusb.devhelp2
share/gtk-doc/html/gusb/home.png
share/gtk-doc/html/gusb/index.html
share/gtk-doc/html/gusb/introduction.html
share/gtk-doc/html/gusb/left-insensitive.png
share/gtk-doc/html/gusb/left.png
share/gtk-doc/html/gusb/libgusb-helpers.html
share/gtk-doc/html/gusb/libgusb.html
share/gtk-doc/html/gusb/right-insensitive.png
share/gtk-doc/html/gusb/right.png
share/gtk-doc/html/gusb/specification.html
share/gtk-doc/html/gusb/style.css
share/gtk-doc/html/gusb/up-insensitive.png
share/gtk-doc/html/gusb/up.png
share/vala/vapi/gusb.deps
share/vala/vapi/gusb.vapi

16
libgusb/buildlink3.mk Normal file
View File

@ -0,0 +1,16 @@
# $NetBSD$
BUILDLINK_TREE+= libgusb
.if !defined(LIBGUSB_BUILDLINK3_MK)
LIBGUSB_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libgusb+= libgusb>=0.3.5
BUILDLINK_PKGSRCDIR.libgusb?= ../../wip/libgusb
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/libusb1/buildlink3.mk"
.endif # LIBGUSB_BUILDLINK3_MK
BUILDLINK_TREE+= -libgusb

6
libgusb/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (libgusb-0.3.5.tar.gz) = ff916e4721206dbd3f05fbf524932ea2b6e77cbb
RMD160 (libgusb-0.3.5.tar.gz) = 55b393b9dfcafafc6cc292c8e19bab4f5940a1b4
SHA512 (libgusb-0.3.5.tar.gz) = 516a7a611fcd2c123c8b988f949c945d83b46580220df7cb030bf19fb1f1d425c2a75b55d39ec65419bc19fc792c31db11e3b8cdc2635aa7269ee404fc3a25f4
Size (libgusb-0.3.5.tar.gz) = 48161 bytes