pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc ham/codec2: update to 0.9.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c11a97f6043
branches:  trunk
changeset: 442753:6c11a97f6043
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Sun Nov 29 23:10:24 2020 +0000

description:
ham/codec2: update to 0.9.2

diffstat:

 doc/CHANGES-2020         |   3 ++-
 ham/codec2/DESCR         |  12 +++++-------
 ham/codec2/Makefile      |  18 +++++++++++++-----
 ham/codec2/PLIST         |  20 +++++++++++++-------
 ham/codec2/buildlink3.mk |   4 ++--
 ham/codec2/distinfo      |  10 +++++-----
 6 files changed, 40 insertions(+), 27 deletions(-)

diffs (148 lines):

diff -r 9cf3303fcebe -r 6c11a97f6043 doc/CHANGES-2020
--- a/doc/CHANGES-2020  Sun Nov 29 22:46:02 2020 +0000
+++ b/doc/CHANGES-2020  Sun Nov 29 23:10:24 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2020,v 1.6480 2020/11/29 21:58:03 dbj Exp $
+$NetBSD: CHANGES-2020,v 1.6481 2020/11/29 23:10:24 dbj Exp $
 
 Changes to the packages collection and infrastructure in 2020:
 
@@ -9452,3 +9452,4 @@
        Added x11/unibar version 0.1.3 [pin 2020-11-29]
        Updated shells/oksh to 6.8.1 [schmonz 2020-11-29]
        Updated sysutils/ddrescue to 1.25 [dbj 2020-11-29]
+       Updated ham/codec2 to 0.9.2 [dbj 2020-11-29]
diff -r 9cf3303fcebe -r 6c11a97f6043 ham/codec2/DESCR
--- a/ham/codec2/DESCR  Sun Nov 29 22:46:02 2020 +0000
+++ b/ham/codec2/DESCR  Sun Nov 29 23:10:24 2020 +0000
@@ -1,7 +1,5 @@
-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).
+Codec 2 is an open source speech codec designed for communications
+quality speech between 700 and 3200 bit/s. The main application is low
+bandwidth HF/VHF digital radio. It fills a gap in open source voice
+codecs beneath 5000 bit/s and is released under the GNU Lesser General
+Public License (LGPL).
diff -r 9cf3303fcebe -r 6c11a97f6043 ham/codec2/Makefile
--- a/ham/codec2/Makefile       Sun Nov 29 22:46:02 2020 +0000
+++ b/ham/codec2/Makefile       Sun Nov 29 23:10:24 2020 +0000
@@ -1,14 +1,15 @@
-# $NetBSD: Makefile,v 1.5 2020/01/26 17:31:24 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/11/29 23:10:25 dbj Exp $
 #
 
-DISTNAME=      codec2-0.5.1
+# https://github.com/drowe67/codec2/archive/v0.9.2.tar.gz
+DISTNAME=      codec2-0.9.2
 CATEGORIES=    ham
-MASTER_SITES=  http://files.freedv.org/codec2/
-EXTRACT_SUFX=  .tar.xz
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=drowe67/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    dbj%NetBSD.org@localhost
 HOMEPAGE=      https://rowetel.com/codec2.html
-COMMENT=       Speech codec for 2400 bit/s and below
+COMMENT=       Speech codec for between 700 and 3200 bit/s
 
 LICENSE=       gnu-lgpl-v2.1
 
@@ -17,8 +18,15 @@
 USE_CMAKE=     yes
 CONFIGURE_DIRS=        build
 CMAKE_ARG_PATH=        ..
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
 
 pre-configure:
        cd ${WRKSRC} && mkdir build
 
