Lines 4-14
Link Here
|
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/audio/musicpd/Makefile,v 1.40 2009/01/28 05:30:46 pgollucci Exp $ |
5 |
# $FreeBSD: ports/audio/musicpd/Makefile,v 1.40 2009/01/28 05:30:46 pgollucci Exp $ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= musicpd |
8 |
PORTNAME= musicpd |
9 |
PORTVERSION= 0.14.1 |
9 |
PORTVERSION= 0.14.2 |
10 |
CATEGORIES= audio ipv6 |
10 |
CATEGORIES= audio ipv6 |
11 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
|
13 |
|
14 |
DISTNAME= mpd-${PORTVERSION} |
14 |
DISTNAME= mpd-${PORTVERSION} |
Lines 41-57
Link Here
|
41 |
TREMOR "Support Tremor (integer-only Vorbis)" off \ |
41 |
TREMOR "Support Tremor (integer-only Vorbis)" off \ |
42 |
WAV "Support WAV audio format" on \ |
42 |
WAV "Support WAV audio format" on \ |
43 |
AAC "Support MP4/AAC audio format" off \ |
43 |
AAC "Support MP4/AAC audio format" off \ |
44 |
MUSEPACK "Support MPC audio format" off \ |
44 |
MUSEPACK "Support MPC audio format" off \ |
45 |
MOD "Support MOD audio format" off \ |
45 |
MOD "Support MOD audio format" off \ |
46 |
ICONV "Support international characters" on \ |
46 |
FFMPEG "Support FFMPEG (wma aiff ac3 ape...)" on \ |
47 |
ID3TAG "Support id3v1 tag encoding" off \ |
47 |
ID3TAG "Support ID3 v1/v2 tags" on \ |
48 |
IPV6 "Support IPv6 protocol" on \ |
48 |
IPV6 "Support IPv6 protocol" on \ |
49 |
AO "Support libao audio library" off \ |
49 |
AO "Support libao audio library" off \ |
50 |
PULSEAUDIO "Support PulseAudio sound server" off \ |
50 |
PULSEAUDIO "Support PulseAudio sound server" off \ |
51 |
JACK "Support JACK audio server" off \ |
51 |
JACK "Support JACK audio server" off \ |
52 |
SHOUTCAST "Support for Icecast and Shoutcast" off \ |
52 |
SHOUTCAST "Support for OGG Icecast and Shoutcast" off \ |
53 |
LAME "Support for MP3 Icecast Streams" off \ |
53 |
LAME "Support for MP3 Icecast Streams" off \ |
54 |
SAMPLERATE "Support sample rate conversion" off |
54 |
SAMPLERATE "Support sample rate conversion" off |
55 |
|
55 |
|
56 |
.include <bsd.port.pre.mk> |
56 |
.include <bsd.port.pre.mk> |
57 |
|
57 |
|
Lines 61-71
Link Here
|
61 |
.else |
61 |
.else |
62 |
LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac |
62 |
LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac |
63 |
.endif |
63 |
.endif |
64 |
|
64 |
|
65 |
.if defined(WITHOUT_VORBIS) |
65 |
.if defined(WITHOUT_VORBIS) |
66 |
CONFIGURE_ARGS+=--disable-ogg |
66 |
CONFIGURE_ARGS+=--disable-oggvorbis |
67 |
.else |
67 |
.else |
68 |
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis |
68 |
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis |
69 |
.endif |
69 |
.endif |
70 |
|
70 |
|
71 |
.if defined(WITH_TREMOR) |
71 |
.if defined(WITH_TREMOR) |
Lines 78-88
Link Here
|
78 |
.else |
78 |
.else |
79 |
CONFIGURE_ARGS+=--disable-aac |
79 |
CONFIGURE_ARGS+=--disable-aac |
80 |
.endif |
80 |
.endif |
81 |
|
81 |
|
82 |
.if defined(WITH_LAME) |
82 |
.if defined(WITH_LAME) |
|
|
83 |
CONFIGURE_ARGS+=--enable-shout-mp3 |
83 |
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame |
84 |
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame |
|
|
85 |
.else |
86 |
CONFIGURE_ARGS+=--disable-shout-mp3 |
84 |
.endif |
87 |
.endif |
85 |
|
88 |
|
86 |
.if defined(WITHOUT_WAV) |
89 |
.if defined(WITHOUT_WAV) |
87 |
CONFIGURE_ARGS+=--disable-audiofile |
90 |
CONFIGURE_ARGS+=--disable-audiofile |
88 |
.else |
91 |
.else |
Lines 99-117
Link Here
|
99 |
LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod |
102 |
LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod |
100 |
.else |
103 |
.else |
101 |
CONFIGURE_ARGS+=--disable-mod |
104 |
CONFIGURE_ARGS+=--disable-mod |
102 |
.endif |
105 |
.endif |
103 |
|
106 |
|
104 |
.if defined(WITHOUT_ICONV) |
107 |
.if defined(WITHOUT_FFMPEG) |
105 |
CONFIGURE_ARGS+=--disable-iconv |
108 |
CONFIGURE_ARGS+=--disable-ffmpeg |
106 |
.else |
109 |
.else |
107 |
USE_ICONV= yes |
110 |
LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \ |
|
|
111 |
avformat:${PORTSDIR}/multimedia/ffmpeg \ |
112 |
avutil.1:${PORTSDIR}/multimedia/ffmpeg |
108 |
.endif |
113 |
.endif |
109 |
|
114 |
|
110 |
.if defined(WITH_ID3TAG) |
115 |
.if defined(WITHOUT_ID3TAG) |
111 |
LIB_DEPENDS+= id3tag.0:${PORTSDIR}/audio/libid3tag |
116 |
CONFIGURE_ARGS+=--disable-id3 |
112 |
CONFIGURE_ARGS+=--enable-mpd-id3tag |
117 |
.else |
|
|
118 |
LIB_DEPENDS+= id3tag.0:${PORTSDIR}/audio/libid3tag |
113 |
.endif |
119 |
.endif |
114 |
|
120 |
|
115 |
.if defined(WITHOUT_IPV6) |
121 |
.if defined(WITHOUT_IPV6) |
116 |
CONFIGURE_ARGS+=--disable-ipv6 |
122 |
CONFIGURE_ARGS+=--disable-ipv6 |
117 |
.endif |
123 |
.endif |
Lines 136-146
Link Here
|
136 |
# libshout streaming support will be disabled by configure script when built |
142 |
# libshout streaming support will be disabled by configure script when built |
137 |
# also with tremor since the latter does not support vorbis encoding |
143 |
# also with tremor since the latter does not support vorbis encoding |
138 |
.if defined(WITH_SHOUTCAST) && !defined(WITH_TREMOR) |
144 |
.if defined(WITH_SHOUTCAST) && !defined(WITH_TREMOR) |
139 |
LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2 |
145 |
LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2 |
140 |
.else |
146 |
.else |
141 |
CONFIGURE_ARGS+=--disable-shout |
147 |
CONFIGURE_ARGS+=--disable-shout-ogg |
142 |
.endif |
148 |
.endif |
143 |
|
149 |
|
144 |
.if defined(WITHOUT_SAMPLERATE) |
150 |
.if defined(WITHOUT_SAMPLERATE) |
145 |
CONFIGURE_ARGS+=--disable-lsr |
151 |
CONFIGURE_ARGS+=--disable-lsr |
146 |
.else |
152 |
.else |