Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2015 09:25:26 +0000 (UTC)
From:      Stephen Hurd <shurd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403766 - in head/comms: . freedv freedv/files
Message-ID:  <201512150925.tBF9PQLW070746@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: shurd
Date: Tue Dec 15 09:25:26 2015
New Revision: 403766
URL: https://svnweb.freebsd.org/changeset/ports/403766

Log:
  New port: comms/freedv
  
  FreeDV is a Digital Voice mode for HF radio. FreeDV allows any SSB radio
  to be used for low bit rate digital voice. Speech is compressed down to
  700-1600 bit/s then modulated onto a 1.25 kHz wide signal comprised of
  16 QPSK carriers which is sent to the Mic input of a SSB radio. The signal
  is received by an SSB radio, then demodulated and decoded by FreeDV. FreeDV
  700(B) rivals SSB in it's low SNR performance. At high SNRs FreeDV 1600
  sounds like FM, with no annoying analog HF radio noise.
  
  WWW: http://freedv.org/tiki-index.php

Added:
  head/comms/freedv/
  head/comms/freedv/Makefile   (contents, props changed)
  head/comms/freedv/distinfo   (contents, props changed)
  head/comms/freedv/files/
  head/comms/freedv/files/patch-CMakeLists.txt   (contents, props changed)
  head/comms/freedv/pkg-descr   (contents, props changed)
  head/comms/freedv/pkg-plist   (contents, props changed)
Modified:
  head/comms/Makefile

Modified: head/comms/Makefile
==============================================================================
--- head/comms/Makefile	Tue Dec 15 08:18:30 2015	(r403765)
+++ head/comms/Makefile	Tue Dec 15 09:25:26 2015	(r403766)
@@ -45,6 +45,7 @@
     SUBDIR += fllog
     SUBDIR += flrig
     SUBDIR += flwrap
+    SUBDIR += freedv
     SUBDIR += gammu
     SUBDIR += ge-x2212
     SUBDIR += geoid

Added: head/comms/freedv/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/freedv/Makefile	Tue Dec 15 09:25:26 2015	(r403766)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	freedv
+PORTVERSION=	1.1
+CATEGORIES=	comms hamradio
+MASTER_SITES=	http://files.freedv.org/freedv/ \
+		LOCAL/shurd
+
+MAINTAINER=	hamradio@FreeBSD.org
+COMMENT=	Narrow band digital voice
+
+LIB_DEPENDS=	libcodec2.so:${PORTSDIR}/audio/codec2 \
+		libportaudio.so:${PORTSDIR}/audio/portaudio \
+		libhamlib.so:${PORTSDIR}/comms/hamlib \
+		libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
+		libsox.so:${PORTSDIR}/audio/sox \
+		libsndfile.so:${PORTSDIR}/audio/libsndfile \
+		libspeexdsp.so:${PORTSDIR}/audio/speex
+
+USE_WX=		3.0+
+USES=		cmake:outsource compiler:c++11-lib tar:xz
+CMAKE_ARGS+=	-DCODEC2_INCLUDE_DIRS=${LOCALBASE}/include/codec2 \
+		-DCODEC2_LIBRARY=${LOCALBASE}/lib/libcodec2.so \
+		-DUSE_STATIC_CODEC2=FALSE \
+		-DUSE_STATIC_PORTAUDIO=FALSE \
+		-DUSE_STATIC_SOX=FALSE \
+		-DUSE_STATIC_SPEEXDSP=FALSE
+INSTALLS_ICONS=	yes
+
+.include <bsd.port.mk>

Added: head/comms/freedv/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/freedv/distinfo	Tue Dec 15 09:25:26 2015	(r403766)
@@ -0,0 +1,2 @@
+SHA256 (freedv-1.1.tar.xz) = 3439930d73ebc9f58d39f4dff45356c3ee0e338a984e98ef8eb839eccaa44703
+SIZE (freedv-1.1.tar.xz) = 424420

Added: head/comms/freedv/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/freedv/files/patch-CMakeLists.txt	Tue Dec 15 09:25:26 2015	(r403766)
@@ -0,0 +1,24 @@
+--- CMakeLists.txt.orig	2015-09-24 19:30:57 UTC
++++ CMakeLists.txt
+@@ -72,7 +72,7 @@ endif()
+ 
+ 
+ # Set default build flags.
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++11")
+ 
+ #
+ # Setup cmake options
+@@ -339,6 +339,12 @@ if(NOT USE_STATIC_SOX)
+     if(LIBSOX_LIBRARY AND LIBSOX_INCLUDE_DIR)
+         list(APPEND FREEDV_LINK_LIBS ${LIBSOX_LIBRARY})
+         include_directories(${LIBSOX_INCLUDE_DIR})
++        message(STATUS "Looking for static sox...")
++        find_library(STATIC_LIBSOX_LIBRARY libsox.a)
++        message(STATUS "  static sox library: ${STATIC_LIBSOX_LIBRARY}")
++        if(STATIC_LIBSOX_LIBRARY)
++            list(APPEND FREEDV_LINK_LIBS ${STATIC_LIBSOX_LIBRARY})
++        endif(STATIC_LIBSOX_LIBRARY)
+     else(LIBSOX_LIBRARY AND LIBSOX_INCLUDE_DIR)
+         message(FATAL_ERROR "sox library not found.
+ On Linux systems try installing:

Added: head/comms/freedv/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/freedv/pkg-descr	Tue Dec 15 09:25:26 2015	(r403766)
@@ -0,0 +1,9 @@
+FreeDV is a Digital Voice mode for HF radio. FreeDV allows any SSB radio
+to be used for low bit rate digital voice. Speech is compressed down to
+700-1600 bit/s then modulated onto a 1.25 kHz wide signal comprised of
+16 QPSK carriers which is sent to the Mic input of a SSB radio. The signal
+is received by an SSB radio, then demodulated and decoded by FreeDV. FreeDV
+700(B) rivals SSB in it's low SNR performance. At high SNRs FreeDV 1600
+sounds like FM, with no annoying analog HF radio noise.
+
+WWW: http://freedv.org/tiki-index.php

Added: head/comms/freedv/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/comms/freedv/pkg-plist	Tue Dec 15 09:25:26 2015	(r403766)
@@ -0,0 +1,6 @@
+bin/freedv
+share/applications/freedv.desktop
+share/icons/hicolor/128x128/apps/freedv.png
+share/icons/hicolor/256x256/apps/freedv.png
+share/icons/hicolor/48x48/apps/freedv.png
+share/icons/hicolor/64x64/apps/freedv.png



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512150925.tBF9PQLW070746>