aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg-devel
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2011-06-25 16:46:06 +0800
committermm <mm@FreeBSD.org>2011-06-25 16:46:06 +0800
commitb88c0be563449467be9bde94268de746274dd2da (patch)
tree0ede3e6bbfc2ec91b3ebc7d099fb30e098af592d /multimedia/ffmpeg-devel
parent3f8f2128ef2403352f4f2fb61738a7788a4b7bd8 (diff)
downloadfreebsd-ports-gnome-b88c0be563449467be9bde94268de746274dd2da.tar.gz
freebsd-ports-gnome-b88c0be563449467be9bde94268de746274dd2da.tar.zst
freebsd-ports-gnome-b88c0be563449467be9bde94268de746274dd2da.zip
Reorder knobs for Opencore AMR NB and AMR WB
Diffstat (limited to 'multimedia/ffmpeg-devel')
-rw-r--r--multimedia/ffmpeg-devel/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index 5c801dbea5b3..277ca45d3aec 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -177,20 +177,19 @@ CONFIGURE_ARGS+= --disable-indev=alsa \
--disable-outdev=alsa
.endif
-# amr
-.if defined(WITH_AMR_NB) || defined(WITH_AMR_WB)
-LIB_DEPENDS+= opencore-amrnb.0:${PORTSDIR}/audio/opencore-amr
-.endif
-
+# Opencore AMR NB
.if defined(WITH_AMR_NB)
FFMPEG_LICENSE_GPL3= yes
+LIB_DEPENDS+= opencore-amrnb.0:${PORTSDIR}/audio/opencore-amr
CONFIGURE_ARGS+= --enable-libopencore-amrnb
.else
CONFIGURE_ARGS+= --disable-libopencore-amrnb
.endif
+# Opencore AMR WB
.if defined(WITH_AMR_WB)
FFMPEG_LICENSE_GPL3= yes
+LIB_DEPENDS+= opencore-amrwb.0:${PORTSDIR}/audio/opencore-amr
CONFIGURE_ARGS+= --enable-libopencore-amrwb
.else
CONFIGURE_ARGS+= --disable-libopencore-amrwb