diff options
author | mm <mm@FreeBSD.org> | 2010-07-28 02:53:43 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-07-28 02:53:43 +0800 |
commit | bdf8dec9bc0b180ffd8fe4674f76f0c96389b4ac (patch) | |
tree | 27064283d93cd4ba3053a649bdd18fdd14ab2ff7 | |
parent | 61b92c9da9f5ebc6087f3b0c3c547506d29ffa9a (diff) | |
download | freebsd-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>
-rw-r--r-- | multimedia/ffmpeg-devel/Makefile | 10 | ||||
-rw-r--r-- | multimedia/ffmpeg/Makefile | 11 |
2 files changed, 20 insertions, 1 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 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 |