diff options
author | manu <manu@pkgsrc.org> | 2020-09-12 00:45:22 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2020-09-12 00:45:22 +0000 |
commit | d738c065dd07033363a0889b5ccfff9579364b73 (patch) | |
tree | f4fda02d386030c69faa80b34d6702ee6ff813b6 /multimedia/ffmpeg4/options.mk | |
parent | 774890b128ed0763be5032b4dd7ea94d99cff5be (diff) | |
download | pkgsrc-d738c065dd07033363a0889b5ccfff9579364b73.tar.gz |
Add an option for webp support
From Jean-Jacques Puig
Diffstat (limited to 'multimedia/ffmpeg4/options.mk')
-rw-r--r-- | multimedia/ffmpeg4/options.mk | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/multimedia/ffmpeg4/options.mk b/multimedia/ffmpeg4/options.mk index 2a94f80ab0a..aa9ca2c88dd 100644 --- a/multimedia/ffmpeg4/options.mk +++ b/multimedia/ffmpeg4/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.15 2020/04/29 15:11:10 nia Exp $ +# $NetBSD: options.mk,v 1.16 2020/09/12 00:45:22 manu Exp $ # Global and legacy options @@ -7,10 +7,10 @@ PKG_OPTIONS_GROUP.ssl= gnutls mbedtls openssl PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg4 PKG_SUPPORTED_OPTIONS= ass av1 bluray doc fdk-aac fontconfig freetype jack \ - lame libvpx opencore-amr opus pulseaudio rpi rtmp \ + lame libvpx libwebp opencore-amr opus pulseaudio rpi rtmp \ speex tesseract theora vorbis x11 x264 x265 xvid PKG_SUGGESTED_OPTIONS= ass av1 bluray freetype fontconfig gnutls lame \ - libvpx opus speex theora vorbis x11 x264 x265 xvid + libvpx libwebp opus speex theora vorbis x11 x264 x265 xvid PKG_OPTIONS_LEGACY_OPTS+= xcb:x11 @@ -249,6 +249,14 @@ CONFIGURE_ARGS+= --enable-libvpx CONFIGURE_ARGS+= --disable-libvpx .endif +# WEBP support +.if !empty(PKG_OPTIONS:Mlibwebp) +CONFIGURE_ARGS+= --enable-libwebp +.include "../../graphics/libwebp/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-libwebp +.endif + # X11 screen capture support using libxcb .if !empty(PKG_OPTIONS:Mx11) CONFIGURE_ARGS+= --enable-libxcb |