aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg-devel
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-devel
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-devel')
-rw-r--r--multimedia/ffmpeg-devel/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index e4994593b64e..3101a4975c38 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ffmpeg
DISTVERSION= 2010-07-25
+PORTREVISION= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= mm
@@ -43,6 +44,7 @@ OPTIONS= AMR_NB "AMR Narrow Band encoder (opencore)" on \
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" off \
XVID "Xvid encoder via xvidcore" on
@@ -259,6 +261,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
.ifdef(WITH_X264)
LIB_DEPENDS+= x264.98:${PORTSDIR}/multimedia/x264