pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

New package, libgusb-0.3.5.



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%gmail.com@localhost>
Pushed By:	bsiegert
Date:		Sat Oct 31 13:36:25 2020 +0100
Changeset:	ec6b7532c7250fea83ca372ec2def87f61bffbdb

Added Files:
	libgusb/DESCR
	libgusb/Makefile
	libgusb/PLIST
	libgusb/buildlink3.mk
	libgusb/distinfo

Log Message:
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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ec6b7532c7250fea83ca372ec2def87f61bffbdb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libgusb/DESCR         |  8 ++++++++
 libgusb/Makefile      | 20 ++++++++++++++++++++
 libgusb/PLIST         | 45 +++++++++++++++++++++++++++++++++++++++++++++
 libgusb/buildlink3.mk | 16 ++++++++++++++++
 libgusb/distinfo      |  6 ++++++
 5 files changed, 95 insertions(+)

diffs:
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@localhost
+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


Home | Main Index | Thread Index | Old Index