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

(-)Makefile (-2 / +11 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	sox
8
PORTNAME=	sox
9
PORTVERSION=	14.3.0
9
PORTVERSION=	14.3.0
10
PORTREVISION=	6
10
PORTREVISION=	7
11
CATEGORIES=	audio
11
CATEGORIES=	audio
12
MASTER_SITES=	SF
12
MASTER_SITES=	SF
13
13
Lines 32-38 Link Here
32
_LAME=	on
32
_LAME=	on
33
.endif
33
.endif
34
34
35
OPTIONS=	AO "Enable libao output" on \
35
OPTIONS=	ALSA "ALSA output driver" off \
36
		AO "Enable libao output" on \
36
		AMRNB "AMR Speech Codec (Narrowband)" off \
37
		AMRNB "AMR Speech Codec (Narrowband)" off \
37
		AMRWB "AMR Speech Codec (Wideband)" off \
38
		AMRWB "AMR Speech Codec (Wideband)" off \
38
		FFMPEG "Enable ffmpeg en/decoding" on \
39
		FFMPEG "Enable ffmpeg en/decoding" on \
Lines 55-60 Link Here
55
CONFIGURE_ARGS+=	--with-pkgconfigdir="${PREFIX}/libdata/pkgconfig"
56
CONFIGURE_ARGS+=	--with-pkgconfigdir="${PREFIX}/libdata/pkgconfig"
56
CONFIGURE_ARGS+=	--with-distro="${CONFIGURE_TARGET} ${PKGNAME}"
57
CONFIGURE_ARGS+=	--with-distro="${CONFIGURE_TARGET} ${PKGNAME}"
57
58
59
.if defined(WITH_ALSA)
60
LIB_DEPENDS+=		asound.2:${PORTSDIR}/audio/alsa-lib
61
RUN_DEPENDS+=		${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins
62
CONFIGURE_ARGS+=	--with-alsa
63
.else
64
CONFIGURE_ARGS+=	--without-alsa
65
.endif
66
58
.if defined(WITH_AO)
67
.if defined(WITH_AO)
59
CONFIGURE_ARGS+=	--with-ao
68
CONFIGURE_ARGS+=	--with-ao
60
LIB_DEPENDS+=		ao.4:${PORTSDIR}/audio/libao
69
LIB_DEPENDS+=		ao.4:${PORTSDIR}/audio/libao

Return to bug 153159