comms/libdc: New port

Libdivecomputer is a cross-platform and open source library for
communication with dive computers from various manufacturers.

This port is the subsurface flavor of libdivecomputer.

WWW: http://www.libdivecomputer.org/
This commit is contained in:
Romain Tartière 2022-10-29 08:41:07 -10:00
parent cc22ab1240
commit bf2dd89bcc
No known key found for this signature in database
GPG Key ID: BA4D1D955112336F
5 changed files with 184 additions and 0 deletions

View File

@ -73,6 +73,7 @@
SUBDIR += kermit
SUBDIR += klog
SUBDIR += libconcord
SUBDIR += libdc
SUBDIR += libfap
SUBDIR += libfec
SUBDIR += libimobiledevice

23
comms/libdc/Makefile Normal file
View File

@ -0,0 +1,23 @@
PORTNAME= libdc
DISTVERSIONPREFIX=v
DISTVERSION= 5.0.10
CATEGORIES= comms
MAINTAINER= romain@FreeBSD.org
COMMENT= Subsurface version of libdivecomputer
WWW= http://www.libdivecomputer.org
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf gmake libtool
USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= subsurface
GNU_CONFIGURE= yes
OPTIONS_DEFINE= DOCS
DOCSDIR= ${PREFIX}/share/doc/libdivecomputer
.include <bsd.port.mk>

3
comms/libdc/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1666671310
SHA256 (subsurface-libdc-v5.0.10_GH0.tar.gz) = f9512ed4747f52138a7c7942fee677e33a16d99aa5db4aafe377ef7cd8276567
SIZE (subsurface-libdc-v5.0.10_GH0.tar.gz) = 418912

4
comms/libdc/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
Libdivecomputer is a cross-platform and open source library for
communication with dive computers from various manufacturers.
This port is the subsurface flavor of libdivecomputer.

153
comms/libdc/pkg-plist Normal file
View File

