Index: head/comms/Makefile =================================================================== --- head/comms/Makefile +++ head/comms/Makefile @@ -153,6 +153,7 @@ SUBDIR += qt5-serialport SUBDIR += qtel SUBDIR += quisk + SUBDIR += redsea SUBDIR += remserial SUBDIR += rtl-sdr SUBDIR += rubygem-callsign Index: head/comms/redsea/Makefile =================================================================== --- head/comms/redsea/Makefile +++ head/comms/redsea/Makefile @@ -0,0 +1,36 @@ +# $FreeBSD$ + +PORTNAME= redsea +DISTVERSIONPREFIX= v +DISTVERSION= 0.17.1 +CATEGORIES= comms + +MAINTAINER= morrand276@gmail.com +COMMENT= Lightweight command-line FM-RDS decoder + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libsndfile.so:audio/libsndfile + +USES= autoreconf:build compiler:c++14-lang iconv localbase:ldflags +USE_GITHUB= yes +GH_ACCOUNT= windytan + +GNU_CONFIGURE= yes +PLIST_FILES= bin/redsea ${DOCSDIR}/README.md + +OPTIONS_DEFINE= DEMOD TMC +OPTIONS_DEFAULT= DEMOD TMC + +DEMOD_DESC= Demodulation support via comms/liquid-dsp +TMC_DESC= TMC (traffic messages) support (may slow building) + +DEMOD_CONFIGURE_WITH= liquid +DEMOD_LIB_DEPENDS= libliquid.so:comms/liquid-dsp +TMC_CONFIGURE_ENABLE= tmc + +pre-configure: + @cd ${WRKSRC} && ${AUTORECONF} -i + +.include Index: head/comms/redsea/distinfo =================================================================== --- head/comms/redsea/distinfo +++ head/comms/redsea/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1546699406 +SHA256 (windytan-redsea-v0.17.1_GH0.tar.gz) = 15fc9f2c733ce0b68b27301df071b20846ad30ac5670599a9344d63bd7d0afbd +SIZE (windytan-redsea-v0.17.1_GH0.tar.gz) = 119115 Index: head/comms/redsea/pkg-descr =================================================================== --- head/comms/redsea/pkg-descr +++ head/comms/redsea/pkg-descr @@ -0,0 +1,11 @@ +redsea is a lightweight command-line decoder for broadcast FM-RDS data, +such as that provided from a software-defined radio (SDR). It can also +decode raw ASCII bitstreams, the hex format provided by RDS Spy, and audio +files containing multiplex signals. Decoded RDS groups are printed to the +terminal as line-delimited JSON objects; optionally, undecoded hex blocks +can be output instead. + +This program is intended to be used in combination with a separate source +of demodulated FM multiplex signals, such as rtl-sdr. + +WWW: https://github.com/windytan/redsea/ Index: head/comms/redsea/pkg-message =================================================================== --- head/comms/redsea/pkg-message +++ head/comms/redsea/pkg-message @@ -0,0 +1,10 @@ +Don't forget to give redsea something to decode! For output from a USB +software-defined radio stick, you may want to consider installing +comms/rtl-sdr or another SDR tool of your choice that can feed raw I/Q +data on stdout. + +You can also provide redsea with hex data from RDS Spy, raw ASCII +bitstream, or an audio file containing a multiplexed FM signal. + +Fuller details are contained in the redsea wiki: +https://github.com/windytan/redsea/wiki/Input-formats