Date: Fri, 24 Dec 2021 05:25:19 GMT From: Neel Chauhan <nc@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a33846070fac - main - devel/libgusb: New port: GUsb is a GObject wrapper for libusb1 Message-ID: <202112240525.1BO5PJJe064284@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by nc: URL: https://cgit.FreeBSD.org/ports/commit/?id=a33846070fac70f1a81c0eafd425b93ed8eb15a9 commit a33846070fac70f1a81c0eafd425b93ed8eb15a9 Author: Neel Chauhan <nc@FreeBSD.org> AuthorDate: 2021-12-24 05:24:31 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2021-12-24 05:24:31 +0000 devel/libgusb: New port: GUsb is a GObject wrapper for libusb1 This is needed for colord 1.4.0+. --- devel/Makefile | 1 + devel/libgusb/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/libgusb/distinfo | 3 +++ devel/libgusb/pkg-descr | 9 +++++++++ devel/libgusb/pkg-plist | 45 +++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 92 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d15c9f116fb0..7dfd0e062a09 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1262,6 +1262,7 @@ SUBDIR += libgta SUBDIR += libgtop SUBDIR += libgudev + SUBDIR += libgusb SUBDIR += libgutenfetch SUBDIR += libhash SUBDIR += libhoard diff --git a/devel/libgusb/Makefile b/devel/libgusb/Makefile new file mode 100644 index 000000000000..6adde4669c70 --- /dev/null +++ b/devel/libgusb/Makefile @@ -0,0 +1,34 @@ +PORTNAME= libgusb +PORTVERSION= 0.3.9 +CATEGORIES= devel + +MAINTAINER= gnome@FreeBSD.org +COMMENT= GUsb is a GObject wrapper for libusb1 + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc \ + vapigen:lang/vala + +USES= gnome meson pkgconfig + +USE_GITHUB= yes +GH_ACCOUNT= hughsie + +USE_GNOME= glib20 introspection:build + +OPTIONS_DEFINE= DOCS VALA +OPTIONS_DEFAULT= DOCS VALA +OPTIONS_SUB= yes + +.include <bsd.port.options.mk> + +.if !${PORT_OPTIONS:MDOCS} +MESON_ARGS+= -Ddocs=false +.endif +.if !${PORT_OPTIONS:MVALA} +MESON_ARGS+= -Dvala=false +.endif + +.include <bsd.port.mk> diff --git a/devel/libgusb/distinfo b/devel/libgusb/distinfo new file mode 100644 index 000000000000..ee8f31726280 --- /dev/null +++ b/devel/libgusb/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1640322180 +SHA256 (hughsie-libgusb-0.3.9_GH0.tar.gz) = 19612e24cd98684cdf4abcbfc0e1bd43dbce122d202a4e4a0b02359eb8c9217f +SIZE (hughsie-libgusb-0.3.9_GH0.tar.gz) = 49813 diff --git a/devel/libgusb/pkg-descr b/devel/libgusb/pkg-descr new file mode 100644 index 000000000000..71bd725b9b27 --- /dev/null +++ b/devel/libgusb/pkg-descr @@ -0,0 +1,9 @@ +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. + +WWW: https://github.com/hughsie/libgusb diff --git a/devel/libgusb/pkg-plist b/devel/libgusb/pkg-plist new file mode 100644 index 000000000000..0fe7247b98c9 --- /dev/null +++ b/devel/libgusb/pkg-plist @@ -0,0 +1,45 @@ +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 +libdata/pkgconfig/gusb.pc +share/gir-1.0/GUsb-1.0.gir +%%DOCS%%share/gtk-doc/html/gusb/faq.html +%%DOCS%%share/gtk-doc/html/gusb/gusb-GUsbContext.html +%%DOCS%%share/gtk-doc/html/gusb/gusb-GUsbDevice.html +%%DOCS%%share/gtk-doc/html/gusb/gusb-GUsbDeviceList.html +%%DOCS%%share/gtk-doc/html/gusb/gusb-gusb-endpoint.html +%%DOCS%%share/gtk-doc/html/gusb/gusb-gusb-interface.html +%%DOCS%%share/gtk-doc/html/gusb/gusb-gusb-source.html +%%DOCS%%share/gtk-doc/html/gusb/gusb-gusb-version.html +%%DOCS%%share/gtk-doc/html/gusb/gusb.devhelp2 +%%DOCS%%share/gtk-doc/html/gusb/home.png +%%DOCS%%share/gtk-doc/html/gusb/index.html +%%DOCS%%share/gtk-doc/html/gusb/introduction.html +%%DOCS%%share/gtk-doc/html/gusb/left-insensitive.png +%%DOCS%%share/gtk-doc/html/gusb/left.png +%%DOCS%%share/gtk-doc/html/gusb/libgusb-helpers.html +%%DOCS%%share/gtk-doc/html/gusb/libgusb.html +%%DOCS%%share/gtk-doc/html/gusb/right-insensitive.png +%%DOCS%%share/gtk-doc/html/gusb/right.png +%%DOCS%%share/gtk-doc/html/gusb/specification.html +%%DOCS%%share/gtk-doc/html/gusb/style.css +%%DOCS%%share/gtk-doc/html/gusb/up-insensitive.png +%%DOCS%%share/gtk-doc/html/gusb/up.png +%%VALA%%share/vala/vapi/gusb.deps +%%VALA%%share/vala/vapi/gusb.vapi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112240525.1BO5PJJe064284>