Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devel/libgusb: New port: GUsb is a GObject wrapper for libusb1
This is needed for colord 1.4.0+.
- Loading branch information
1 parent
e789e7b
commit a338460
Showing
5 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |