From 16888da722397abac6026038321d7265f5ec3c44 Mon Sep 17 00:00:00 2001 From: dbj Date: Tue, 19 Jan 2016 04:02:07 +0000 Subject: update to codec2-0.5 --- ham/codec2/Makefile | 15 +++++---------- ham/codec2/PLIST | 13 +++++++++++-- ham/codec2/buildlink3.mk | 7 +++++-- ham/codec2/distinfo | 10 +++++----- 4 files changed, 26 insertions(+), 19 deletions(-) (limited to 'ham/codec2') diff --git a/ham/codec2/Makefile b/ham/codec2/Makefile index 6367f209c5c..fe08b013255 100644 --- a/ham/codec2/Makefile +++ b/ham/codec2/Makefile @@ -1,12 +1,10 @@ -# $NetBSD: Makefile,v 1.1 2014/07/21 07:30:50 dbj Exp $ +# $NetBSD: Makefile,v 1.2 2016/01/19 04:02:07 dbj Exp $ # -DISTNAME= codec2-0.3.0.1698 -WRKSRC= ${WRKDIR}/codec2 +DISTNAME= codec2-0.5 CATEGORIES= ham -# svn://svn.code.sf.net/p/freetel/code/codec2-dev -MASTER_SITES= ${MASTER_SITE_LOCAL} -EXTRACT_SUFX= .tgz +MASTER_SITES= http://files.freedv.org/codec2/ +EXTRACT_SUFX= .tar.xz MAINTAINER= dbj@NetBSD.org HOMEPAGE= http://rowetel.com/codec2.html @@ -14,10 +12,7 @@ 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_LANGUAGES= c USE_CMAKE=yes CONFIGURE_DIRS=build diff --git a/ham/codec2/PLIST b/ham/codec2/PLIST index 00ef8c91ded..92d5883361e 100644 --- a/ham/codec2/PLIST +++ b/ham/codec2/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2014/08/01 06:13:46 dbj Exp $ +@comment $NetBSD: PLIST,v 1.4 2016/01/19 04:02:07 dbj Exp $ bin/c2dec bin/c2demo bin/c2enc @@ -10,11 +10,20 @@ 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.3 +lib/libcodec2.so.0.5 diff --git a/ham/codec2/buildlink3.mk b/ham/codec2/buildlink3.mk index b44c96f3e0f..cccdb3877fe 100644 --- a/ham/codec2/buildlink3.mk +++ b/ham/codec2/buildlink3.mk @@ -1,12 +1,15 @@ -# $NetBSD: buildlink3.mk,v 1.1 2014/07/21 07:30:50 dbj Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2016/01/19 04:02:07 dbj Exp $ BUILDLINK_TREE+= codec2 .if !defined(CODEC2_BUILDLINK3_MK) CODEC2_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.codec2+= codec2>=0.3.0.1698 +BUILDLINK_API_DEPENDS.codec2+= codec2>=0.5 BUILDLINK_PKGSRCDIR.codec2?= ../../ham/codec2 + +BUILDLINK_INCDIRS.codec2+= include/codec2 + .endif # CODEC2_BUILDLINK3_MK BUILDLINK_TREE+= -codec2 diff --git a/ham/codec2/distinfo b/ham/codec2/distinfo index 581e9cebbac..2d03dfecbb4 100644 --- a/ham/codec2/distinfo +++ b/ham/codec2/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2015/11/02 23:57:23 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/01/19 04:02:07 dbj Exp $ -SHA1 (codec2-0.3.0.1698.tgz) = 18ea4e0d0348f8ce9eaece578e34626bbd4bfd02 -RMD160 (codec2-0.3.0.1698.tgz) = 3babc819ae69b5b246fb8ba04f84fc5958831e76 -SHA512 (codec2-0.3.0.1698.tgz) = 118a7b741bdf10547952dbde37c3c68f65e3b4e0ae5bbd9b37b31352272af674d7733ffb4a45cef1bde52a4b342cc82ce8175bf16a2c8d634f9c548ed1f06499 -Size (codec2-0.3.0.1698.tgz) = 12149601 bytes +SHA1 (codec2-0.5.tar.xz) = 9865802c9e7496f228eacc97549f9684ff8e77ca +RMD160 (codec2-0.5.tar.xz) = dd948d185412c1dcb4157415ea8b7056f3895837 +SHA512 (codec2-0.5.tar.xz) = 7543142b48a41ad077ba3fa6d4cdd301f9d24e82147f87d048dad9eb471631cd2d97310d2446ffa6efe64c165a17c5b5e7bb1e242e67ec094a6f01c50771b5da +Size (codec2-0.5.tar.xz) = 7845164 bytes -- cgit v1.2.3