pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc ham/lpcnetfreedv: new package to support freedv



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b32fdd80d6e
branches:  trunk
changeset: 442754:0b32fdd80d6e
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Sun Nov 29 23:12:43 2020 +0000

description:
ham/lpcnetfreedv: new package to support freedv

diffstat:

 doc/CHANGES-2020               |   3 ++-
 ham/Makefile                   |   3 ++-
 ham/lpcnetfreedv/DESCR         |  13 +++++++++++++
 ham/lpcnetfreedv/Makefile      |  37 +++++++++++++++++++++++++++++++++++++
 ham/lpcnetfreedv/PLIST         |   7 +++++++
 ham/lpcnetfreedv/buildlink3.mk |  15 +++++++++++++++
 ham/lpcnetfreedv/distinfo      |  10 ++++++++++
 7 files changed, 86 insertions(+), 2 deletions(-)

diffs (133 lines):

diff -r 6c11a97f6043 -r 0b32fdd80d6e doc/CHANGES-2020
--- a/doc/CHANGES-2020  Sun Nov 29 23:10:24 2020 +0000
+++ b/doc/CHANGES-2020  Sun Nov 29 23:12:43 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2020,v 1.6481 2020/11/29 23:10:24 dbj Exp $
+$NetBSD: CHANGES-2020,v 1.6482 2020/11/29 23:12:43 dbj Exp $
 
 Changes to the packages collection and infrastructure in 2020:
 
@@ -9453,3 +9453,4 @@
        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]
+       Added ham/lpcnetfreedv-0.2 [dbj 2020-11-29]
diff -r 6c11a97f6043 -r 0b32fdd80d6e ham/Makefile
--- a/ham/Makefile      Sun Nov 29 23:10:24 2020 +0000
+++ b/ham/Makefile      Sun Nov 29 23:12:43 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2020/08/30 08:40:33 tnn Exp $
+# $NetBSD: Makefile,v 1.48 2020/11/29 23:12:43 dbj Exp $
 #
 
 COMMENT=       Wireless communication tools and applications
@@ -39,6 +39,7 @@
 SUBDIR+=       kalibrate-rtl
 SUBDIR+=       libmirisdr
 SUBDIR+=       locator
+SUBDIR+=       lpcnetfreedv
 SUBDIR+=       nec2c
 SUBDIR+=       osmo-sdr
 SUBDIR+=       predict