@ -0,0 +1,153 @@
bin/dctool
include/libdivecomputer/atomics_cobalt.h
include/libdivecomputer/ble.h
include/libdivecomputer/bluetooth.h
include/libdivecomputer/buffer.h
include/libdivecomputer/common.h
include/libdivecomputer/context.h
include/libdivecomputer/custom.h
include/libdivecomputer/datetime.h
include/libdivecomputer/descriptor.h
include/libdivecomputer/device.h
include/libdivecomputer/divesystem_idive.h
include/libdivecomputer/hw_frog.h
include/libdivecomputer/hw_ostc.h
include/libdivecomputer/hw_ostc3.h
include/libdivecomputer/ioctl.h
include/libdivecomputer/iostream.h
include/libdivecomputer/irda.h
include/libdivecomputer/iterator.h
include/libdivecomputer/oceanic_atom2.h
include/libdivecomputer/oceanic_veo250.h
include/libdivecomputer/oceanic_vtpro.h
include/libdivecomputer/parser.h
include/libdivecomputer/reefnet_sensus.h
include/libdivecomputer/reefnet_sensuspro.h
include/libdivecomputer/reefnet_sensusultra.h
include/libdivecomputer/serial.h
include/libdivecomputer/suunto_d9.h
include/libdivecomputer/suunto_eon.h
include/libdivecomputer/suunto_vyper2.h
include/libdivecomputer/units.h
include/libdivecomputer/usb.h
include/libdivecomputer/usbhid.h
include/libdivecomputer/version.h
lib/libdivecomputer.a
lib/libdivecomputer.so
lib/libdivecomputer.so.0
lib/libdivecomputer.so.0.0.0
libdata/pkgconfig/libdivecomputer.pc
man/man3/dc_bluetooth_addr2str.3.gz
man/man3/dc_bluetooth_device_free.3.gz
man/man3/dc_bluetooth_device_get_address.3.gz
man/man3/dc_bluetooth_device_get_name.3.gz
man/man3/dc_bluetooth_iterator_new.3.gz
man/man3/dc_bluetooth_open.3.gz
man/man3/dc_bluetooth_str2addr.3.gz
man/man3/dc_buffer_append.3.gz
man/man3/dc_buffer_free.3.gz
man/man3/dc_buffer_get_data.3.gz
man/man3/dc_buffer_get_size.3.gz
man/man3/dc_buffer_new.3.gz
man/man3/dc_buffer_prepend.3.gz
man/man3/dc_context_free.3.gz
man/man3/dc_context_new.3.gz
man/man3/dc_context_set_logfunc.3.gz
man/man3/dc_context_set_loglevel.3.gz
man/man3/dc_datetime_gmtime.3.gz
man/man3/dc_datetime_localtime.3.gz
man/man3/dc_datetime_mktime.3.gz
man/man3/dc_datetime_now.3.gz
man/man3/dc_descriptor_free.3.gz
man/man3/dc_descriptor_get_model.3.gz
man/man3/dc_descriptor_get_product.3.gz
man/man3/dc_descriptor_get_transports.3.gz
man/man3/dc_descriptor_get_vendor.3.gz
man/man3/dc_descriptor_iterator.3.gz
man/man3/dc_device_close.3.gz
man/man3/dc_device_foreach.3.gz
man/man3/dc_device_open.3.gz
man/man3/dc_device_set_cancel.3.gz
man/man3/dc_device_set_events.3.gz
man/man3/dc_device_set_fingerprint.3.gz
man/man3/dc_iostream_close.3.gz
man/man3/dc_irda_device_free.3.gz
man/man3/dc_irda_device_get_address.3.gz
man/man3/dc_irda_device_get_name.3.gz
man/man3/dc_irda_iterator_new.3.gz
man/man3/dc_irda_open.3.gz
man/man3/dc_iterator_free.3.gz
man/man3/dc_iterator_next.3.gz
man/man3/dc_parser_destroy.3.gz
man/man3/dc_parser_get_datetime.3.gz
man/man3/dc_parser_get_field.3.gz
man/man3/dc_parser_new.3.gz
man/man3/dc_parser_samples_foreach.3.gz
man/man3/dc_parser_set_data.3.gz
man/man3/dc_serial_device_free.3.gz
man/man3/dc_serial_device_get_name.3.gz
man/man3/dc_serial_iterator_new.3.gz
man/man3/dc_serial_open.3.gz
man/man3/dc_usbhid_device_free.3.gz
man/man3/dc_usbhid_device_get_pid.3.gz
man/man3/dc_usbhid_device_get_vid.3.gz
man/man3/dc_usbhid_iterator_new.3.gz
man/man3/dc_usbhid_open.3.gz
man/man3/libdivecomputer.3.gz
%%PORTDOCS%%%%DOCSDIR%%/dc_bluetooth_addr2str.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_bluetooth_device_free.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_bluetooth_device_get_address.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_bluetooth_device_get_name.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_bluetooth_iterator_new.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_bluetooth_open.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_bluetooth_str2addr.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_buffer_append.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_buffer_free.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_buffer_get_data.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_buffer_get_size.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_buffer_new.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_buffer_prepend.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_context_free.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_context_new.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_context_set_logfunc.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_context_set_loglevel.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_datetime_gmtime.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_datetime_localtime.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_datetime_mktime.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_datetime_now.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_descriptor_free.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_descriptor_get_model.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_descriptor_get_product.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_descriptor_get_transports.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_descriptor_get_vendor.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_descriptor_iterator.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_device_close.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_device_foreach.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_device_open.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_device_set_cancel.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_device_set_events.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_device_set_fingerprint.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_iostream_close.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_irda_device_free.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_irda_device_get_address.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_irda_device_get_name.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_irda_iterator_new.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_irda_open.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_iterator_free.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_iterator_next.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_parser_destroy.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_parser_get_datetime.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_parser_get_field.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_parser_new.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_parser_samples_foreach.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_parser_set_data.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_serial_device_free.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_serial_device_get_name.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_serial_iterator_new.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_serial_open.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_usbhid_device_free.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_usbhid_device_get_pid.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_usbhid_device_get_vid.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_usbhid_iterator_new.3.html
%%PORTDOCS%%%%DOCSDIR%%/dc_usbhid_open.3.html
%%PORTDOCS%%%%DOCSDIR%%/libdivecomputer.3.html