+# XXX this creates a circular dependency between
+# lpcnetfreedv and codec2 that requires bootstrapping
+# and causes problems with pkg tools once created.
+#CMAKE_ARGS+=  -DLPCNET=ON
+#.include "../../ham/lpcnetfreedv/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"
diff -r 9cf3303fcebe -r 6c11a97f6043 ham/codec2/PLIST
--- a/ham/codec2/PLIST  Sun Nov 29 22:46:02 2020 +0000
+++ b/ham/codec2/PLIST  Sun Nov 29 23:10:24 2020 +0000
@@ -1,29 +1,35 @@
-@comment $NetBSD: PLIST,v 1.4 2016/01/19 04:02:07 dbj Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/11/29 23:10:25 dbj Exp $
 bin/c2dec
-bin/c2demo
 bin/c2enc
-bin/c2sim
+bin/drs232
+bin/drs232_ldpc
 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/fsk_mod
 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/codec2_ofdm.h
 include/codec2/comp.h
 include/codec2/comp_prim.h
+include/codec2/filter.h
 include/codec2/freedv_api.h
 include/codec2/freedv_api_internal.h
+include/codec2/fsk.h
 include/codec2/golay23.h
+include/codec2/horus_api.h
 include/codec2/kiss_fft.h
 include/codec2/modem_stats.h
 include/codec2/varicode.h
+include/codec2/version.h
+lib/cmake/codec2/codec2-config-release.cmake
+lib/cmake/codec2/codec2-config.cmake
 lib/libcodec2.so
-lib/libcodec2.so.0.5
+lib/libcodec2.so.0.9
+lib/pkgconfig/codec2.pc
diff -r 9cf3303fcebe -r 6c11a97f6043 ham/codec2/buildlink3.mk
--- a/ham/codec2/buildlink3.mk  Sun Nov 29 22:46:02 2020 +0000
+++ b/ham/codec2/buildlink3.mk  Sun Nov 29 23:10:24 2020 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.2 2016/01/19 04:02:07 dbj Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2020/11/29 23:10:25 dbj Exp $
 
 BUILDLINK_TREE+=       codec2
 
 .if !defined(CODEC2_BUILDLINK3_MK)
 CODEC2_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.codec2+= codec2>=0.5
+BUILDLINK_API_DEPENDS.codec2+= codec2>=0.9.2
 BUILDLINK_PKGSRCDIR.codec2?=   ../../ham/codec2
 
 BUILDLINK_INCDIRS.codec2+=     include/codec2
diff -r 9cf3303fcebe -r 6c11a97f6043 ham/codec2/distinfo
--- a/ham/codec2/distinfo       Sun Nov 29 22:46:02 2020 +0000
+++ b/ham/codec2/distinfo       Sun Nov 29 23:10:24 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2016/09/19 09:27:57 mef Exp $
+$NetBSD: distinfo,v 1.5 2020/11/29 23:10:25 dbj Exp $
 
-SHA1 (codec2-0.5.1.tar.xz) = dcac0544048787a07a891e71c77fbf9ae3d78aca
-RMD160 (codec2-0.5.1.tar.xz) = ed6c2474231e64c905d320751d5b4432cd6bf0a4
-SHA512 (codec2-0.5.1.tar.xz) = 2ddfe2ef3dc89bd440a9861ed0d7b43a0be126712b18c29e40a6044da1b6a2cec508e0f40cb1d90fb8d4710646fa13606820f016a040cd147c84c44600b22cd9
-Size (codec2-0.5.1.tar.xz) = 7862968 bytes
+SHA1 (codec2-0.9.2.tar.gz) = 5ff524082a508d123df9f0951349c96a62235a62
+RMD160 (codec2-0.9.2.tar.gz) = 5b0fa0e72b56b5ddc432c5809ef8693ee5047860
+SHA512 (codec2-0.9.2.tar.gz) = 30a2eb95f7b0f47f0c0c7f08c9118f089acc32adf8b27f5b4354c89139efe80607d6d0ca5e0a9eefddf3640f02c483b9c804ad52c5dec6295968b7267f3a716c
+Size (codec2-0.9.2.tar.gz) = 12244006 bytes



Home | Main Index | Thread Index | Old Index