diff -r 6c11a97f6043 -r 0b32fdd80d6e ham/lpcnetfreedv/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/lpcnetfreedv/DESCR    Sun Nov 29 23:12:43 2020 +0000
@@ -0,0 +1,13 @@
+Experimental version of LPCNet that has been used to develop FreeDV
+2020 - a HF radio Digial Voice mode for over the air experimentation
+with Neural Net speech coding. Possibly the first use of Neural Net
+speech coding in real world operation.
+
+From https://people.xiph.org/~jm/demo/lpcnet/ :
+
+Work in progress software for researching low CPU complexity
+algorithms for speech synthesis and compression by applying Linear
+Prediction techniques to WaveRNN. High quality speech can be
+synthesised on regular CPUs (around 3 GFLOP) with SIMD support (AVX,
+AVX2/FMA, NEON currently supported). The code also supports very low
+bitrate compression at 1.6 kb/s.
diff -r 6c11a97f6043 -r 0b32fdd80d6e ham/lpcnetfreedv/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/lpcnetfreedv/Makefile Sun Nov 29 23:12:43 2020 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2020/11/29 23:12:43 dbj Exp $
+
+# https://github.com/drowe67/LPCNet/archive/v0.2.tar.gz
+# http://rowetel.com/downloads/deep/lpcnet_191005_v1.0.tgz
+DISTNAME=      lpcnetfreedv-0.2
+CATEGORIES=    ham
+NNDISTFILE=    lpcnet_191005_v1.0.tgz
+DISTFILES=     ${DEFAULT_DISTFILES} ${NNDISTFILE}
+SITES.${NNDISTFILE}=   http://rowetel.com/downloads/deep/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=drowe67/}
+GITHUB_PROJECT=        LPCNet
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    dbj%NetBSD.org@localhost
+#HOMEPAGE=     https://people.xiph.org/~jm/demo/lpcnet/
+HOMEPAGE=      https://github.com/drowe67/LPCNet
+COMMENT=       LPCNet library for use by FreeDV
+LICENSE=       modified-bsd
+
+USE_LANGUAGES= c
+USE_TOOLS+=    tar pkg-config
+
+WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+
+USE_CMAKE=     yes
+CONFIGURE_DIRS=        build
+CMAKE_ARG_PATH=        ..
+CMAKE_ARGS+=    -DDISABLE_CPU_OPTIMIZATION=TRUE
+#CMAKE_ARGS+=    -DAVX2=1 -DAVX=1
+#CMAKE_ARGS+=    -DNEON=1
+
+pre-configure:
+       ${MKDIR} ${WRKSRC}/build
+       ${CP} ${DISTDIR}/${NNDISTFILE} ${WRKSRC}/build/
+
+.include "../../ham/codec2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6c11a97f6043 -r 0b32fdd80d6e ham/lpcnetfreedv/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/lpcnetfreedv/PLIST    Sun Nov 29 23:12:43 2020 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2020/11/29 23:12:43 dbj Exp $
+bin/lpcnet_dec
+bin/lpcnet_enc
+include/lpcnet/lpcnet_freedv.h
+lib/cmake/lpcnetfreedv/lpcnetfreedv-config-noconfig.cmake
+lib/cmake/lpcnetfreedv/lpcnetfreedv-config.cmake
+lib/liblpcnetfreedv.so
diff -r 6c11a97f6043 -r 0b32fdd80d6e ham/lpcnetfreedv/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/lpcnetfreedv/buildlink3.mk    Sun Nov 29 23:12:43 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/11/29 23:12:43 dbj Exp $
+
+BUILDLINK_TREE+=       lpcnetfreedv
+
+.if !defined(LPCNETFREEDV_BUILDLINK3_MK)
+LPCNETFREEDV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lpcnetfreedv+=   lpcnetfreedv>=0.2
+BUILDLINK_PKGSRCDIR.lpcnetfreedv?=     ../../ham/lpcnetfreedv
+
+BUILDLINK_INCDIRS.lpcnetfreedv+=       include/lpcnet
+
+.endif # LPCNETFREEDV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -lpcnetfreedv
diff -r 6c11a97f6043 -r 0b32fdd80d6e ham/lpcnetfreedv/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/ham/lpcnetfreedv/distinfo Sun Nov 29 23:12:43 2020 +0000
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1 2020/11/29 23:12:43 dbj Exp $
+
+SHA1 (lpcnet_191005_v1.0.tgz) = 9e588a52b56aed7c0909cab802207b37311fbb21
+RMD160 (lpcnet_191005_v1.0.tgz) = 2f99dc863a508aa3e0eebed0b8db0bfb5b7f1898
+SHA512 (lpcnet_191005_v1.0.tgz) = ffa52c492f2ef1ca09c34b321b36d9dd26f6d3a2e807f4601858b45a1c6159b45b846bfaf3d37c74acead955c0ad47c2d06cb08b8347d5ec441cd751f2110167
+Size (lpcnet_191005_v1.0.tgz) = 18396516 bytes
+SHA1 (lpcnetfreedv-0.2.tar.gz) = 2b1128c4f9805d0776d748d4b12910cadd96b0f5
+RMD160 (lpcnetfreedv-0.2.tar.gz) = 85f989b6f364420887f9e13ae3e4a8669541862b
+SHA512 (lpcnetfreedv-0.2.tar.gz) = 3fa581512b7431bf4df41a0abc0c4f2b262d57f1bf4756dfb23c774393dccd90bb9f7f874e5192aaabd17ed780007602f363d545d3cfb53bb9ee7022ed4a966c
+Size (lpcnetfreedv-0.2.tar.gz) = 33010807 bytes



Home | Main Index | Thread Index | Old Index