aboutsummaryrefslogtreecommitdiffstats
path: root/comms/freedv/Makefile
blob: 0f320fa149dd3777737df468533fc342f63329ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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:audio/codec2 \
        libportaudio.so:audio/portaudio \
        libhamlib.so:comms/hamlib \
        libsamplerate.so:audio/libsamplerate \
        libsox.so:audio/sox \
        libsndfile.so:audio/libsndfile \
        libspeexdsp.so:audio/speexdsp

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>