git: 0e7b85563d5e - main - comms/suscan: New port: Channel scanner based on sigutils library

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 08 Jan 2023 09:40:53 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0e7b85563d5efb4d6ac8836e79b59d9ff2b9bcee

commit 0e7b85563d5efb4d6ac8836e79b59d9ff2b9bcee
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-07 19:11:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-08 09:40:48 +0000

    comms/suscan: New port: Channel scanner based on sigutils library
---
 comms/Makefile         |  1 +
 comms/suscan/Makefile  | 29 +++++++++++++++++++++++++
 comms/suscan/distinfo  |  3 +++
 comms/suscan/pkg-descr |  9 ++++++++
 comms/suscan/pkg-plist | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 100 insertions(+)

diff --git a/comms/Makefile b/comms/Makefile
index f5b283263cab..e937cb380187 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -184,6 +184,7 @@
     SUBDIR += splat
     SUBDIR += sredird
     SUBDIR += sunxi-tools
+    SUBDIR += suscan
     SUBDIR += svxlink
     SUBDIR += syncterm
     SUBDIR += tcpser
diff --git a/comms/suscan/Makefile b/comms/suscan/Makefile
new file mode 100644
index 000000000000..2833ffd03b15
--- /dev/null
+++ b/comms/suscan/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	suscan
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.0-416
+DISTVERSIONSUFFIX=	-g37dad54
+CATEGORIES=	comms hamradio
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Channel scanner based on sigutils library
+WWW=		https://github.com/BatchDrake/suscan
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:math/fftw3
+LIB_DEPENDS=	\
+		libasound.so:audio/alsa-lib \
+		libfftw3f.so:math/fftw3-float \
+		libsigutils.so:comms/sigutils \
+		libsndfile.so:audio/libsndfile \
+		libSoapySDR.so:misc/soapysdr \
+		libvolk.so:devel/volk
+
+USES=		cmake:noninja gnome pkgconfig # build breaks with ninja
+USE_GNOME=	libxml2
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	BatchDrake
+
+.include <bsd.port.mk>
diff --git a/comms/suscan/distinfo b/comms/suscan/distinfo
new file mode 100644
index 000000000000..1f67ea5a38ca
--- /dev/null
+++ b/comms/suscan/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1673080772
+SHA256 (BatchDrake-suscan-v0.1.0-416-g37dad54_GH0.tar.gz) = 4076d9732cfb94d499693639d1c3469a1bedbe2ac5d3992dfe0c44799e359860
+SIZE (BatchDrake-suscan-v0.1.0-416-g37dad54_GH0.tar.gz) = 2951462
diff --git a/comms/suscan/pkg-descr b/comms/suscan/pkg-descr
new file mode 100644
index 000000000000..a10b90aef4c0
--- /dev/null
+++ b/comms/suscan/pkg-descr
@@ -0,0 +1,9 @@
+Suscan is a realtime DSP processing library. It provides a set of useful
+abstractions to perform dynamic digital signal analysis and demodulation.
+
+Suscan offers features like:
+* Multicore-friendly signal processing, based on worker threads
+* Generic ASK, FSK, PSK and audio demodulators
+* An extensible codec interface
+* Configuration file API (XML)
+* Source API based on SoapySDR
diff --git a/comms/suscan/pkg-plist b/comms/suscan/pkg-plist
new file mode 100644
index 000000000000..fbd9a174e4a0
--- /dev/null
+++ b/comms/suscan/pkg-plist
@@ -0,0 +1,58 @@
+bin/suscan.status
+bin/suscli
+include/suscan/analyzer/analyzer.h
+include/suscan/analyzer/corrector.h
+include/suscan/analyzer/correctors/tle.h
+include/suscan/analyzer/discovery.h
+include/suscan/analyzer/encap.h
+include/suscan/analyzer/estimator.h
+include/suscan/analyzer/inspector/factory.h
+include/suscan/analyzer/inspector/inspector.h
+include/suscan/analyzer/inspector/interface.h
+include/suscan/analyzer/inspector/overridable.h
+include/suscan/analyzer/inspector/params.h
+include/suscan/analyzer/inspsched.h
+include/suscan/analyzer/local.h
+include/suscan/analyzer/mq.h
+include/suscan/analyzer/msg.h
+include/suscan/analyzer/multicast.h
+include/suscan/analyzer/psd.h
+include/suscan/analyzer/realtime.h
+include/suscan/analyzer/remote.h
+include/suscan/analyzer/serialize.h
+include/suscan/analyzer/source.h
+include/suscan/analyzer/spectsrc.h
+include/suscan/analyzer/symbuf.h
+include/suscan/analyzer/throttle.h
+include/suscan/analyzer/version.h
+include/suscan/analyzer/worker.h
+include/suscan/cli/audio.h
+include/suscan/cli/chanloop.h
+include/suscan/cli/cli.h
+include/suscan/cli/cmds.h
+include/suscan/cli/datasaver.h
+include/suscan/cli/devserv.h
+include/suscan/sgdp4/sgdp4-types.h
+include/suscan/sgdp4/sgdp4.h
+include/suscan/suscan.h
+include/suscan/util/cbor.h
+include/suscan/util/cfg.h
+include/suscan/util/com.h
+include/suscan/util/compat.h
+include/suscan/util/confdb.h
+include/suscan/util/hashlist.h
+include/suscan/util/list.h
+include/suscan/util/macos-barriers.h
+include/suscan/util/macos-barriers.imp.h
+include/suscan/util/object.h
+include/suscan/util/rbtree.h
+include/suscan/util/sha256.h
+include/suscan/yaml/yaml.h
+include/suscan/yaml/yaml_private.h
+lib/libsuscan.so
+lib/libsuscan.so.0.3.0
+libdata/pkgconfig/suscan.pc
+%%DATADIR%%/config/autogains.yaml
+%%DATADIR%%/config/frequency_allocations.yaml
+%%DATADIR%%/config/locations.yaml
+%%DATADIR%%/config/palettes.yaml