- Move x11grab to OPTIONS as this requires x11, disable by default
- Bump PORTREVISION
This commit is contained in:
parent
59eb46bcd3
commit
9b17ff07f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246930
1 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue