aboutsummaryrefslogtreecommitdiffstats
path: root/audio/ices/Makefile
blob: 1ec253fd588701259cc61bfd2b9c6e933af49323 (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
31
32
33
34
35
36
37
# Created by: Michael Nottebrock <michaelnottebrock@gmx.net>
# $FreeBSD$

PORTNAME=   ices
PORTVERSION=    2.0.2
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= audio net
MASTER_SITES=   http://downloads.xiph.org/releases/ices/ \
        http://svn.xiph.org/releases/ices/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Vorbis streaming source client for icecast 2

LICENSE=    GPLv2

LIB_DEPENDS=    libogg.so:${PORTSDIR}/audio/libogg \
        libshout.so:${PORTSDIR}/audio/libshout2 \
        libvorbis.so:${PORTSDIR}/audio/libvorbis \
        libspeex.so:${PORTSDIR}/audio/speex \
        libtheora.so:${PORTSDIR}/multimedia/libtheora

OPTIONS_DEFINE= ALSA

USES=       gmake iconv pkgconfig
USE_BZIP2=  yes
USE_GNOME=  libxml2
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-roaraudio --disable-sun-audio

CPPFLAGS+=  -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+=   -L${LOCALBASE}/lib ${PTHREAD_LIBS}

ALSA_LIB_DEPENDS=   libasound.so:${PORTSDIR}/audio/alsa-lib
ALSA_CONFIGURE_ENABLE=  alsa

.include <bsd.port.mk>