View | Details | Raw Unified | Return to bug 234726
Collapse All | Expand All

(-)comms/redsea/Makefile (+43 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	redsea
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	0.17.1
6
CATEGORIES=	comms
7
8
MAINTAINER=	morrand@amorriseng.com
9
COMMENT=	Lightweight command-line FM-RDS decoder
10
11
LICENSE=	MIT
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
LIB_DEPENDS=	libsndfile.so:audio/libsndfile
15
16
USES=	autoreconf:build iconv compiler:c++14-lang localbase:ldflags
17
18
USE_GITHUB=	yes
19
GH_ACCOUNT=	windytan
20
GH_PROJECT=	redsea
21
22
GNU_CONFIGURE=	yes
23
24
OPTIONS_DEFINE=	TMC DEMOD
25
OPTIONS_DEFAULT=	TMC DEMOD
26
27
TMC_DESC=	TMC (traffic messages) support (may slow building)
28
DEMOD_DESC=	Demodulation support via comms/liquid-dsp
29
30
TMC_CONFIGURE_ENABLE=	tmc
31
DEMOD_CONFIGURE_WITH=	liquid
32
DEMOD_LIB_DEPENDS=	libliquid.so:comms/liquid-dsp
33
34
# No, this is not the ideal way to do this, but per the author's 
35
# instructions, autogen.sh needs to be run first, which just calls
36
# autoreconf with the --install flag. As we have no option for that in 
37
# the standard Mk include, and as it gets confused about what the 
38
# working directory is if we just call autogen.sh, do it manually here:
39
40
pre-configure:	
41
	autoreconf --install ${WRKSRC}
42
43
.include <bsd.port.mk>
(-)comms/redsea/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1546699406
2
SHA256 (windytan-redsea-v0.17.1_GH0.tar.gz) = 15fc9f2c733ce0b68b27301df071b20846ad30ac5670599a9344d63bd7d0afbd
3
SIZE (windytan-redsea-v0.17.1_GH0.tar.gz) = 119115
(-)comms/redsea/pkg-descr (+11 lines)
Line 0 Link Here
1
redsea is a lightweight command-line decoder for broadcast FM-RDS data, 
2
such as that provided from a software-defined radio (SDR). It can also 
3
decode raw ASCII bitstreams, the hex format provided by RDS Spy, and audio 
4
files containing multiplex signals. Decoded RDS groups are printed to the 
5
terminal as line-delimited JSON objects; optionally, undecoded hex blocks 
6
can be output instead. 
7
8
This program is intended to be used in combination with a separate source 
9
of demodulated FM multiplex signals, such as rtl-sdr.
10
11
WWW: https://github.com/windytan/redsea/
(-)comms/redsea/pkg-message (+10 lines)
Line 0 Link Here
1
Don't forget to give redsea something to decode!  For output from a USB 
2
software-defined radio stick, you may want to consider installing 
3
comms/rtl-sdr or another SDR tool of your choice that can feed raw I/Q 
4
data on stdout.  
5
6
You can also provide redsea with hex data from RDS Spy, raw ASCII 
7
bitstream, or an audio file containing a multiplexed FM signal.
8
9
Fuller details are contained in the redsea wiki:
10
https://github.com/windytan/redsea/wiki/Input-formats
(-)comms/redsea/pkg-plist (+2 lines)
Line 0 Link Here
1
bin/redsea
2
share/doc/redsea/README.md

Return to bug 234726