pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   dbj
Date:           Sun Nov 29 23:12:43 UTC 2020

Modified Files:
        pkgsrc/doc: CHANGES-2020
        pkgsrc/ham: Makefile
Added Files:
        pkgsrc/ham/lpcnetfreedv: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
ham/lpcnetfreedv: new package to support freedv


To generate a diff of this commit:
cvs rdiff -u -r1.6481 -r1.6482 pkgsrc/doc/CHANGES-2020
cvs rdiff -u -r1.47 -r1.48 pkgsrc/ham/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/ham/lpcnetfreedv/DESCR \
    pkgsrc/ham/lpcnetfreedv/Makefile pkgsrc/ham/lpcnetfreedv/PLIST \
    pkgsrc/ham/lpcnetfreedv/buildlink3.mk pkgsrc/ham/lpcnetfreedv/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/doc/CHANGES-2020
diff -u pkgsrc/doc/CHANGES-2020:1.6481 pkgsrc/doc/CHANGES-2020:1.6482
--- pkgsrc/doc/CHANGES-2020:1.6481      Sun Nov 29 23:10:24 2020
+++ pkgsrc/doc/CHANGES-2020     Sun Nov 29 23:12:43 2020
@@ -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 @@ Changes to the packages collection and i
        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]

Index: pkgsrc/ham/Makefile
diff -u pkgsrc/ham/Makefile:1.47 pkgsrc/ham/Makefile:1.48
--- pkgsrc/ham/Makefile:1.47    Sun Aug 30 08:40:33 2020
+++ pkgsrc/ham/Makefile Sun Nov 29 23:12:43 2020
@@ -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-hackrf
 SUBDIR+=       kalibrate-rtl
 SUBDIR+=       libmirisdr
 SUBDIR+=       locator
+SUBDIR+=       lpcnetfreedv
 SUBDIR+=       nec2c
 SUBDIR+=       osmo-sdr
 SUBDIR+=       predict

Added files:

Index: pkgsrc/ham/lpcnetfreedv/DESCR
diff -u /dev/null pkgsrc/ham/lpcnetfreedv/DESCR:1.1
--- /dev/null   Sun Nov 29 23:12:43 2020
+++ pkgsrc/ham/lpcnetfreedv/DESCR       Sun Nov 29 23:12:43 2020
@@ -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.
Index: pkgsrc/ham/lpcnetfreedv/Makefile
diff -u /dev/null pkgsrc/ham/lpcnetfreedv/Makefile:1.1
--- /dev/null   Sun Nov 29 23:12:43 2020
+++ pkgsrc/ham/lpcnetfreedv/Makefile    Sun Nov 29 23:12:43 2020
@@ -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"
Index: pkgsrc/ham/lpcnetfreedv/PLIST
diff -u /dev/null pkgsrc/ham/lpcnetfreedv/PLIST:1.1
--- /dev/null   Sun Nov 29 23:12:43 2020
+++ pkgsrc/ham/lpcnetfreedv/PLIST       Sun Nov 29 23:12:43 2020
@@ -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
Index: pkgsrc/ham/lpcnetfreedv/buildlink3.mk
diff -u /dev/null pkgsrc/ham/lpcnetfreedv/buildlink3.mk:1.1
--- /dev/null   Sun Nov 29 23:12:43 2020
+++ pkgsrc/ham/lpcnetfreedv/buildlink3.mk       Sun Nov 29 23:12:43 2020
@@ -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
Index: pkgsrc/ham/lpcnetfreedv/distinfo
diff -u /dev/null pkgsrc/ham/lpcnetfreedv/distinfo:1.1
--- /dev/null   Sun Nov 29 23:12:43 2020
+++ pkgsrc/ham/lpcnetfreedv/distinfo    Sun Nov 29 23:12:43 2020
@@ -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