diff options
author | tnn <tnn@pkgsrc.org> | 2015-11-07 16:58:13 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-11-07 16:58:13 +0000 |
commit | 02f16ff86b79901212040d0fee0b81d2ec77a26d (patch) | |
tree | b434de5566777ecfc7881f6516de4fdebd811d62 | |
parent | 650d984b132742f83c6240c8977698f49fd019f0 (diff) | |
download | pkgsrc-02f16ff86b79901212040d0fee0b81d2ec77a26d.tar.gz |
Add xcb option (X11 screen capture support using libxcb)
Not enabled by default since it implies X11 dependency and I'm not
sure how people would feel about that.
-rw-r--r-- | multimedia/ffmpeg2/options.mk | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/multimedia/ffmpeg2/options.mk b/multimedia/ffmpeg2/options.mk index 4258f7aff9e..e443c2db4da 100644 --- a/multimedia/ffmpeg2/options.mk +++ b/multimedia/ffmpeg2/options.mk @@ -1,10 +1,11 @@ -# $NetBSD: options.mk,v 1.8 2015/10/08 01:02:42 leot Exp $ +# $NetBSD: options.mk,v 1.9 2015/11/07 16:58:13 tnn Exp $ # Global and legacy options PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg2 PKG_SUPPORTED_OPTIONS= ass faac fdk-aac fontconfig freetype gnutls lame \ - libvpx opencore-amr openssl theora vorbis x264 x265 xvid + libvpx opencore-amr openssl theora vorbis x264 x265 \ + xcb xvid PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx theora vorbis x264 \ xvid @@ -172,3 +173,14 @@ CONFIGURE_ARGS+= --enable-libvpx .else CONFIGURE_ARGS+= --disable-libvpx .endif + +# X11 screen capture support using libxcb +.if !empty(PKG_OPTIONS:Mxcb) +CONFIGURE_ARGS+= --enable-libxcb +CONFIGURE_ARGS+= --enable-libxcb-shape +CONFIGURE_ARGS+= --enable-libxcb-shm +CONFIGURE_ARGS+= --enable-libxcb-xfixes +.include "../../x11/libxcb/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-libxcb +.endif |