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

(-)./Makefile (-2 / +33 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/comms/libcodec2/Makefile 413746 2016-04-21 16:43:14Z swills $
2
# $FreeBSD: head/comms/libcodec2/Makefile 413746 2016-04-21 16:43:14Z swills $
3
3
4
PORTNAME=	libcodec2
4
PORTNAME=	libcodec2
5
PORTVERSION=	0.5
5
PORTVERSION=	0.5.1
6
CATEGORIES=	comms hamradio
6
CATEGORIES=	comms hamradio
7
MASTER_SITES=	http://files.freedv.org/codec2/
7
MASTER_SITES=	http://files.freedv.org/codec2/
8
DISTNAME=	codec2-${PORTVERSION}
8
DISTNAME=	codec2-${PORTVERSION}
Lines 14-22 LICENSE= LGPL21 Link Here
14
14
15
BROKEN_powerpc64=	Does not build
15
BROKEN_powerpc64=	Does not build
16
16
17
LIB_DEPENDS=	libspeexdsp.so:audio/speexdsp
17
TEST_LIB_DEPENDS=	libspeexdsp.so:audio/speexdsp
18
18
19
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
20
USES=		cmake:outsource tar:xz
20
USES=		cmake:outsource tar:xz
21
21
22
OPTIONS_DEFINE=	EXAMPLES TEST
23
OPTIONS_SUB=	yes
24
OPTIONS_UNSET=	EXAMPLES TEST
25
EXAMPLES_CMAKE_ON=	-DINSTALL_EXAMPLES=ON
26
TEST_CMAKE_ON=		-DUNITTEST=ON
27
28
CMAKE_ARGS=	-DCMAKE_CXX_COMPILER:STRING="${CXX}"\
29
		-DCMAKE_MODULE_LINKER_FLAGS:STRING=""
30
31
TEST_SRCFILES=	cohpsk_ch cohpsk_demod cohpsk_get_test_bits cohpsk_mod\
32
		cohpsk_put_test_bits fdmdv_channel freedv_rx freedv_tx\
33
		generate_codebook genlspdtcb
34
TEST_UNITTESTFILES=	c2validate create_interleaver de extract fdmdv_mem\
35
			genampdata genlsp genphdata genres lspsync polar2rect\
36
			pre raw2h scalarlsptest speexnoisesup t16_8\
37
			t16_8_short tcohpsk test_cohpsk_ch tfdmdv tfifo\
38
			tinterp tlspsens tnlp tprede tquant vq_train_jvm\
39
			vqtrain vqtrainjnd vqtrainph vqtrainsp
40
41
pre-patch-TEST-on:
42
	${REINPLACE_CMD} 's|speex/speex.h|speex/speex_preprocess.h|;\
43
		s|"_FLAGS"|_FLAGS|' ${WRKSRC}/CMakeLists.txt
44
45
post-install-TEST-on:
46
.for a in ${TEST_SRCFILES}
47
	@${INSTALL_PROGRAM} ${WRKDIR}/.build/src/${a} ${STAGEDIR}${PREFIX}/bin
48
.endfor
49
.for a in ${TEST_UNITTESTFILES}
50
	@${INSTALL_PROGRAM} ${WRKDIR}/.build/unittest/${a} ${STAGEDIR}${PREFIX}/bin
51
.endfor
52
22
.include <bsd.port.mk>
53
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (codec2-0.5.tar.xz) = 1ffda04ec6629f5ad5a38349c6d9d38d29bfbc1c677c12014ff20d480a343f17
1
SHA256 (codec2-0.5.1.tar.xz) = f7cf14b02763ffdcd231027f9811b06862790bf76d900ba9443d2a57f4ce7b38
2
SIZE (codec2-0.5.tar.xz) = 7845164
2
SIZE (codec2-0.5.1.tar.xz) = 7862968
(-)./pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Codec 2 is an open source (LGPL licensed) speech codec for 3200 bit/s
1
Codec 2 is an open source (LGPL licensed) speech codec for 3200 bit/s
2
and below.
2
and below.
3
3
4
WWW: http://www.rowetel.com/codec2.html
4
WWW: http://www.rowetel.com/blog/?page_id=452
(-)./pkg-plist (+231 lines)
Lines 26-28 include/codec2/modem_stats.h Link Here
26
include/codec2/varicode.h
26
include/codec2/varicode.h
27
lib/libcodec2.so
27
lib/libcodec2.so
28
lib/libcodec2.so.0.5
28
lib/libcodec2.so.0.5
29
%%EXAMPLES%%share/codec2/octave/adc_sfdr_ut.m
30
%%EXAMPLES%%share/codec2/octave/adcres.m
31
%%EXAMPLES%%share/codec2/octave/autotest.m
32
%%EXAMPLES%%share/codec2/octave/av_imp.m
33
%%EXAMPLES%%share/codec2/octave/bandpasssampling.m
34
%%EXAMPLES%%share/codec2/octave/bpf.m
35
%%EXAMPLES%%share/codec2/octave/cbphase.m
36
%%EXAMPLES%%share/codec2/octave/cellmodem.m
37
%%EXAMPLES%%share/codec2/octave/ciccomp.m
38
%%EXAMPLES%%share/codec2/octave/cml.patch
39
%%EXAMPLES%%share/codec2/octave/codec2_demo.m
40
%%EXAMPLES%%share/codec2/octave/cohpsk.m
41
%%EXAMPLES%%share/codec2/octave/cohpsk_demod_plot.m
42
%%EXAMPLES%%share/codec2/octave/cohpsk_frame_design.ods
43
%%EXAMPLES%%share/codec2/octave/cspec.m
44
%%EXAMPLES%%share/codec2/octave/dacres.m
45
%%EXAMPLES%%share/codec2/octave/diff_codec.m
46
%%EXAMPLES%%share/codec2/octave/fdmdv.m
47
%%EXAMPLES%%share/codec2/octave/fdmdv_demod.m
48
%%EXAMPLES%%share/codec2/octave/fdmdv_demod_c.m
49
%%EXAMPLES%%share/codec2/octave/fdmdv_demod_coh.m
50
%%EXAMPLES%%share/codec2/octave/fdmdv_mod.m
51
%%EXAMPLES%%share/codec2/octave/fdmdv_sweep.m
52
%%EXAMPLES%%share/codec2/octave/fdmdv_ut.m
53
%%EXAMPLES%%share/codec2/octave/fdmdv_ut_coh.m
54
%%EXAMPLES%%share/codec2/octave/fdmdv_ut_freq_off.m
55
%%EXAMPLES%%share/codec2/octave/fm.m
56
%%EXAMPLES%%share/codec2/octave/fsk.m
57
%%EXAMPLES%%share/codec2/octave/fsk4.m
58
%%EXAMPLES%%share/codec2/octave/fuzzy_gray.m
59
%%EXAMPLES%%share/codec2/octave/gen_rn_coeffs.m
60
%%EXAMPLES%%share/codec2/octave/glottal.m
61
%%EXAMPLES%%share/codec2/octave/gmsk.m
62
%%EXAMPLES%%share/codec2/octave/hf_sim.m
63
%%EXAMPLES%%share/codec2/octave/hfper.m
64
%%EXAMPLES%%share/codec2/octave/hp_filt.m
65
%%EXAMPLES%%share/codec2/octave/ldpc.m
66
%%EXAMPLES%%share/codec2/octave/ldpcdec.m
67
%%EXAMPLES%%share/codec2/octave/ldpcenc.m
68
%%EXAMPLES%%share/codec2/octave/ldpcut.m
69
%%EXAMPLES%%share/codec2/octave/linreg.m
70
%%EXAMPLES%%share/codec2/octave/load_comp.m
71
%%EXAMPLES%%share/codec2/octave/load_raw.m
72
%%EXAMPLES%%share/codec2/octave/lpcauto.m
73
%%EXAMPLES%%share/codec2/octave/lpcpf.m
74
%%EXAMPLES%%share/codec2/octave/lsp.m
75
%%EXAMPLES%%share/codec2/octave/lsp_pdf.m
76
%%EXAMPLES%%share/codec2/octave/lspvar.m
77
%%EXAMPLES%%share/codec2/octave/lspwarp.m
78
%%EXAMPLES%%share/codec2/octave/mag_to_phase.m
79
%%EXAMPLES%%share/codec2/octave/make_hilb.m
80
%%EXAMPLES%%share/codec2/octave/make_ssbfilt.m
81
%%EXAMPLES%%share/codec2/octave/melstats.m
82
%%EXAMPLES%%share/codec2/octave/melvq.m
83
%%EXAMPLES%%share/codec2/octave/newamp.m
84
%%EXAMPLES%%share/codec2/octave/newamp_batch.m
85
%%EXAMPLES%%share/codec2/octave/newamp_fbf.m
86
%%EXAMPLES%%share/codec2/octave/phase.m
87
%%EXAMPLES%%share/codec2/octave/phase2.m
88
%%EXAMPLES%%share/codec2/octave/phasesecord.m
89
%%EXAMPLES%%share/codec2/octave/pitch_test.m
90
%%EXAMPLES%%share/codec2/octave/pl.m
91
%%EXAMPLES%%share/codec2/octave/pl2.m
92
%%EXAMPLES%%share/codec2/octave/plamp.m
93
%%EXAMPLES%%share/codec2/octave/plinterp.m
94
%%EXAMPLES%%share/codec2/octave/pllpcpf.m
95
%%EXAMPLES%%share/codec2/octave/pllsp.m
96
%%EXAMPLES%%share/codec2/octave/pllspdt.m
97
%%EXAMPLES%%share/codec2/octave/plnlp.m
98
%%EXAMPLES%%share/codec2/octave/plphase.m
99
%%EXAMPLES%%share/codec2/octave/plpitch.m
100
%%EXAMPLES%%share/codec2/octave/plppe.m
101
%%EXAMPLES%%share/codec2/octave/plsub.m
102
%%EXAMPLES%%share/codec2/octave/plvoicing.m
103
%%EXAMPLES%%share/codec2/octave/png.m
104
%%EXAMPLES%%share/codec2/octave/postfilter.m
105
%%EXAMPLES%%share/codec2/octave/pulse.m
106
%%EXAMPLES%%share/codec2/octave/qpsk.m
107
%%EXAMPLES%%share/codec2/octave/save_array_c_header.m
108
%%EXAMPLES%%share/codec2/octave/save_raw.m
109
%%EXAMPLES%%share/codec2/octave/sd.m
110
%%EXAMPLES%%share/codec2/octave/spec.m
111
%%EXAMPLES%%share/codec2/octave/tcohpsk.m
112
%%EXAMPLES%%share/codec2/octave/test_cohpsk.m
113
%%EXAMPLES%%share/codec2/octave/test_cohpsk_ch.m
114
%%EXAMPLES%%share/codec2/octave/test_dqpsk.m
115
%%EXAMPLES%%share/codec2/octave/test_dqpsk2.m
116
%%EXAMPLES%%share/codec2/octave/test_dsss.m
117
%%EXAMPLES%%share/codec2/octave/test_dsss_pilot.m
118
%%EXAMPLES%%share/codec2/octave/test_fec.m
119
%%EXAMPLES%%share/codec2/octave/test_foff.m
120
%%EXAMPLES%%share/codec2/octave/test_ftrack.m
121
%%EXAMPLES%%share/codec2/octave/test_ml.m
122
%%EXAMPLES%%share/codec2/octave/test_pilot.m
123
%%EXAMPLES%%share/codec2/octave/test_qpsk.m
124
%%EXAMPLES%%share/codec2/octave/test_qpsk2.m
125
%%EXAMPLES%%share/codec2/octave/test_qpsk3.m
126
%%EXAMPLES%%share/codec2/octave/tfdmdv.m
127
%%EXAMPLES%%share/codec2/octave/tget_spec.m
128
%%EXAMPLES%%share/codec2/octave/tlinreg.m
129
%%EXAMPLES%%share/codec2/octave/tpapr.m
130
%%EXAMPLES%%share/codec2/octave/tqpsk.m
131
%%EXAMPLES%%share/codec2/octave/trellis.m
132
%%EXAMPLES%%share/codec2/octave/twomixer.m
133
%%EXAMPLES%%share/codec2/octave/twotone.m
134
%%EXAMPLES%%share/codec2/octave/twotone1.m
135
%%EXAMPLES%%share/codec2/octave/tximage.m
136
%%EXAMPLES%%share/codec2/octave/undersample.m
137
%%EXAMPLES%%share/codec2/octave/xormixer.m
138
%%EXAMPLES%%share/codec2/raw/b0067.raw
139
%%EXAMPLES%%share/codec2/raw/cq_ref.raw
140
%%EXAMPLES%%share/codec2/raw/cross.raw
141
%%EXAMPLES%%share/codec2/raw/cross_melp2400.raw
142
%%EXAMPLES%%share/codec2/raw/f2400.raw
143
%%EXAMPLES%%share/codec2/raw/forig.raw
144
%%EXAMPLES%%share/codec2/raw/forig_ambe2000.raw
145
%%EXAMPLES%%share/codec2/raw/forig_g729a.raw
146
%%EXAMPLES%%share/codec2/raw/forig_gsm13k.raw
147
%%EXAMPLES%%share/codec2/raw/forig_speex_8k.raw
148
%%EXAMPLES%%share/codec2/raw/g3plx.raw
149
%%EXAMPLES%%share/codec2/raw/hts.raw
150
%%EXAMPLES%%share/codec2/raw/hts1.raw
151
%%EXAMPLES%%share/codec2/raw/hts1a.raw
152
%%EXAMPLES%%share/codec2/raw/hts1a_ambe2000.raw
153
%%EXAMPLES%%share/codec2/raw/hts1a_g729a.raw
154
%%EXAMPLES%%share/codec2/raw/hts1a_gsm13k.raw
155
%%EXAMPLES%%share/codec2/raw/hts1a_melp.raw
156
%%EXAMPLES%%share/codec2/raw/hts1a_speex_8k.raw
157
%%EXAMPLES%%share/codec2/raw/hts2.raw
158
%%EXAMPLES%%share/codec2/raw/hts2a.raw
159
%%EXAMPLES%%share/codec2/raw/hts2a_ambe2000.raw
160
%%EXAMPLES%%share/codec2/raw/hts2a_g729a.raw
161
%%EXAMPLES%%share/codec2/raw/hts2a_gsm13k.raw
162
%%EXAMPLES%%share/codec2/raw/hts2a_melp.raw
163
%%EXAMPLES%%share/codec2/raw/hts2a_speex_8k.raw
164
%%EXAMPLES%%share/codec2/raw/k6hx.raw
165
%%EXAMPLES%%share/codec2/raw/kristoff.raw
166
%%EXAMPLES%%share/codec2/raw/m2400.raw
167
%%EXAMPLES%%share/codec2/raw/mmt1.raw
168
%%EXAMPLES%%share/codec2/raw/mmt1_ambe2000.raw
169
%%EXAMPLES%%share/codec2/raw/mmt1_g729a.raw
170
%%EXAMPLES%%share/codec2/raw/mmt1_gsm13k.raw
171
%%EXAMPLES%%share/codec2/raw/mmt1_speex_8k.raw
172
%%EXAMPLES%%share/codec2/raw/morig.raw
173
%%EXAMPLES%%share/codec2/raw/morig_ambe2000.raw
174
%%EXAMPLES%%share/codec2/raw/morig_g729a.raw
175
%%EXAMPLES%%share/codec2/raw/morig_gsm13k.raw
176
%%EXAMPLES%%share/codec2/raw/morig_speex_8k.raw
177
%%EXAMPLES%%share/codec2/raw/sine1k_2Hz_spread.raw
178
%%EXAMPLES%%share/codec2/raw/sine1k_2ms_delay_2Hz_spread.raw
179
%%EXAMPLES%%share/codec2/raw/ve9qrp.raw
180
%%EXAMPLES%%share/codec2/raw/ve9qrp_10s.raw
181
%%EXAMPLES%%share/codec2/script/menu.sh
182
%%EXAMPLES%%share/codec2/script/playraw.sh
183
%%EXAMPLES%%share/codec2/script/raw2wav.sh
184
%%EXAMPLES%%share/codec2/script/wav2raw.sh
185
%%EXAMPLES%%share/codec2/wav/all.wav
186
%%EXAMPLES%%share/codec2/wav/cross.wav
187
%%EXAMPLES%%share/codec2/wav/cross_melp2400.wav
188
%%EXAMPLES%%share/codec2/wav/f2400.wav
189
%%EXAMPLES%%share/codec2/wav/forig.wav
190
%%EXAMPLES%%share/codec2/wav/forig_ambe2000.wav
191
%%EXAMPLES%%share/codec2/wav/forig_speex_8k.wav
192
%%EXAMPLES%%share/codec2/wav/hts1a.wav
193
%%EXAMPLES%%share/codec2/wav/hts1a_ambe2000.wav
194
%%EXAMPLES%%share/codec2/wav/hts1a_c2_v0.1.wav
195
%%EXAMPLES%%share/codec2/wav/hts1a_c2_v0.1a.wav
196
%%EXAMPLES%%share/codec2/wav/hts1a_g729a.wav
197
%%EXAMPLES%%share/codec2/wav/hts1a_lpc10.wav
198
%%EXAMPLES%%share/codec2/wav/hts1a_speex_8k.wav
199
%%EXAMPLES%%share/codec2/wav/hts2a.wav
200
%%EXAMPLES%%share/codec2/wav/hts2a_ambe2000.wav
201
%%EXAMPLES%%share/codec2/wav/hts2a_c2_v0.1.wav
202
%%EXAMPLES%%share/codec2/wav/hts2a_c2_v0.1a.wav
203
%%EXAMPLES%%share/codec2/wav/hts2a_g729a.wav
204
%%EXAMPLES%%share/codec2/wav/hts2a_lpc10.wav
205
%%EXAMPLES%%share/codec2/wav/hts2a_speex_8k.wav
206
%%EXAMPLES%%share/codec2/wav/m2400.wav
207
%%EXAMPLES%%share/codec2/wav/mmt1.wav
208
%%EXAMPLES%%share/codec2/wav/mmt1_ambe2000.wav
209
%%EXAMPLES%%share/codec2/wav/mmt1_c2_v01a.wav
210
%%EXAMPLES%%share/codec2/wav/mmt1_lpc10.wav
211
%%EXAMPLES%%share/codec2/wav/mmt1_speex_8k.wav
212
%%EXAMPLES%%share/codec2/wav/morig.wav
213
%%EXAMPLES%%share/codec2/wav/morig_ambe2000.wav
214
%%EXAMPLES%%share/codec2/wav/morig_speex_8k.wav
215
%%EXAMPLES%%share/codec2/wav/ve9qrp.wav
216
%%EXAMPLES%%share/codec2/wav/vk5qi.wav
217
%%EXAMPLES%%share/codec2/wav/x200_ext.wav
218
%%EXAMPLES%%share/codec2/wav/x200_int.wav
219
%%TEST%%bin/c2validate
220
%%TEST%%bin/cohpsk_ch
221
%%TEST%%bin/cohpsk_demod
222
%%TEST%%bin/cohpsk_get_test_bits
223
%%TEST%%bin/cohpsk_mod
224
%%TEST%%bin/cohpsk_put_test_bits
225
%%TEST%%bin/create_interleaver
226
%%TEST%%bin/de
227
%%TEST%%bin/extract
228
%%TEST%%bin/fdmdv_channel
229
%%TEST%%bin/fdmdv_mem
230
%%TEST%%bin/freedv_rx
231
%%TEST%%bin/freedv_tx
232
%%TEST%%bin/genampdata
233
%%TEST%%bin/generate_codebook
234
%%TEST%%bin/genlsp
235
%%TEST%%bin/genlspdtcb
236
%%TEST%%bin/genphdata
237
%%TEST%%bin/genres
238
%%TEST%%bin/lspsync
239
%%TEST%%bin/polar2rect
240
%%TEST%%bin/pre
241
%%TEST%%bin/raw2h
242
%%TEST%%bin/scalarlsptest
243
%%TEST%%bin/speexnoisesup
244
%%TEST%%bin/t16_8
245
%%TEST%%bin/t16_8_short
246
%%TEST%%bin/tcohpsk
247
%%TEST%%bin/test_cohpsk_ch
248
%%TEST%%bin/tfdmdv
249
%%TEST%%bin/tfifo
250
%%TEST%%bin/tinterp
251
%%TEST%%bin/tlspsens
252
%%TEST%%bin/tnlp
253
%%TEST%%bin/tprede
254
%%TEST%%bin/tquant
255
%%TEST%%bin/vq_train_jvm
256
%%TEST%%bin/vqtrain
257
%%TEST%%bin/vqtrainjnd
258
%%TEST%%bin/vqtrainph
259
%%TEST%%bin/vqtrainsp

Return to bug 210186