diff options
author | makc <makc@FreeBSD.org> | 2010-12-17 01:34:41 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2010-12-17 01:34:41 +0800 |
commit | b04ad5e86470cce32b47ef11a8b7496bdd2660b4 (patch) | |
tree | 747166967fbec64b3637257f0281ffd07cc7bdf7 /audio | |
parent | e301cb78da2a6a181c1c7ce1c4b5b3f2ff8a7391 (diff) | |
download | freebsd-ports-graphics-b04ad5e86470cce32b47ef11a8b7496bdd2660b4.tar.gz freebsd-ports-graphics-b04ad5e86470cce32b47ef11a8b7496bdd2660b4.tar.zst freebsd-ports-graphics-b04ad5e86470cce32b47ef11a8b7496bdd2660b4.zip |
Add optinal dependency on alsa-lib
Remove md5 checksum while I'm here
PR: ports/153159
Reported by: Anatoly Borodin <anatoly.borodin at gmail.com>
Patched by: Dan Nelson (maintainer)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/sox/Makefile | 11 | ||||
-rw-r--r-- | audio/sox/distinfo | 1 |
2 files changed, 10 insertions, 2 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile index 43626d5982e..f8b3e2d90f1 100644 --- a/audio/sox/Makefile +++ b/audio/sox/Makefile @@ -32,7 +32,8 @@ _LAME= off _LAME= on .endif -OPTIONS= AO "Enable libao output" on \ +OPTIONS= ALSA "ALSA output driver" off \ + AO "Enable libao output" on \ AMRNB "AMR Speech Codec (Narrowband)" off \ AMRWB "AMR Speech Codec (Wideband)" off \ FFMPEG "Enable ffmpeg en/decoding" on \ @@ -55,6 +56,14 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS+= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" CONFIGURE_ARGS+= --with-distro="${CONFIGURE_TARGET} ${PKGNAME}" +.if defined(WITH_ALSA) +LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib +RUN_DEPENDS+= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins +CONFIGURE_ARGS+= --with-alsa +.else +CONFIGURE_ARGS+= --without-alsa +.endif + .if defined(WITH_AO) CONFIGURE_ARGS+= --with-ao LIB_DEPENDS+= ao.4:${PORTSDIR}/audio/libao diff --git a/audio/sox/distinfo b/audio/sox/distinfo index 934ccb6a10d..9cb30480c67 100644 --- a/audio/sox/distinfo +++ b/audio/sox/distinfo @@ -1,3 +1,2 @@ -MD5 (sox-14.3.0.tar.gz) = 8e3509804e6227273ef84092e1a2fea7 SHA256 (sox-14.3.0.tar.gz) = 9abf411c949366d75c884b368284690b6c8c7d5fb5df0deaf599539b704b2397 SIZE (sox-14.3.0.tar.gz) = 1007679 |