summaryrefslogtreecommitdiff
path: root/ham/freedv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ham/freedv/Makefile')
-rw-r--r--ham/freedv/Makefile31
1 files changed, 11 insertions, 20 deletions
diff --git a/ham/freedv/Makefile b/ham/freedv/Makefile
index e5329a75c21..b5ae77dd03e 100644
--- a/ham/freedv/Makefile
+++ b/ham/freedv/Makefile
@@ -1,15 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2015/04/25 14:23:20 tnn Exp $
+# $NetBSD: Makefile,v 1.7 2016/01/19 04:03:21 dbj Exp $
#
-VERSION= 0.97.0.1696
-PKGNAME= freedv-${VERSION}
-DISTNAME= fdmdv2-${VERSION}
-PKGREVISION= 2
-WRKSRC= ${WRKDIR}/fdmdv2
+DISTNAME= freedv-1.1
CATEGORIES= ham
-# svn://svn.code.sf.net/p/freetel/code/fdmdv2
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://files.freedv.org/freedv/
+EXTRACT_SUFX= .tar.xz
MAINTAINER= dbj@NetBSD.org
HOMEPAGE= http://freedv.org/
@@ -18,18 +13,13 @@ COMMENT= FreeDV: HF Digital Voice for Radio Amateurs
LICENSE= gnu-lgpl-v2.1
USE_TOOLS+= pkg-config
-USE_LANGUAGES=c c++
+USE_LANGUAGES= c c++
-CHECK_PORTABILITY_SKIP+= configure
-
-USE_CMAKE=yes
-CONFIGURE_DIRS=build
-BUILD_DIRS=${CONFIGURE_DIRS}
-CMAKE_ARG_PATH=..
-
-.include "fixbinconst.mk"
-SUBST_STAGE.fixbinconst= pre-configure
-SUBST_FILES.fixbinconst+= src/varicode_table.h
+USE_CMAKE= yes
+CONFIGURE_DIRS= build
+CMAKE_ARG_PATH= ..
+CMAKE_ARGS+= -DUSE_STATIC_CODEC2=FALSE
+CMAKE_ARGS+= -DUSE_STATIC_SPEEXDSP=FALSE
.include "../../mk/bsd.prefs.mk"
@@ -43,6 +33,7 @@ pre-configure:
.include "../../ham/codec2/buildlink3.mk"
.include "../../ham/hamlib/buildlink3.mk"
.include "../../audio/sox/buildlink3.mk"
+.include "../../audio/speexdsp/buildlink3.mk"
.include "../../audio/portaudio-devel/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../x11/wxGTK30/buildlink3.mk"