pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia ffmpeg*: Make x11 option imply xcb.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5cdf54c95a6d
branches:  trunk
changeset: 397217:5cdf54c95a6d
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue Jun 18 14:41:09 2019 +0000

description:
ffmpeg*: Make x11 option imply xcb.

This way x11grab works without rebuilding.

diffstat:

 multimedia/ffmpeg2/Makefile   |  4 ++--
 multimedia/ffmpeg2/options.mk |  8 +++++---
 multimedia/ffmpeg3/Makefile   |  3 ++-
 multimedia/ffmpeg3/options.mk |  8 +++++---
 multimedia/ffmpeg4/Makefile   |  3 ++-
 multimedia/ffmpeg4/options.mk |  8 +++++---
 6 files changed, 21 insertions(+), 13 deletions(-)

diffs (133 lines):

diff -r 99ebe3cc12be -r 5cdf54c95a6d multimedia/ffmpeg2/Makefile
--- a/multimedia/ffmpeg2/Makefile       Tue Jun 18 14:40:48 2019 +0000
+++ b/multimedia/ffmpeg2/Makefile       Tue Jun 18 14:41:09 2019 +0000
@@ -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@localhost
 HOMEPAGE=      http://ffmpeg.mplayerhq.hu/
 COMMENT=       Decoding, encoding and streaming software (v2.x)
diff -r 99ebe3cc12be -r 5cdf54c95a6d multimedia/ffmpeg2/options.mk
--- a/multimedia/ffmpeg2/options.mk     Tue Jun 18 14:40:48 2019 +0000
+++ b/multimedia/ffmpeg2/options.mk     Tue Jun 18 14:41:09 2019 +0000
@@ -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_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 @@
 .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
diff -r 99ebe3cc12be -r 5cdf54c95a6d multimedia/ffmpeg3/Makefile
--- a/multimedia/ffmpeg3/Makefile       Tue Jun 18 14:40:48 2019 +0000
+++ b/multimedia/ffmpeg3/Makefile       Tue Jun 18 14:41:09 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.41 2019/04/27 19:39:22 wiz Exp $
+# $NetBSD: Makefile,v 1.42 2019/06/18 14:41:09 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/ffmpeg/ffmpeg3/}
+PKGREVISION=   1
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://ffmpeg.mplayerhq.hu/
 COMMENT=       Decoding, encoding and streaming software (v3.x)
diff -r 99ebe3cc12be -r 5cdf54c95a6d multimedia/ffmpeg3/options.mk
--- a/multimedia/ffmpeg3/options.mk     Tue Jun 18 14:40:48 2019 +0000
+++ b/multimedia/ffmpeg3/options.mk     Tue Jun 18 14:41:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.15 2018/10/09 11:04:10 leot Exp $
+# $NetBSD: options.mk,v 1.16 2019/06/18 14:41:09 nia Exp $
 
 # Global and legacy options
 
@@ -9,10 +9,12 @@
 
 PKG_SUPPORTED_OPTIONS= ass bluray doc fdk-aac fontconfig freetype \
                        lame libvpx opencore-amr opus rpi rtmp \
-                       tesseract theora vorbis x11 x264 x265 xcb xvid
+                       tesseract theora vorbis x11 x264 x265 xvid
 PKG_SUGGESTED_OPTIONS= lame ass bluray freetype fontconfig libvpx openssl \
                        theora vorbis x11 x264 xvid
 
+PKG_OPTIONS_LEGACY_OPTS+=      xcb:x11
+
 PLIST_VARS+=           doc
 
 # Add VDPAU if it is available
@@ -211,7 +213,7 @@
 .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
diff -r 99ebe3cc12be -r 5cdf54c95a6d multimedia/ffmpeg4/Makefile
--- a/multimedia/ffmpeg4/Makefile       Tue Jun 18 14:40:48 2019 +0000
+++ b/multimedia/ffmpeg4/Makefile       Tue Jun 18 14:41:09 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2019/02/11 09:24:22 adam Exp $
+# $NetBSD: Makefile,v 1.13 2019/06/18 14:41:09 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/ffmpeg/ffmpeg4/}
+PKGREVISION=   1
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://ffmpeg.mplayerhq.hu/
 COMMENT=       Decoding, encoding and streaming software (v4.x)
diff -r 99ebe3cc12be -r 5cdf54c95a6d multimedia/ffmpeg4/options.mk
--- a/multimedia/ffmpeg4/options.mk     Tue Jun 18 14:40:48 2019 +0000
+++ b/multimedia/ffmpeg4/options.mk     Tue Jun 18 14:41:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2018/12/02 17:11:16 tsutsui Exp $
+# $NetBSD: options.mk,v 1.10 2019/06/18 14:41:09 nia Exp $
 
 # Global and legacy options
 
@@ -8,10 +8,12 @@
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ffmpeg4
 PKG_SUPPORTED_OPTIONS= ass av1 bluray doc fdk-aac fontconfig freetype \
                        gnutls lame libvpx opencore-amr opus pulseaudio rpi \
-                       rtmp tesseract theora vorbis x11 x264 x265 xcb xvid
+                       rtmp tesseract theora vorbis x11 x264 x265 xvid
 PKG_SUGGESTED_OPTIONS= lame ass av1 bluray freetype fontconfig libvpx \
                        openssl theora vorbis x11 x264 xvid
 
+PKG_OPTIONS_LEGACY_OPTS+=      xcb:x11
+
 PLIST_VARS+=           doc
 
 # Add VDPAU if it is available
@@ -227,7 +229,7 @@
 .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



Home | Main Index | Thread Index | Old Index