diff options
author | dbj <dbj@pkgsrc.org> | 2014-07-21 07:30:50 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2014-07-21 07:30:50 +0000 |
commit | c71470694fb1781df72d867af5887b49b2e2f3f4 (patch) | |
tree | 77c3f74fd002fe53d708c31635c3c0031d3a507f /ham | |
parent | b4f03947670c8bce221371b8e7ca81bd7684e710 (diff) | |
download | pkgsrc-c71470694fb1781df72d867af5887b49b2e2f3f4.tar.gz |
import codec2 from the freedv project at http://freedv.org/
Diffstat (limited to 'ham')
-rw-r--r-- | ham/Makefile | 4 | ||||
-rw-r--r-- | ham/codec2/DESCR | 7 | ||||
-rw-r--r-- | ham/codec2/Makefile | 29 | ||||
-rw-r--r-- | ham/codec2/PLIST | 20 | ||||
-rw-r--r-- | ham/codec2/buildlink3.mk | 12 | ||||
-rw-r--r-- | ham/codec2/distinfo | 5 |
6 files changed, 75 insertions, 2 deletions
diff --git a/ham/Makefile b/ham/Makefile index 5d90291fa65..ee15a78af25 100644 --- a/ham/Makefile +++ b/ham/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.27 2013/09/13 08:49:48 mef Exp $ +# $NetBSD: Makefile,v 1.28 2014/07/21 07:30:50 dbj Exp $ # COMMENT= Wireless communication tools and applications - SUBDIR+= 7plus +SUBDIR+= codec2 SUBDIR+= cwtext SUBDIR+= dpbox SUBDIR+= fl_logbook diff --git a/ham/codec2/DESCR b/ham/codec2/DESCR new file mode 100644 index 00000000000..212b186d6b9 --- /dev/null +++ b/ham/codec2/DESCR @@ -0,0 +1,7 @@ +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). diff --git a/ham/codec2/Makefile b/ham/codec2/Makefile new file mode 100644 index 00000000000..6367f209c5c --- /dev/null +++ b/ham/codec2/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2014/07/21 07:30:50 dbj Exp $ +# + +DISTNAME= codec2-0.3.0.1698 +WRKSRC= ${WRKDIR}/codec2 +CATEGORIES= ham +# svn://svn.code.sf.net/p/freetel/code/codec2-dev +MASTER_SITES= ${MASTER_SITE_LOCAL} +EXTRACT_SUFX= .tgz + +MAINTAINER= dbj@NetBSD.org +HOMEPAGE= http://rowetel.com/codec2.html +COMMENT= Speech codec for 2400 bit/s and below + +LICENSE= gnu-lgpl-v2.1 + +# This package doesn't really use c++, but cmake probes for it +# causing the configure to fail unless we declare it here. Maybe +# there is a way to tell cmake to not require c++ +USE_LANGUAGES= c c++ + +USE_CMAKE=yes +CONFIGURE_DIRS=build +CMAKE_ARG_PATH=.. + +pre-configure: + cd ${WRKSRC} && mkdir build + +.include "../../mk/bsd.pkg.mk" diff --git a/ham/codec2/PLIST b/ham/codec2/PLIST new file mode 100644 index 00000000000..2baf6f39851 --- /dev/null +++ b/ham/codec2/PLIST @@ -0,0 +1,20 @@ +@comment $NetBSD: PLIST,v 1.1 2014/07/21 07:30:50 dbj Exp $ +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/insert_errors +include/codec2/codec2.h +include/codec2/codec2_fdmdv.h +include/codec2/codec2_fifo.h +include/codec2/comp.h +include/codec2/golay23.h +lib/libcodec2.so +lib/libcodec2.0.3.so diff --git a/ham/codec2/buildlink3.mk b/ham/codec2/buildlink3.mk new file mode 100644 index 00000000000..b44c96f3e0f --- /dev/null +++ b/ham/codec2/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/07/21 07:30:50 dbj Exp $ + +BUILDLINK_TREE+= codec2 + +.if !defined(CODEC2_BUILDLINK3_MK) +CODEC2_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.codec2+= codec2>=0.3.0.1698 +BUILDLINK_PKGSRCDIR.codec2?= ../../ham/codec2 +.endif # CODEC2_BUILDLINK3_MK + +BUILDLINK_TREE+= -codec2 diff --git a/ham/codec2/distinfo b/ham/codec2/distinfo new file mode 100644 index 00000000000..933f8bfe410 --- /dev/null +++ b/ham/codec2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/07/21 07:30:50 dbj Exp $ + +SHA1 (codec2-0.3.0.1698.tgz) = 18ea4e0d0348f8ce9eaece578e34626bbd4bfd02 +RMD160 (codec2-0.3.0.1698.tgz) = 3babc819ae69b5b246fb8ba04f84fc5958831e76 +Size (codec2-0.3.0.1698.tgz) = 12149601 bytes |