summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg2
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-06-18 14:41:09 +0000
committernia <nia@pkgsrc.org>2019-06-18 14:41:09 +0000
commit02ee85d12ceff58b2e232647e949fabe1fa0bdfe (patch)
treea9f49699885bd9b885689fd4977134d5d2b910d6 /multimedia/ffmpeg2
parent0d9eebe5f81daf63f59d813dc44288f822653f44 (diff)
downloadpkgsrc-02ee85d12ceff58b2e232647e949fabe1fa0bdfe.tar.gz
ffmpeg*: Make x11 option imply xcb.
This way x11grab works without rebuilding.
Diffstat (limited to 'multimedia/ffmpeg2')
-rw-r--r--multimedia/ffmpeg2/Makefile4
-rw-r--r--multimedia/ffmpeg2/options.mk8
2 files changed, 7 insertions, 5 deletions
diff --git a/multimedia/ffmpeg2/Makefile b/multimedia/ffmpeg2/Makefile
index d553dc1f0ba..6d2dff07e25 100644
--- a/multimedia/ffmpeg2/Makefile
+++ b/multimedia/ffmpeg2/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2019/01/03 11:56:08 bsiegert Exp $
+# $NetBSD: Makefile,v 1.49 2019/06/18 14:41:09 nia Exp $
PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg2/}
-PKGREVISION= 7
+PKGREVISION= 8
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
COMMENT= Decoding, encoding and streaming software (v2.x)
diff --git a/multimedia/ffmpeg2/options.mk b/multimedia/ffmpeg2/options.mk
index 9f7c0afcf3b..063bc8c3de9 100644
--- a/multimedia/ffmpeg2/options.mk
+++ b/multimedia/ffmpeg2/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.15 2019/01/03 11:56:08 bsiegert Exp $
+# $NetBSD: options.mk,v 1.16 2019/06/18 14:41:09 nia Exp $
# Global and legacy options
@@ -9,10 +9,12 @@ PKG_OPTIONS_GROUP.ssl= gnutls openssl
PKG_SUPPORTED_OPTIONS= ass doc faac fdk-aac fontconfig freetype lame \
libvpx opencore-amr rtmp theora vorbis x11 x264 \
- x265 xcb xvid
+ x265 xvid
PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx \
theora vorbis x11 x264 xvid
+PKG_OPTIONS_LEGACY_OPTS+= xcb:x11
+
PLIST_VARS+= doc
# Add VDPAU if it is available
@@ -196,7 +198,7 @@ CONFIGURE_ARGS+= --disable-libvpx
.endif
# X11 screen capture support using libxcb
-.if !empty(PKG_OPTIONS:Mxcb)
+.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --enable-libxcb
CONFIGURE_ARGS+= --enable-libxcb-shape
CONFIGURE_ARGS+= --enable-libxcb-shm