diff --git a/libgusb/DESCR b/libgusb/DESCR new file mode 100644 index 0000000000..29e562beb4 --- /dev/null +++ b/libgusb/DESCR @@ -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. diff --git a/libgusb/Makefile b/libgusb/Makefile new file mode 100644 index 0000000000..26f0b3ef56 --- /dev/null +++ b/libgusb/Makefile @@ -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" diff --git a/libgusb/PLIST b/libgusb/PLIST new file mode 100644 index 0000000000..f660dabea3 --- /dev/null +++ b/libgusb/PLIST @@ -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 diff --git a/libgusb/buildlink3.mk b/libgusb/buildlink3.mk new file mode 100644 index 0000000000..12da4d7e0f --- /dev/null +++ b/libgusb/buildlink3.mk @@ -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 diff --git a/libgusb/distinfo b/libgusb/distinfo new file mode 100644 index 0000000000..ff70353c1c --- /dev/null +++ b/libgusb/distinfo @@ -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