Mon Jul 21 07:34:17 2014 UTC ()
add freedv from the FreeDV project at http://freedv.org/
(dbj)
diff -r1.28 -r1.29 pkgsrc/ham/Makefile
diff -r0 -r1.1 pkgsrc/ham/freedv/DESCR
diff -r0 -r1.1 pkgsrc/ham/freedv/Makefile
diff -r0 -r1.1 pkgsrc/ham/freedv/PLIST
diff -r0 -r1.1 pkgsrc/ham/freedv/distinfo
diff -r0 -r1.1 pkgsrc/ham/freedv/patches/patch-configure.ac
--- pkgsrc/ham/Makefile 2014/07/21 07:30:50 1.28
+++ pkgsrc/ham/Makefile 2014/07/21 07:34:17 1.29
| @@ -1,23 +1,24 @@ | | | @@ -1,23 +1,24 @@ |
1 | # $NetBSD: Makefile,v 1.28 2014/07/21 07:30:50 dbj Exp $ | | 1 | # $NetBSD: Makefile,v 1.29 2014/07/21 07:34:17 dbj Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Wireless communication tools and applications | | 4 | COMMENT= Wireless communication tools and applications |
5 | SUBDIR+= 7plus | | 5 | SUBDIR+= 7plus |
6 | SUBDIR+= codec2 | | 6 | SUBDIR+= codec2 |
7 | SUBDIR+= cwtext | | 7 | SUBDIR+= cwtext |
8 | SUBDIR+= dpbox | | 8 | SUBDIR+= dpbox |
9 | SUBDIR+= fl_logbook | | 9 | SUBDIR+= fl_logbook |
10 | SUBDIR+= fldigi | | 10 | SUBDIR+= fldigi |
| | | 11 | SUBDIR+= freedv |
11 | SUBDIR+= gmfsk | | 12 | SUBDIR+= gmfsk |
12 | SUBDIR+= gnuradio-audio-jack | | 13 | SUBDIR+= gnuradio-audio-jack |
13 | SUBDIR+= gnuradio-audio-oss | | 14 | SUBDIR+= gnuradio-audio-oss |
14 | SUBDIR+= gnuradio-audio-portaudio | | 15 | SUBDIR+= gnuradio-audio-portaudio |
15 | SUBDIR+= gnuradio-core | | 16 | SUBDIR+= gnuradio-core |
16 | SUBDIR+= gnuradio-core-docs | | 17 | SUBDIR+= gnuradio-core-docs |
17 | SUBDIR+= gnuradio-examples | | 18 | SUBDIR+= gnuradio-examples |
18 | SUBDIR+= gnuradio-gsm | | 19 | SUBDIR+= gnuradio-gsm |
19 | SUBDIR+= gnuradio-howto | | 20 | SUBDIR+= gnuradio-howto |
20 | SUBDIR+= gnuradio-radio-astronomy | | 21 | SUBDIR+= gnuradio-radio-astronomy |
21 | SUBDIR+= gnuradio-trellis | | 22 | SUBDIR+= gnuradio-trellis |
22 | SUBDIR+= gnuradio-usrp | | 23 | SUBDIR+= gnuradio-usrp |
23 | SUBDIR+= gnuradio-video-sdl | | 24 | SUBDIR+= gnuradio-video-sdl |
FreeDV is a GUI application for Windows and Linux (MacOS and BSD are
in testing) that allows any SSB radio to be used for low bit rate
digital voice.
Speech is compressed down to 1400 bit/s then modulated onto a 1100 Hz
wide QPSK signal which is sent to the Mic input of a SSB radio. On
receive, the signal is received by the SSB radio, then demodulated and
decoded by FreeDV.
FreeDV was built by an international team of Radio Amateurs working
together on coding, design, user interface and testing. FreeDV is open
source software, released under the GNU Public License version
2.1. The FDMDV modem and Codec 2 Speech codec used in FreeDV are also
open source.
# $NetBSD: Makefile,v 1.1 2014/07/21 07:34:17 dbj Exp $
#
VERSION= 0.97.0.1696
PKGNAME= freedv-${VERSION}
DISTNAME= fdmdv2-${VERSION}
WRKSRC= ${WRKDIR}/fdmdv2
CATEGORIES= ham
# svn://svn.code.sf.net/p/freetel/code/fdmdv2
MASTER_SITES= ${MASTER_SITE_LOCAL}
EXTRACT_SUFX= .tgz
MAINTAINER= dbj@NetBSD.org
HOMEPAGE= http://freedv.org/
COMMENT= FreeDV: HF Digital Voice for Radio Amateurs
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES=c c++
CHECK_PORTABILITY_SKIP+= configure
USE_CMAKE=yes
CONFIGURE_DIRS=build
BUILD_DIRS=${CONFIGURE_DIRS}
CMAKE_ARG_PATH=..
pre-configure:
cd ${WRKSRC} && mkdir build
.include "../../ham/codec2/buildlink3.mk"
.include "../../ham/hamlib/buildlink3.mk"
.include "../../audio/sox/buildlink3.mk"
.include "../../audio/portaudio-devel/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2014/07/21 07:34:17 dbj Exp $
bin/freedv
$NetBSD: distinfo,v 1.1 2014/07/21 07:34:17 dbj Exp $
SHA1 (fdmdv2-0.97.0.1696.tgz) = c99311738ffb6960416dd261a11b08756827dc6e
RMD160 (fdmdv2-0.97.0.1696.tgz) = 122f630f7651607501c84a2109c92f989c04e519
Size (fdmdv2-0.97.0.1696.tgz) = 1537981 bytes
SHA1 (patch-configure.ac) = 6a4ad2f97879c0a04f1911c204cc5c40e7423580
$NetBSD: patch-configure.ac,v 1.1 2014/07/21 07:34:17 dbj Exp $
--- configure.ac.orig 2013-09-29 21:31:58.000000000 +0000
+++ configure.ac
@@ -18,7 +18,7 @@ AC_ARG_ENABLE([about-dialog],
[enable_about_dialog=yes],
[enable_about_dialog=no])
-if test "$enable_about_dialog" == "yes"; then
+if test "$enable_about_dialog" = "yes"; then
AC_DEFINE([_USE_ABOUT_DIALOG],,[use dlg_about.cpp/h])
fi
@@ -45,8 +45,7 @@ AC_CHECK_LIB([m], [main])
AC_CHECK_LIB([ole32], [main])
# FIXME: Replace `main' with a function in `-loleaut32':
AC_CHECK_LIB([oleaut32], [main])
-# FIXME: Replace `main' with a function in `-lportaudio':
-AC_CHECK_LIB([portaudio], [src_new])
+AC_CHECK_LIB([portaudio], [Pa_Initialize])
# FIXME: Replace `main' with a function in `-lportaudiocpp':
AC_CHECK_LIB([portaudiocpp], [main])
# FIXME: Replace `main' with a function in `-lpthread':
@@ -83,18 +82,8 @@ AC_CHECK_LIB([wxzlib], [main])
AC_SEARCH_LIBS([src_new], [samplerate])
AC_SEARCH_LIBS([sf_format_check], [sndfile])
AC_SEARCH_LIBS([sox_init], [sox])
-
-AC_MSG_CHECKING([for libctb-0.16])
-AC_LANG_PUSH(C++)
-LIBS="-lctb-0.16 $LIBS"
-AC_LINK_IFELSE([AC_LANG_PROGRAM(
- [#include <ctb-0.16/ctb.h>],
- [ctb::SerialPort* m_serialPort;]
- [m_serialPort = new ctb::SerialPort();])],
- ,
- [AC_MSG_ERROR([failed. Maybe you need to set LDPATH or CXXPATH. See configure --help])])
-AC_LANG_POP
-AC_MSG_RESULT([yes])
+AC_SEARCH_LIBS([golay23_init], [golay23])
+AC_SEARCH_LIBS([rig_open], [hamlib])
# Checks for header files.
AC_CHECK_HEADERS([limits.h stddef.h stdlib.h string.h])
@@ -112,7 +101,7 @@ AC_CONFIG_FILES([Makefile src/Makefile])
## wxWidgets, from http://wiki.wxwidgets.org/Autoconf
AM_OPTIONS_WXCONFIG
-WX_CONFIG_CHECK([2.9.0], [wxWin=1], , [aui,html,net] )
+WX_CONFIG_CHECK([2.9.0], [wxWin=1], , [core,adv,aui,html,net] )
if test "$wxWin" != 1; then
AC_MSG_ERROR([
wxWidgets must be installed on your system.