pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg4 Add an option for webp support
details: https://anonhg.NetBSD.org/pkgsrc/rev/0840527e7c81
branches: trunk
changeset: 438908:0840527e7c81
user: manu <manu%pkgsrc.org@localhost>
date: Sat Sep 12 00:45:22 2020 +0000
description:
Add an option for webp support
>From Jean-Jacques Puig
diffstat:
multimedia/ffmpeg4/options.mk | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 50989905de28 -r 0840527e7c81 multimedia/ffmpeg4/options.mk
--- a/multimedia/ffmpeg4/options.mk Sat Sep 12 00:23:13 2020 +0000
+++ b/multimedia/ffmpeg4/options.mk Sat Sep 12 00:45:22 2020 +0000
@@ -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_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+= --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