summaryrefslogtreecommitdiffstats
path: root/audio/mangler/Makefile
blob: bf6c3e5f17d14f770c25297f5ad8203d899da07b (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Janik Galasso <janik@hikarihq.com>
# $FreeBSD$

PORTNAME=	mangler
PORTVERSION=	1.2.3
PORTREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	http://www.mangler.org/downloads/ \
		http://ultimeordi.com/pub/mangler/

MAINTAINER=	janik@hikarihq.com
COMMENT=	A Ventrilo VOIP compatible client

LIB_DEPENDS=	libcelt0.so:${PORTSDIR}/audio/celt \
		libspeex..so:${PORTSDIR}/audio/speex \
		libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
		libgtkmm-2.4..so:${PORTSDIR}/x11-toolkits/gtkmm24 \
		libgsm.so:${PORTSDIR}/audio/gsm

USES=		gmake pkgconfig
NO_STAGE=	yes
USE_GNOME=	librsvg2
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--without-alsa
USE_LDCONFIG=	yes

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

OPTIONS_DEFINE=	PULSEAUDIO

MAN1=   mangler.1

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPULSEAUDIO}
LIB_DEPENDS+=	libpulse.so:${PORTSDIR}/audio/pulseaudio
CONFIGURE_ARGS+=--with-pulseaudio
.else
CONFIGURE_ARGS+=--without-pulseaudio
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud