View | Details | Raw Unified | Return to bug 136305
Collapse All | Expand All

(-)musicpd/Makefile (-15 / +62 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	musicpd
8
PORTNAME=	musicpd
9
PORTVERSION=	0.14.2
9
PORTVERSION=	0.15
10
CATEGORIES=	audio ipv6
10
CATEGORIES=	audio ipv6
11
MASTER_SITES=	SF
11
MASTER_SITES=	SF
12
DISTNAME=	mpd-${PORTVERSION}
12
DISTNAME=	mpd-${PORTVERSION}
Lines 14-20 Link Here
14
MAINTAINER=	jo.lindqvist@gmail.com
14
MAINTAINER=	jo.lindqvist@gmail.com
15
COMMENT=	A remote-controllable music daemon
15
COMMENT=	A remote-controllable music daemon
16
16
17
LIB_DEPENDS+=	mad.2:${PORTSDIR}/audio/libmad
17
LIB_DEPENDS+=	mad.2:${PORTSDIR}/audio/libmad \
18
		curl.5:${PORTSDIR}/ftp/curl
18
19
19
USE_GMAKE=	yes
20
USE_GMAKE=	yes
20
USE_BZIP2=	yes
21
USE_BZIP2=	yes
Lines 34-54 Link Here
34
35
35
SUB_FILES=	pkg-message
36
SUB_FILES=	pkg-message
36
37
37
OPTIONS=	FLAC		"Support FLAC audio format"		on \
38
OPTIONS=	ID3TAG          "Support ID3 v1/v2 tags"                on \
38
		VORBIS		"Support OGG Vorbis audio format"	on \
39
		IPV6            "Support IPv6 protocol"                 on \
40
		FLAC            "Support FLAC audio format"             on \
41
		VORBIS          "Support OGG Vorbis audio format"       on \
42
		WAV             "Support WAV audio format"              on \
43
		FFMPEG          "Support FFMPEG (wma aiff ac3 ape...)"  on \
39
		TREMOR		"Support Tremor (integer-only Vorbis)"	off \
44
		TREMOR		"Support Tremor (integer-only Vorbis)"	off \
40
		WAV		"Support WAV audio format"		on \
41
		AAC		"Support MP4/AAC audio format"		off \
45
		AAC		"Support MP4/AAC audio format"		off \
42
		MUSEPACK	"Support MPC audio format"		off \
46
		MUSEPACK	"Support MPC audio format"		off \
43
		MOD		"Support MOD audio format"		off \
47
		MIKMOD		"Support MOD audio format"		off \
44
		FFMPEG		"Support FFMPEG (wma aiff ac3 ape...)"	on \
48
		MODPLUG		"Support MODPLUG decoder"		off \
45
	        ID3TAG		"Support ID3 v1/v2 tags"		on \
49
		ARCHIVE		"Support bzip2/zip/iso9660 archive"	off \
46
		IPV6		"Support IPv6 protocol"			on \
50
		MMS             "Support MMS stream input"              off \
51
		LASTFM		"Support Last.FM stream input (experimental)"	off \
47
		AO		"Support libao audio library"		off \
52
		AO		"Support libao audio library"		off \
48
		PULSEAUDIO	"Support PulseAudio sound server"	off \
53
		PULSEAUDIO	"Support PulseAudio sound server"	off \
49
		JACK		"Support JACK audio server"		off \
54
		JACK		"Support JACK audio server"		off \
50
		SHOUTCAST	"Support for OGG Icecast and Shoutcast"	off \
55
		SHOUTCAST	"Support for OGG Icecast and Shoutcast"	off \
51
		LAME		"Support for MP3 Icecast Streams"	off \
56
		LAME		"Support for MP3 Icecast Streams"	off \
57
		HTTPD		"Support for httpd output streaming"	off \
52
		SAMPLERATE	"Support sample rate conversion"	off
58
		SAMPLERATE	"Support sample rate conversion"	off
53
59
54
.include <bsd.port.pre.mk>
60
.include <bsd.port.pre.mk>
Lines 61-67 Link Here
61
.endif
67
.endif
62
68
63
.if defined(WITHOUT_VORBIS)
69
.if defined(WITHOUT_VORBIS)
64
CONFIGURE_ARGS+=--disable-oggvorbis
70
CONFIGURE_ARGS+=--disable-vorbis
65
.else
71
.else
66
LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
72
LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
67
.endif
73
.endif
Lines 78-87 Link Here
78
.endif
84
.endif
79
85
80
.if defined(WITH_LAME)
86
.if defined(WITH_LAME)
81
CONFIGURE_ARGS+=--enable-shout-mp3
87
CONFIGURE_ARGS+=--enable-lame-encoder \
88
		--enable-shout
82
LIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
89
LIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
83
.else
90
.else
84
CONFIGURE_ARGS+=--disable-shout-mp3
91
CONFIGURE_ARGS+=--disable-lame-encoder
92
.endif
93
94
.if defined(WITH_HTTPD)
95
CONFIGURE_ARGS+=--enable-httpd-output
96
.else
97
CONFIGURE_ARGS+=--disable-httpd-output
85
.endif
98
.endif
86
99
87
.if defined(WITHOUT_WAV)
100
.if defined(WITHOUT_WAV)
Lines 96-105 Link Here
96
CONFIGURE_ARGS+=--disable-mpc
109
CONFIGURE_ARGS+=--disable-mpc
97
.endif
110
.endif
98
111
99
.if defined(WITH_MOD)
112
.if defined(WITH_MIKMOD)
100
LIB_DEPENDS+=	mikmod.2:${PORTSDIR}/audio/libmikmod
113
LIB_DEPENDS+=	mikmod.2:${PORTSDIR}/audio/libmikmod
114
CONFIGURE_ARGS+=--enable-mikmod
115
.else
116
CONFIGURE_ARGS+=--disable-mikmod
117
.endif
118
119
.if defined(WITH_MODPLUG)
120
LIB_DEPENDS+=	modplug.0:${PORTSDIR}/audio/libmodplug
121
CONFIGURE_ARGS+=--enable-modplug
101
.else
122
.else
102
CONFIGURE_ARGS+=--disable-mod
123
CONFIGURE_ARGS+=--disable-modplug
124
.endif
125
126
.if defined(WITH_ARCHIVE)
127
CONFIGURE_ARGS+=--enable-bzip2 \
128
		--enable-zip \
129
		--enable-iso9660
130
LIB_DEPENDS+=	zzip.13:${PORTSDIR}/devel/zziplib \
131
		iso9660.5:${PORTSDIR}/sysutils/libcdio
103
.endif
132
.endif
104
133
105
.if defined(WITHOUT_FFMPEG)
134
.if defined(WITHOUT_FFMPEG)
Lines 110-115 Link Here
110
		avutil.1:${PORTSDIR}/multimedia/ffmpeg
139
		avutil.1:${PORTSDIR}/multimedia/ffmpeg
111
.endif
140
.endif
112
141
142
.if defined(WITH_LASTFM)
143
CONFIGURE_ARGS+=--enable-lastfm
144
.else
145
CONFIGURE_ARGS+=--disable-lastfm
146
.endif
147
148
.if defined(WITH_MMS)
149
CONFIGURE_ARGS+=--enable-mms
150
LIBDEPENDS+=	libmms.0:${PORTSDIR}/net/libmms
151
.else
152
CONFIGURE_ARGS+=--disable-mms
153
.endif
154
113
.if defined(WITHOUT_ID3TAG)
155
.if defined(WITHOUT_ID3TAG)
114
CONFIGURE_ARGS+=--disable-id3
156
CONFIGURE_ARGS+=--disable-id3
115
.else
157
.else
Lines 123-128 Link Here
123
.if defined(WITH_AO)
165
.if defined(WITH_AO)
124
CONFIGURE_ARGS+=--enable-ao
166
CONFIGURE_ARGS+=--enable-ao
125
LIB_DEPENDS+=	ao.3:${PORTSDIR}/audio/libao
167
LIB_DEPENDS+=	ao.3:${PORTSDIR}/audio/libao
168
.else
169
CONFIGURE_ARGS+=--disable-ao
126
.endif
170
.endif
127
171
128
.if defined(WITH_PULSEAUDIO)
172
.if defined(WITH_PULSEAUDIO)
Lines 141-154 Link Here
141
# also with tremor since the latter does not support vorbis encoding
185
# also with tremor since the latter does not support vorbis encoding
142
.if defined(WITH_SHOUTCAST) && !defined(WITH_TREMOR)
186
.if defined(WITH_SHOUTCAST) && !defined(WITH_TREMOR)
143
LIB_DEPENDS+=	shout.5:${PORTSDIR}/audio/libshout2
187
LIB_DEPENDS+=	shout.5:${PORTSDIR}/audio/libshout2
188
CONFIGURE_ARGS+=--enable-vorbis-encoder \
189
		--enable-shout
144
.else
190
.else
145
CONFIGURE_ARGS+=--disable-shout-ogg
191
CONFIGURE_ARGS+=--disable-vorbis-encoder
146
.endif
192
.endif
147
193
148
.if defined(WITHOUT_SAMPLERATE)
194
.if defined(WITHOUT_SAMPLERATE)
149
CONFIGURE_ARGS+=--disable-lsr
195
CONFIGURE_ARGS+=--disable-lsr
150
.else
196
.else
151
LIB_DEPENDS+=	samplerate.1:${PORTSDIR}/audio/libsamplerate
197
LIB_DEPENDS+=	samplerate.1:${PORTSDIR}/audio/libsamplerate
198
CONFIGURE_ARGS+=--enable-lsr
152
.endif
199
.endif
153
200
154
.if defined(NOPORTDOCS)
201
.if defined(NOPORTDOCS)
(-)musicpd/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (mpd-0.14.2.tar.bz2) = 66817a4b4c05454e6488f6b821f2a6a3 
1
SIZE (mpd-0.15.tar.bz2) = 385833 
2
SHA256 (mpd-0.14.2.tar.bz2) = 0b3926a141873f179efc3c3b9d296b65d332dbb898340ac5e5d1dd0c3dd9fb20 
2
MD5 (mpd-0.15.tar.bz2) = 2ed93a60bd703ba46d6794e12cfb5f1d
3
SIZE (mpd-0.14.2.tar.bz2) = 287115 
3
SHA256 (mpd-0.15.tar.bz2) = 38d4c4073e81585c0f0b1a3b4909f7fecd0305de90f373a9a1c087090e6ddc20

Return to bug 136305