git: 9f34e20c61e5 - main - comms/sigutils: New port: Small signal processing utility library

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sat, 07 Jan 2023 09:00:06 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9f34e20c61e50373aae39b36551e4dae7a9a5294

commit 9f34e20c61e50373aae39b36551e4dae7a9a5294
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-01-07 08:59:34 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-01-07 08:59:34 +0000

    comms/sigutils: New port: Small signal processing utility library
---
 comms/Makefile           |  1 +
 comms/sigutils/Makefile  | 28 ++++++++++++++++++++++++++++
 comms/sigutils/distinfo  |  3 +++
 comms/sigutils/pkg-descr |  2 ++
 comms/sigutils/pkg-plist | 45 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 79 insertions(+)

diff --git a/comms/Makefile b/comms/Makefile
index 091dfca32a01..f5b283263cab 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -168,6 +168,7 @@
     SUBDIR += sdr-wspr
     SUBDIR += ser2net
     SUBDIR += serialoverip
+    SUBDIR += sigutils
     SUBDIR += sms_client
     SUBDIR += smstools3
     SUBDIR += snap7
diff --git a/comms/sigutils/Makefile b/comms/sigutils/Makefile
new file mode 100644
index 000000000000..63287b6a950a
--- /dev/null
+++ b/comms/sigutils/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	sigutils
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.1.0-156
+DISTVERSIONSUFFIX=	-g1d7559d
+CATEGORIES=	comms
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Small signal processing utility library
+WWW=		https://github.com/BatchDrake/sigutils
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:math/fftw3
+LIB_DEPENDS=	libfftw3f.so:math/fftw3-float \
+		libsndfile.so:audio/libsndfile \
+		libvolk.so:devel/volk
+
+USES=		cmake:noninja pkgconfig # ninja breaks
+USE_LDCONFIG=	yes
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	BatchDrake
+
+do-test: # 5 tests fail, see https://github.com/BatchDrake/sigutils/issues/32
+	@cd ${BUILD_WRKSRC} && ./sutest
+
+.include <bsd.port.mk>
diff --git a/comms/sigutils/distinfo b/comms/sigutils/distinfo
new file mode 100644
index 000000000000..8402a7395153
--- /dev/null
+++ b/comms/sigutils/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1673080946
+SHA256 (BatchDrake-sigutils-v0.1.0-156-g1d7559d_GH0.tar.gz) = 9c6bdd86b53cefccf006e8d2f5733540cc9c410c453821e8366a56cea1e95351
+SIZE (BatchDrake-sigutils-v0.1.0-156-g1d7559d_GH0.tar.gz) = 113274
diff --git a/comms/sigutils/pkg-descr b/comms/sigutils/pkg-descr
new file mode 100644
index 000000000000..2c8fb8bae122
--- /dev/null
+++ b/comms/sigutils/pkg-descr
@@ -0,0 +1,2 @@
+The sigutils library is a digital signal processing library written in C,
+designed for blind signal analysis and automatic demodulation.
diff --git a/comms/sigutils/pkg-plist b/comms/sigutils/pkg-plist
new file mode 100644
index 000000000000..2455ea1a26ba
--- /dev/null
+++ b/comms/sigutils/pkg-plist
@@ -0,0 +1,45 @@
+include/sigutils/sigutils/agc.h
+include/sigutils/sigutils/block.h
+include/sigutils/sigutils/clock.h
+include/sigutils/sigutils/coef.h
+include/sigutils/sigutils/decider.h
+include/sigutils/sigutils/defs.h
+include/sigutils/sigutils/detect.h
+include/sigutils/sigutils/equalizer.h
+include/sigutils/sigutils/iir.h
+include/sigutils/sigutils/lfsr.h
+include/sigutils/sigutils/log.h
+include/sigutils/sigutils/matfile.h
+include/sigutils/sigutils/ncqo.h
+include/sigutils/sigutils/pll.h
+include/sigutils/sigutils/property.h
+include/sigutils/sigutils/sampling.h
+include/sigutils/sigutils/sigutils.h
+include/sigutils/sigutils/smoothpsd.h
+include/sigutils/sigutils/softtune.h
+include/sigutils/sigutils/specific/apt.h
+include/sigutils/sigutils/specttuner.h
+include/sigutils/sigutils/taps.h
+include/sigutils/sigutils/tvproc.h
+include/sigutils/sigutils/types.h
+include/sigutils/sigutils/version.h
+include/sigutils/util/compat-fcntl.h
+include/sigutils/util/compat-in.h
+include/sigutils/util/compat-inet.h
+include/sigutils/util/compat-mman.h
+include/sigutils/util/compat-netdb.h
+include/sigutils/util/compat-poll.h
+include/sigutils/util/compat-pwd.h
+include/sigutils/util/compat-select.h
+include/sigutils/util/compat-socket.h
+include/sigutils/util/compat-stat.h
+include/sigutils/util/compat-statvfs.h
+include/sigutils/util/compat-stdlib.h
+include/sigutils/util/compat-termios.h
+include/sigutils/util/compat-time.h
+include/sigutils/util/compat-unistd.h
+include/sigutils/util/util.h
+lib/libsigutils.so
+lib/libsigutils.so.0.3.0
+lib/libsigutils.so.1
+libdata/pkgconfig/sigutils.pc