aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2008-01-11 06:32:11 +0800
committeranders <anders@FreeBSD.org>2008-01-11 06:32:11 +0800
commitc9f9a330730b10c6efedc1f8920184fa59977ce8 (patch)
treedd08120d073f4256af0af8a3e97fc6d948ea9b01 /multimedia/ffmpeg
parent493390d5e3e7738b49b28f1abe91822f9dbcdc25 (diff)
downloadfreebsd-ports-gnome-c9f9a330730b10c6efedc1f8920184fa59977ce8.tar.gz
freebsd-ports-gnome-c9f9a330730b10c6efedc1f8920184fa59977ce8.tar.zst
freebsd-ports-gnome-c9f9a330730b10c6efedc1f8920184fa59977ce8.zip
Add support for 3GPP floating-point Adaptive Multi-Rate (AMR) speech
codec.
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r--multimedia/ffmpeg/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 313b850d4dd2..c1f78ff616cf 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -98,6 +98,17 @@ LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad
CONFIGURE_ARGS+= --enable-libfaad \
--enable-libfaadbin
.endif
+## amr
+.ifdef(WITH_AMR_NB) || exists($LOCALBASE}/lib/libamrnb.so)
+LIB_DEPENDS+= amrnb.3:${PORTSDIR}/audio/libamrnb
+
+CONFIGURE_ARGS+= --enable-libamr-nb
+.endif
+.ifdef(WITH_AMR_WB) || exists($LOCALBASE}/lib/libamrwb.so)
+LIB_DEPENDS+= amrwb.3:${PORTSDIR}/audio/libamrwb
+
+CONFIGURE_ARGS+= --enable-libamr-wb
+.endif
USE_RC_SUBR= ffserver
.if ${MACHINE_CPU:Mmmx}==""