New port: audio/codec2

Codec2 is an open source low bit rate speech codec designed for
communications quality speech at 2400 bit/s and below. Applications
include low bandwidth HF/VHF digital radio and VOIP trunking. Codec 2
operating at 2400 bit/s can send 26 phone calls using the bandwidth
required for one 64 kbit/s uncompressed phone call. It fills a gap in
open source, free-as-in-speech voice codecs beneath 5000 bit/s and
is released under the GNU Lesser General Public License (LGPL).

WWW: http://www.rowetel.com/blog/?page_id=452
This commit is contained in:
Stephen Hurd
2015-12-15 05:30:07 +00:00
parent 8509e9940c
commit 2ff7cdda58
5 changed files with 60 additions and 0 deletions

View File

@@ -74,6 +74,7 @@
SUBDIR += cmp3
SUBDIR += cmt
SUBDIR += cmus
SUBDIR += codec2
SUBDIR += cpige
SUBDIR += cplay
SUBDIR += cpp-xmms2

19
audio/codec2/Makefile Normal file
View File

@@ -0,0 +1,19 @@
# $FreeBSD$
PORTNAME= codec2
PORTVERSION= 0.5
CATEGORIES= audio hamradio
MASTER_SITES= http://files.freedv.org/codec2/ \
LOCAL/shurd
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Low bit rate codec
LIB_DEPENDS= libspeex.so:${PORTSDIR}/audio/speex
USES= cmake:outsource compiler:c11 tar:xz
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON
USE_LDCONFIG= yes
.include <bsd.port.mk>

2
audio/codec2/distinfo Normal file
View File

@@ -0,0 +1,2 @@
SHA256 (codec2-0.5.tar.xz) = 1ffda04ec6629f5ad5a38349c6d9d38d29bfbc1c677c12014ff20d480a343f17
SIZE (codec2-0.5.tar.xz) = 7845164

10
audio/codec2/pkg-descr Normal file
View File

@@ -0,0 +1,10 @@
Codec2 is an open source low bit rate speech codec designed for
communications quality speech at 2400 bit/s and below. Applications
include low bandwidth HF/VHF digital radio and VOIP trunking. Codec 2
operating at 2400 bit/s can send 26 phone calls using the bandwidth
required for one 64 kbit/s uncompressed phone call. It fills a gap in
open source, free-as-in-speech voice codecs beneath 5000 bit/s and
is released under the GNU Lesser General Public License (LGPL).
WWW: http://www.rowetel.com/blog/?page_id=452

28
audio/codec2/pkg-plist Normal file
View File

@@ -0,0 +1,28 @@
bin/c2dec
bin/c2demo
bin/c2enc
bin/c2sim
bin/fdmdv_demod
bin/fdmdv_get_test_bits
bin/fdmdv_interleave
bin/fdmdv_mod
bin/fdmdv_put_test_bits
bin/fec_dec
bin/fec_enc
bin/fm_demod
bin/insert_errors
include/codec2/codec2.h
include/codec2/codec2_cohpsk.h
include/codec2/codec2_fdmdv.h
include/codec2/codec2_fifo.h
include/codec2/codec2_fm.h
include/codec2/comp.h
include/codec2/comp_prim.h
include/codec2/freedv_api.h
include/codec2/freedv_api_internal.h
include/codec2/golay23.h
include/codec2/kiss_fft.h
include/codec2/modem_stats.h
include/codec2/varicode.h
lib/libcodec2.so
lib/libcodec2.so.0.5