aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg/Makefile
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-07-28 02:53:43 +0800
committermm <mm@FreeBSD.org>2010-07-28 02:53:43 +0800
commitbdf8dec9bc0b180ffd8fe4674f76f0c96389b4ac (patch)
tree27064283d93cd4ba3053a649bdd18fdd14ab2ff7 /multimedia/ffmpeg/Makefile
parent61b92c9da9f5ebc6087f3b0c3c547506d29ffa9a (diff)
downloadfreebsd-ports-gnome-bdf8dec9bc0b180ffd8fe4674f76f0c96389b4ac.tar.gz
freebsd-ports-gnome-bdf8dec9bc0b180ffd8fe4674f76f0c96389b4ac.tar.zst
freebsd-ports-gnome-bdf8dec9bc0b180ffd8fe4674f76f0c96389b4ac.zip
Add VP8 codec support via libvpx and enable by default
PR: ports/149006 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
Diffstat (limited to 'multimedia/ffmpeg/Makefile')
-rw-r--r--multimedia/ffmpeg/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index ada44239b402..72b12525766e 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ffmpeg
PORTVERSION= 0.6
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= http://ffmpeg.org/releases/
@@ -42,6 +42,7 @@ OPTIONS= AMR_NB "AMR Narrow Band encoder (opencore)" off \
SSSE3 "Enable ssse3 support" on \
THEORA "Theora encoder (implies OGG)" on \
VORBIS "Vorbis encoder via libvorbis (implies OGG)" on \
+ VP8 "VP8 codec via libvpx" on \
X264 "H.264 encoder" on \
XVID "Xvid encoder via xvidcore" on
@@ -265,6 +266,14 @@ FFMPEG_CFLAGS+= -I${LOCALBASE}/include/vorbis
CONFIGURE_ARGS+= --disable-libvorbis
.endif
+# vp8
+.ifndef(WITHOUT_VP8)
+LIB_DEPENDS+= vpx.0:${PORTSDIR}/multimedia/libvpx
+CONFIGURE_ARGS+= --enable-libvpx
+.else
+CONFIGURE_ARGS+= --disable-libvpx
+.endif
+
# x264
.ifndef(WITHOUT_X264)
LIB_DEPENDS+= x264.98:${PORTSDIR}/multimedia/x264