View | Details | Raw Unified | Return to bug 120418 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-11 / +78 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	sox
8
PORTNAME=	sox
9
PORTVERSION=	13.0.0
9
PORTVERSION=	14.0.1
10
PORTREVISION=	1
11
CATEGORIES=	audio
10
CATEGORIES=	audio
12
MASTER_SITES=	SF
11
MASTER_SITES=	SF
13
12
Lines 17-60 Link Here
17
CONFLICTS=	play-[0-9]*
16
CONFLICTS=	play-[0-9]*
18
17
19
MAN1=		sox.1
18
MAN1=		sox.1
20
MAN3=		libst.3
19
MAN3=		libsox.3
21
MAN7=		soxexam.7
20
MAN7=		soxexam.7 soxformat.7 soxeffect.7
22
MLINKS=		sox.1 play.1 sox.1 rec.1
21
MLINKS=		sox.1 play.1 sox.1 rec.1
23
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
24
USE_LDCONFIG=	yes
24
USE_LDCONFIG=	yes
25
USE_AUTOTOOLS=	libltdl
25
# src/Makefile uses ${RM} but never sets it
26
# src/Makefile uses ${RM} but never sets it
26
MAKE_ENV+=	RM="rm -f"
27
MAKE_ENV+=	RM="rm -f"
27
28
28
OPTIONS=	FLAC "Enable libflac" on \
29
OPTIONS=	AO "Enable libao output" on \
30
		AMRNB "AMR Speech Codec (Narrowband)" off \
31
		AMRWB "AMR Speech Codec (Wideband)" off \
32
		FFMPEG "Enable ffmpeg en/decoding" on \
33
		FLAC "Enable flac en/decoding with libflac" on \
29
		GSM "Use libgsm from ports (else use bundled lib)" on \
34
		GSM "Use libgsm from ports (else use bundled lib)" on \
35
		LADSPA "Audio plugin support" off \
30
		LAME "Enable mp3 encoding with LAME" on \
36
		LAME "Enable mp3 encoding with LAME" on \
31
		MAD "Enable mp3 decoding with MAD" on \
37
		MAD "Enable mp3 decoding with MAD" on \
38
		SAMPLERATE "Enable libsamplerate" on \
32
		SNDFILE "Enable libsndfile" on \
39
		SNDFILE "Enable libsndfile" on \
33
		VORBIS "Enable Ogg Vorbis support" on
40
		VORBIS "Enable Ogg Vorbis support" on
34
41
35
.include <bsd.port.pre.mk>
42
.include <bsd.port.pre.mk>
36
43
37
.if defined(WITH_FLAC) || defined(WITH_GSM) || defined(WITH_LAME) || \
38
    defined(WITH_MAD) || defined(WITH_SNDFILE) || defined(WITH_VORBIS)
