blob: 64f0273e978813fe9811dbd7457e4c57ffb3c7b1 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= aqualung
DISTVERSION= 0.9beta11
PORTREVISION= 18
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} \
http://wickedmachine.net/mirror/
MAINTAINER= jsa@FreeBSD.org
COMMENT= Music player with rich features
LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
libsndfile.so:${PORTSDIR}/audio/libsndfile \
libFLAC.so:${PORTSDIR}/audio/flac \
libvorbis.so:${PORTSDIR}/audio/libvorbis \
liboggz.so:${PORTSDIR}/audio/liboggz \
libspeex.so:${PORTSDIR}/audio/speex \
libmad.so:${PORTSDIR}/audio/libmad \
libmodplug.so:${PORTSDIR}/audio/libmodplug \
libmpcdec.so:${PORTSDIR}/audio/musepack \
libmac.so:${PORTSDIR}/audio/mac \
libtag.so:${PORTSDIR}/audio/taglib \
liblrdf.so:${PORTSDIR}/textproc/liblrdf \
libcdio.so:${PORTSDIR}/sysutils/libcdio \
libmp3lame.so:${PORTSDIR}/audio/lame \
libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \
libstrfunc.so:${PORTSDIR}/devel/libstrfunc \
libwavpack.so:${PORTSDIR}/audio/wavpack \
libxslt.so:${PORTSDIR}/textproc/libxslt \
libcddb.so:${PORTSDIR}/audio/libcddb \
libstrfunc.so:${PORTSDIR}/devel/libstrfunc
USES= gmake pkgconfig gettext compiler:nestedfct
USE_GNOME= gtk20 libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name="" --with-alsa=no --with-ifp=no \
--with-cdda=no
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lstrfunc
OPTIONS_DEFINE= JACK PULSEAUDIO DOCS
JACK_CONFIGURE_OFF= --with-jack=no
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
JACK_CONFIGURE_ON= --with-jack=yes
PULSEAUDIO_CONFIGURE_OFF= --with-pulse=no
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_ON= --with-pulse=yes
post-patch:
@${REINPLACE_CMD} -e '/^docdir/s!=.*!= ${DOCSDIR}!'\
${WRKSRC}/doc/Makefile.in
# @${REINPLACE_CMD} -e 's/libcdio_paranoia/libcdda_paranoia/g'\
# ${WRKSRC}/configure
@${ECHO_CMD} "#include <sys/stat.h>" >> ${WRKSRC}/src/common.h
@${ECHO_CMD} "#include <sys/types.h>" >> ${WRKSRC}/src/common.h
.include <bsd.port.mk>
|