pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/ffmpeg4



Module Name:    pkgsrc
Committed By:   manu
Date:           Sat Sep 12 00:45:22 UTC 2020

Modified Files:
        pkgsrc/multimedia/ffmpeg4: options.mk

Log Message:
Add an option for webp support
>From Jean-Jacques Puig


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/multimedia/ffmpeg4/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/ffmpeg4/options.mk
diff -u pkgsrc/multimedia/ffmpeg4/options.mk:1.15 pkgsrc/multimedia/ffmpeg4/options.mk:1.16
--- pkgsrc/multimedia/ffmpeg4/options.mk:1.15   Wed Apr 29 15:11:10 2020
+++ pkgsrc/multimedia/ffmpeg4/options.mk        Sat Sep 12 00:45:22 2020
@@ -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 o
 
 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



Home | Main Index | Thread Index | Old Index