diff options
author | mm <mm@FreeBSD.org> | 2009-12-31 19:15:30 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2009-12-31 19:15:30 +0800 |
commit | e50786891be11c488eb599481cd95b72ee1b33d2 (patch) | |
tree | 4f44bd0cc4523def91baefb9a4b112a2183b4241 /multimedia/ffmpeg | |
parent | f6e3f0a972b5ab520c662c843f6ac780ee31cea5 (diff) | |
download | freebsd-ports-gnome-e50786891be11c488eb599481cd95b72ee1b33d2.tar.gz freebsd-ports-gnome-e50786891be11c488eb599481cd95b72ee1b33d2.tar.zst freebsd-ports-gnome-e50786891be11c488eb599481cd95b72ee1b33d2.zip |
- Move x11grab to OPTIONS as this requires x11, disable by default
- Bump PORTREVISION
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r-- | multimedia/ffmpeg/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 588f27e8a141..a74cf7f5b113 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -7,7 +7,7 @@ PORTNAME= ffmpeg PORTVERSION= 0.5 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= multimedia audio ipv6 net MASTER_SITES= http://ffmpeg.org/releases/ @@ -43,6 +43,7 @@ OPTIONS= AMR_NB "AMR Narrow Band encoder" off \ THEORA "Theora encoder (implies OGG)" on \ VHOOK "Video hook support" off \ VORBIS "Vorbis encoder via libvorbis (implies OGG)" on \ + X11GRAB "enable X11 grabbing" off \ X264 "H.264 encoder" on \ XVID "Xvid encoder via xvidcore" on @@ -84,7 +85,6 @@ CONFIGURE_ARGS+=--prefix="${PREFIX}" \ --enable-avfilter \ --enable-avfilter-lavf \ --enable-pthreads \ - --enable-x11grab \ --enable-memalign-hack \ --cc="${CC}" \ --extra-cflags="${FFMPEG_CFLAGS} -I${LOCALBASE}/include" \ @@ -277,6 +277,15 @@ FFMPEG_CFLAGS+= -I${LOCALBASE}/include/vorbis CONFIGURE_ARGS+= --disable-libvorbis .endif +# x11grab +.if defined(WITH_X11GRAB) && !defined(WITHOUT_X11) +USE_XORG= x11 xext +CONFIGURE_ARGS+= --enable-x11grab +.else +CONFIGURE_ARGS+= --disable-x11grab +.endif + + # x264 .ifndef(WITHOUT_X264) LIB_DEPENDS+= x264.65:${PORTSDIR}/multimedia/x264 |