39
CPPFLAGS+=	-I${LOCALBASE}/include
44
CPPFLAGS+=	-I${LOCALBASE}/include
40
LDFLAGS+=	-L${LOCALBASE}/lib
45
LDFLAGS+=	-L${LOCALBASE}/lib
41
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
46
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
47
48
.if !defined(WITH_LAME) && !defined(WITH_MAD)
49
PLIST_SUB+=	PLIST_MP3="@comment "
50
.else
51
PLIST_SUB+=	PLIST_MP3=""
52
.endif
53
54
.if defined(WITH_AO)
55
CONFIGURE_ARGS+=	--enable-libao
56
LIB_DEPENDS+=		ao.3:${PORTSDIR}/audio/libao
57
PLIST_SUB+=		PLIST_AO=""
58
.else
59
CONFIGURE_ARGS+=	--disable-libao
60
PLIST_SUB+=		PLIST_AO="@comment "
61
.endif
62
63
.if defined(WITH_AMRNB)
64
CONFIGURE_ARGS+=	--with-amr-nb
65
LIB_DEPENDS+=		amrnb.3:${PORTSDIR}/audio/libamrnb
66
PLIST_SUB+=		PLIST_AMRNB=""
67
.else
68
CONFIGURE_ARGS+=	--without-amr-nb
69
PLIST_SUB+=		PLIST_AMRNB="@comment "
70
.endif
71
72
.if defined(WITH_AMRWB)
73
CONFIGURE_ARGS+=	--with-amr-wb
74
LIB_DEPENDS+=		amrwb.3:${PORTSDIR}/audio/libamrwb
75
PLIST_SUB+=		PLIST_AMRWB=""
76
.else
77
CONFIGURE_ARGS+=	--without-amr-wb
78
PLIST_SUB+=		PLIST_AMRWB="@comment "
79
.endif
80
81
.if defined(WITH_FFMPEG)
82
CONFIGURE_ARGS+=	--with-ffmpeg
83
LIB_DEPENDS+=		avformat.1:${PORTSDIR}/multimedia/ffmpeg
84
PLIST_SUB+=		PLIST_FFMPEG=""
85
.else
86
CONFIGURE_ARGS+=	--without-ffmpeg
87
PLIST_SUB+=		PLIST_FFMPEG="@comment "
42
.endif
88
.endif
43
89
44
.if defined(WITH_VORBIS)
90
.if defined(WITH_VORBIS)
45
CONFIGURE_ARGS+=	--with-ogg-vorbis
91
CONFIGURE_ARGS+=	--with-ogg
46
LIB_DEPENDS+=		vorbis.4:${PORTSDIR}/audio/libvorbis
92
LIB_DEPENDS+=		vorbis.4:${PORTSDIR}/audio/libvorbis
93
PLIST_SUB+=		PLIST_VORBIS=""
47
.else
94
.else
48
CONFIGURE_ARGS+=	--without-ogg-vorbis
95
CONFIGURE_ARGS+=	--without-ogg
49
# Above configure flag does not exist, so workaround with the below line
96
PLIST_SUB+=		PLIST_VORBIS="@comment "
50
CONFIGURE_ENV+=		ac_cv_header_vorbis_codec_h=no
51
.endif
97
.endif
52
98
53
.if defined(WITH_SNDFILE)
99
.if defined(WITH_SNDFILE)
54
CONFIGURE_ARGS+=	--with-sndfile
100
CONFIGURE_ARGS+=	--with-sndfile
55
LIB_DEPENDS+=		sndfile.1:${PORTSDIR}/audio/libsndfile
101
LIB_DEPENDS+=		sndfile.1:${PORTSDIR}/audio/libsndfile
102
PLIST_SUB+=		PLIST_SNDFILE=""
56
.else
103
.else
57
CONFIGURE_ARGS+=	--without-sndfile
104
CONFIGURE_ARGS+=	--without-sndfile
105
PLIST_SUB+=		PLIST_SNDFILE="@comment "
106
.endif
107
108
.if defined(WITH_LADSPA)
109
CONFIGURE_ARGS+=	--with-ladspa
110
RUN_DEPENDS+=		${LOCALBASE}/lib/ladspa/filter.so:${PORTSDIR}/audio/ladspa
111
BUILD_DEPENDS+=		${LOCALBASE}/lib/ladspa/filter.so:${PORTSDIR}/audio/ladspa
112
.else
113
CONFIGURE_ARGS+=	--without-ladspa
58
.endif
114
.endif
59
115
60
.if defined(WITH_LAME)
116
.if defined(WITH_LAME)
Lines 67-74 Link Here
67
.if defined(WITH_FLAC)
123
.if defined(WITH_FLAC)
68
CONFIGURE_ARGS+=	--with-flac
124
CONFIGURE_ARGS+=	--with-flac
69
LIB_DEPENDS+=		FLAC.7:${PORTSDIR}/audio/flac
125
LIB_DEPENDS+=		FLAC.7:${PORTSDIR}/audio/flac
126
PLIST_SUB+=		PLIST_FLAC=""
70
.else
127
.else
71
CONFIGURE_ARGS+=	--without-flac
128
CONFIGURE_ARGS+=	--without-flac
129
PLIST_SUB+=		PLIST_FLAC="@comment "
72
.endif
130
.endif
73
131
74
.if defined(WITH_MAD)
132
.if defined(WITH_MAD)
Lines 81-90 Link Here
81
.if defined(WITH_GSM)
139
.if defined(WITH_GSM)
82
CONFIGURE_ARGS+=	--with-external-gsm
140
CONFIGURE_ARGS+=	--with-external-gsm
83
LIB_DEPENDS+=		gsm.1:${PORTSDIR}/audio/gsm
141
LIB_DEPENDS+=		gsm.1:${PORTSDIR}/audio/gsm
142
PLIST_SUB+=		PLIST_GSM=""
84
.else
143
.else
85
CONFIGURE_ARGS+=	--without-external-gsm
144
CONFIGURE_ARGS+=	--without-external-gsm
86
# Above configure flag does not exist, so workaround with the below line
145
# Above configure flag does not exist, so workaround with the below line
87
CONFIGURE_ENV+=		ac_cv_header_gsm_h=no
146
CONFIGURE_ENV+=		ac_cv_header_gsm_h=no
147
PLIST_SUB+=		PLIST_GSM="@comment "
148
.endif
149
150
.if defined(WITH_SAMPLERATE)
151
CONFIGURE_ARGS+=	--with-samplerate
152
LIB_DEPENDS+=		samplerate.1:${PORTSDIR}/audio/libsamplerate
153
.else
154
CONFIGURE_ARGS+=	--without-samplerate
88
.endif
155
.endif
89
156
90
# Tell configure that libgsm's headers are in $LOCALDIR/include
157
# Tell configure that libgsm's headers are in $LOCALDIR/include
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (sox-13.0.0.tar.gz) = 0243d62895caee558b5294d5b78cfbcb
1
MD5 (sox-14.0.1.tar.gz) = 6c95af60b20b9655531bf3162c0be937
2
SHA256 (sox-13.0.0.tar.gz) = c66c52cfa42fe126592563c3d8974007a9858bd35d2c1136389a721eeebb9f8e
2
SHA256 (sox-14.0.1.tar.gz) = 52398a49bef64aa6e06b158cb59b3e1790fa1bf94262b896688bcfdcf539ca73
3
SIZE (sox-13.0.0.tar.gz) = 725259
3
SIZE (sox-14.0.1.tar.gz) = 859538
(-)pkg-plist (-7 / +207 lines)
Lines 1-11 Link Here
1
@comment $FreeBSD: ports/audio/sox/pkg-plist,v 1.8 2007/07/07 13:38:15 max Exp $
1
@comment $FreeBSD: ports/audio/sox/pkg-plist,v 1.8 2007/07/07 13:38:15 max Exp $
2
bin/libst-config
3
bin/play
2
bin/play
4
bin/rec
3
bin/rec
5
bin/sox
4
bin/sox
6
include/st.h
5
include/sox.h
7
include/ststdint.h
6
include/soxstdint.h
8
lib/libst.a
7
lib/libsfx.a
9
lib/libst.la
8
lib/libsfx.la
10
lib/libst.so
9
lib/libsfx.so
11
lib/libst.so.0
10
lib/libsfx.so.0
11
lib/libsox.a
12
lib/libsox.la
13
lib/libsox.so
14
lib/libsox.so.0
15
lib/sox/libsox_fmt_aifc.a
16
lib/sox/libsox_fmt_aifc.la
17
lib/sox/libsox_fmt_aifc.so
18
lib/sox/libsox_fmt_aifc.so.0
19
lib/sox/libsox_fmt_aiff.a
20
lib/sox/libsox_fmt_aiff.la
21
lib/sox/libsox_fmt_aiff.so
22
lib/sox/libsox_fmt_aiff.so.0
23
lib/sox/libsox_fmt_al.a
24
lib/sox/libsox_fmt_al.la
25
lib/sox/libsox_fmt_al.so
26
lib/sox/libsox_fmt_al.so.0
27
%%PLIST_AMRNB%%lib/sox/libsox_fmt_amr_nb.a
28
%%PLIST_AMRNB%%lib/sox/libsox_fmt_amr_nb.la
29
%%PLIST_AMRNB%%lib/sox/libsox_fmt_amr_nb.so
30
%%PLIST_AMRNB%%lib/sox/libsox_fmt_amr_nb.so.0
31
%%PLIST_AMRWB%%lib/sox/libsox_fmt_amr_wb.a
32
%%PLIST_AMRWB%%lib/sox/libsox_fmt_amr_wb.la
33
%%PLIST_AMRWB%%lib/sox/libsox_fmt_amr_wb.so
34
%%PLIST_AMRWB%%lib/sox/libsox_fmt_amr_wb.so.0
35
%%PLIST_AO%%lib/sox/libsox_fmt_ao.a
36
%%PLIST_AO%%lib/sox/libsox_fmt_ao.la
37
%%PLIST_AO%%lib/sox/libsox_fmt_ao.so
38
%%PLIST_AO%%lib/sox/libsox_fmt_ao.so.0
39
lib/sox/libsox_fmt_au.a
40
lib/sox/libsox_fmt_au.la
41
lib/sox/libsox_fmt_au.so
42
lib/sox/libsox_fmt_au.so.0
43
lib/sox/libsox_fmt_auto.a
44
lib/sox/libsox_fmt_auto.la
45
lib/sox/libsox_fmt_auto.so
46
lib/sox/libsox_fmt_auto.so.0
47
lib/sox/libsox_fmt_avr.a
48
lib/sox/libsox_fmt_avr.la
49
lib/sox/libsox_fmt_avr.so
50
lib/sox/libsox_fmt_avr.so.0
51
lib/sox/libsox_fmt_cdr.a
52
lib/sox/libsox_fmt_cdr.la
53
lib/sox/libsox_fmt_cdr.so
54
lib/sox/libsox_fmt_cdr.so.0
55
lib/sox/libsox_fmt_cvsd.a
56
lib/sox/libsox_fmt_cvsd.la
57
lib/sox/libsox_fmt_cvsd.so
58
lib/sox/libsox_fmt_cvsd.so.0
59
lib/sox/libsox_fmt_dat.a
60
lib/sox/libsox_fmt_dat.la
61
lib/sox/libsox_fmt_dat.so
62
lib/sox/libsox_fmt_dat.so.0
63
lib/sox/libsox_fmt_dvms.a
64
lib/sox/libsox_fmt_dvms.la
65
lib/sox/libsox_fmt_dvms.so
66
lib/sox/libsox_fmt_dvms.so.0
67
%%PLIST_FFMPEG%%lib/sox/libsox_fmt_ffmpeg.a
68
%%PLIST_FFMPEG%%lib/sox/libsox_fmt_ffmpeg.la
69
%%PLIST_FFMPEG%%lib/sox/libsox_fmt_ffmpeg.so
70
%%PLIST_FFMPEG%%lib/sox/libsox_fmt_ffmpeg.so.0
71
%%PLIST_FLAC%%lib/sox/libsox_fmt_flac.a
72
%%PLIST_FLAC%%lib/sox/libsox_fmt_flac.la
73
%%PLIST_FLAC%%lib/sox/libsox_fmt_flac.so
74
%%PLIST_FLAC%%lib/sox/libsox_fmt_flac.so.0
75
lib/sox/libsox_fmt_gsm.a
76
lib/sox/libsox_fmt_gsm.la
77
lib/sox/libsox_fmt_gsm.so
78
lib/sox/libsox_fmt_gsm.so.0
79
lib/sox/libsox_fmt_hcom.a
80
lib/sox/libsox_fmt_hcom.la
81
lib/sox/libsox_fmt_hcom.so
82
lib/sox/libsox_fmt_hcom.so.0
83
lib/sox/libsox_fmt_ima.a
84
lib/sox/libsox_fmt_ima.la
85
lib/sox/libsox_fmt_ima.so
86
lib/sox/libsox_fmt_ima.so.0
87
lib/sox/libsox_fmt_la.a
88
lib/sox/libsox_fmt_la.la
89
lib/sox/libsox_fmt_la.so
90
lib/sox/libsox_fmt_la.so.0
91
lib/sox/libsox_fmt_lpc10.a
92
lib/sox/libsox_fmt_lpc10.la
93
lib/sox/libsox_fmt_lpc10.so
94
lib/sox/libsox_fmt_lpc10.so.0
95
lib/sox/libsox_fmt_lu.a
96
lib/sox/libsox_fmt_lu.la
97
lib/sox/libsox_fmt_lu.so
98
lib/sox/libsox_fmt_lu.so.0
99
lib/sox/libsox_fmt_maud.a
100
lib/sox/libsox_fmt_maud.la
101
lib/sox/libsox_fmt_maud.so
102
lib/sox/libsox_fmt_maud.so.0
103
%%PLIST_MP3%%lib/sox/libsox_fmt_mp3.a
104
%%PLIST_MP3%%lib/sox/libsox_fmt_mp3.la
105
%%PLIST_MP3%%lib/sox/libsox_fmt_mp3.so
106
%%PLIST_MP3%%lib/sox/libsox_fmt_mp3.so.0
107
lib/sox/libsox_fmt_nul.a
108
lib/sox/libsox_fmt_nul.la
109
lib/sox/libsox_fmt_nul.so
110
lib/sox/libsox_fmt_nul.so.0
111
lib/sox/libsox_fmt_oss.a
112
lib/sox/libsox_fmt_oss.la
113
lib/sox/libsox_fmt_oss.so
114
lib/sox/libsox_fmt_oss.so.0
115
lib/sox/libsox_fmt_prc.a
116
lib/sox/libsox_fmt_prc.la
117
lib/sox/libsox_fmt_prc.so
118
lib/sox/libsox_fmt_prc.so.0
119
lib/sox/libsox_fmt_raw.a
120
lib/sox/libsox_fmt_raw.la
121
lib/sox/libsox_fmt_raw.so
122
lib/sox/libsox_fmt_raw.so.0
123
lib/sox/libsox_fmt_s1.a
124
lib/sox/libsox_fmt_s1.la
125
lib/sox/libsox_fmt_s1.so
126
lib/sox/libsox_fmt_s1.so.0
127
lib/sox/libsox_fmt_s2.a
128
lib/sox/libsox_fmt_s2.la
129
lib/sox/libsox_fmt_s2.so
130
lib/sox/libsox_fmt_s2.so.0
131
lib/sox/libsox_fmt_s3.a
132
lib/sox/libsox_fmt_s3.la
133
lib/sox/libsox_fmt_s3.so
134
lib/sox/libsox_fmt_s3.so.0
135
lib/sox/libsox_fmt_s4.a
136
lib/sox/libsox_fmt_s4.la
137
lib/sox/libsox_fmt_s4.so
138
lib/sox/libsox_fmt_s4.so.0
139
lib/sox/libsox_fmt_sf.a
140
lib/sox/libsox_fmt_sf.la
141
lib/sox/libsox_fmt_sf.so
142
lib/sox/libsox_fmt_sf.so.0
143
lib/sox/libsox_fmt_smp.a
144
lib/sox/libsox_fmt_smp.la
145
lib/sox/libsox_fmt_smp.so
146
lib/sox/libsox_fmt_smp.so.0
147
%%PLIST_SNDFILE%%lib/sox/libsox_fmt_sndfile.a
148
%%PLIST_SNDFILE%%lib/sox/libsox_fmt_sndfile.la
149
%%PLIST_SNDFILE%%lib/sox/libsox_fmt_sndfile.so
150
%%PLIST_SNDFILE%%lib/sox/libsox_fmt_sndfile.so.0
151
lib/sox/libsox_fmt_sndrtool.a
152
lib/sox/libsox_fmt_sndrtool.la
153
lib/sox/libsox_fmt_sndrtool.so
154
lib/sox/libsox_fmt_sndrtool.so.0
155
lib/sox/libsox_fmt_sphere.a
156
lib/sox/libsox_fmt_sphere.la
157
lib/sox/libsox_fmt_sphere.so
158
lib/sox/libsox_fmt_sphere.so.0
159
lib/sox/libsox_fmt_svx.a
160
lib/sox/libsox_fmt_svx.la
161
lib/sox/libsox_fmt_svx.so
162
lib/sox/libsox_fmt_svx.so.0
163
lib/sox/libsox_fmt_txw.a
164
lib/sox/libsox_fmt_txw.la
165
lib/sox/libsox_fmt_txw.so
166
lib/sox/libsox_fmt_txw.so.0
167
lib/sox/libsox_fmt_u1.a
168
lib/sox/libsox_fmt_u1.la
169
lib/sox/libsox_fmt_u1.so
170
lib/sox/libsox_fmt_u1.so.0
171
lib/sox/libsox_fmt_u2.a
172
lib/sox/libsox_fmt_u2.la
173
lib/sox/libsox_fmt_u2.so
174
lib/sox/libsox_fmt_u2.so.0
175
lib/sox/libsox_fmt_u3.a
176
lib/sox/libsox_fmt_u3.la
177
lib/sox/libsox_fmt_u3.so
178
lib/sox/libsox_fmt_u3.so.0
179
lib/sox/libsox_fmt_u4.a
180
lib/sox/libsox_fmt_u4.la
181
lib/sox/libsox_fmt_u4.so
182
lib/sox/libsox_fmt_u4.so.0
183
lib/sox/libsox_fmt_ul.a
184
lib/sox/libsox_fmt_ul.la
185
lib/sox/libsox_fmt_ul.so
186
lib/sox/libsox_fmt_ul.so.0
187
lib/sox/libsox_fmt_voc.a
188
lib/sox/libsox_fmt_voc.la
189
lib/sox/libsox_fmt_voc.so
190
lib/sox/libsox_fmt_voc.so.0
191
%%PLIST_VORBIS%%lib/sox/libsox_fmt_vorbis.a
192
%%PLIST_VORBIS%%lib/sox/libsox_fmt_vorbis.la
193
%%PLIST_VORBIS%%lib/sox/libsox_fmt_vorbis.so
194
%%PLIST_VORBIS%%lib/sox/libsox_fmt_vorbis.so.0
195
lib/sox/libsox_fmt_vox.a
196
lib/sox/libsox_fmt_vox.la
197
lib/sox/libsox_fmt_vox.so
198
lib/sox/libsox_fmt_vox.so.0
199
lib/sox/libsox_fmt_wav.a
200
lib/sox/libsox_fmt_wav.la
201
lib/sox/libsox_fmt_wav.so
202
lib/sox/libsox_fmt_wav.so.0
203
lib/sox/libsox_fmt_wve.a
204
lib/sox/libsox_fmt_wve.la
205
lib/sox/libsox_fmt_wve.so
206
lib/sox/libsox_fmt_wve.so.0
207
lib/sox/libsox_fmt_xa.a
208
lib/sox/libsox_fmt_xa.la
209
lib/sox/libsox_fmt_xa.so
210
lib/sox/libsox_fmt_xa.so.0
211
@dirrm lib/sox

Return to bug 120418