pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia ffmpeg*: Sync default options with ffmpeg4
details: https://anonhg.NetBSD.org/pkgsrc/rev/0719c786276d
branches: trunk
changeset: 427969:0719c786276d
user: nia <nia%pkgsrc.org@localhost>
date: Thu Apr 23 10:29:19 2020 +0000
description:
ffmpeg*: Sync default options with ffmpeg4
diffstat:
multimedia/ffmpeg2/Makefile | 4 ++--
multimedia/ffmpeg2/options.mk | 35 +++++++++++++++++++++++++++++------
multimedia/ffmpeg3/Makefile | 4 ++--
multimedia/ffmpeg3/options.mk | 18 +++++++++++++-----
multimedia/ffmpeg4/options.mk | 4 ++--
5 files changed, 48 insertions(+), 17 deletions(-)
diffs (150 lines):
diff -r 91de8ad99922 -r 0719c786276d multimedia/ffmpeg2/Makefile
--- a/multimedia/ffmpeg2/Makefile Thu Apr 23 08:44:26 2020 +0000
+++ b/multimedia/ffmpeg2/Makefile Thu Apr 23 10:29:19 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.54 2020/03/10 22:10:38 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2020/04/23 10:29:19 nia Exp $
PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg2/}
-PKGREVISION= 13
+PKGREVISION= 14
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
COMMENT= Decoding, encoding and streaming software (v2.x)
diff -r 91de8ad99922 -r 0719c786276d multimedia/ffmpeg2/options.mk
--- a/multimedia/ffmpeg2/options.mk Thu Apr 23 08:44:26 2020 +0000
+++ b/multimedia/ffmpeg2/options.mk Thu Apr 23 10:29:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.16 2019/06/18 14:41:09 nia Exp $
+# $NetBSD: options.mk,v 1.17 2020/04/23 10:29:19 nia Exp $
# Global and legacy options
@@ -7,11 +7,11 @@
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
PKG_OPTIONS_GROUP.ssl= gnutls openssl
-PKG_SUPPORTED_OPTIONS= ass doc faac fdk-aac fontconfig freetype lame \
- libvpx opencore-amr rtmp theora vorbis x11 x264 \
- x265 xvid
-PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx \
- theora vorbis x11 x264 xvid
+PKG_SUPPORTED_OPTIONS= ass bluray doc faac fdk-aac fontconfig freetype \
+ lame libvpx opencore-amr opus pulseaudio rtmp \
+ theora vorbis x11 x264 x265 xvid
+PKG_SUGGESTED_OPTIONS= lame ass bluray freetype fontconfig gnutls libvpx \
+ opus theora vorbis x11 x264 x265 xvid
PKG_OPTIONS_LEGACY_OPTS+= xcb:x11
@@ -123,6 +123,15 @@
CONFIGURE_ARGS+= --disable-openssl
.endif
+
+# pulseaudio option
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+CONFIGURE_ARGS+= --enable-libpulse
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libpulse
+.endif
+
# RTMP support via librtmp
.if !empty(PKG_OPTIONS:Mrtmp)
CONFIGURE_ARGS+= --enable-librtmp
@@ -149,6 +158,12 @@
.include "../../audio/lame/buildlink3.mk"
.endif
+# OPUS support
+.if !empty(PKG_OPTIONS:Mopus)
+CONFIGURE_ARGS+= --enable-libopus
+.include "../../audio/libopus/buildlink3.mk"
+.endif
+
# XviD support
.if !empty(PKG_OPTIONS:Mxvid)
CONFIGURE_ARGS+= --enable-libxvid
@@ -207,3 +222,11 @@
.else
CONFIGURE_ARGS+= --disable-libxcb
.endif
+
+# Bluray support
+.if !empty(PKG_OPTIONS:Mbluray)
+CONFIGURE_ARGS+= --enable-libbluray
+.include "../../multimedia/libbluray/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libbluray
+.endif
diff -r 91de8ad99922 -r 0719c786276d multimedia/ffmpeg3/Makefile
--- a/multimedia/ffmpeg3/Makefile Thu Apr 23 08:44:26 2020 +0000
+++ b/multimedia/ffmpeg3/Makefile Thu Apr 23 10:29:19 2020 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.48 2020/03/10 22:10:38 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2020/04/23 10:29:19 nia Exp $
PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg3/}
-PKGREVISION= 3
+PKGREVISION= 4
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
COMMENT= Decoding, encoding and streaming software (v3.x)
diff -r 91de8ad99922 -r 0719c786276d multimedia/ffmpeg3/options.mk
--- a/multimedia/ffmpeg3/options.mk Thu Apr 23 08:44:26 2020 +0000
+++ b/multimedia/ffmpeg3/options.mk Thu Apr 23 10:29:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.16 2019/06/18 14:41:09 nia Exp $
+# $NetBSD: options.mk,v 1.17 2020/04/23 10:29:19 nia Exp $
# Global and legacy options
@@ -8,10 +8,10 @@
PKG_OPTIONS_GROUP.ssl= gnutls openssl
PKG_SUPPORTED_OPTIONS= ass bluray doc fdk-aac fontconfig freetype \
- lame libvpx opencore-amr opus rpi rtmp \
- tesseract theora vorbis x11 x264 x265 xvid
-PKG_SUGGESTED_OPTIONS= lame ass bluray freetype fontconfig libvpx openssl \
- theora vorbis x11 x264 xvid
+ lame libvpx opencore-amr opus pulseaudio rpi \
+ rtmp tesseract theora vorbis x11 x264 x265 xvid
+PKG_SUGGESTED_OPTIONS= lame ass bluray freetype fontconfig gnutls libvpx \
+ opus theora vorbis x11 x264 x265 xvid
PKG_OPTIONS_LEGACY_OPTS+= xcb:x11
@@ -110,6 +110,14 @@
CONFIGURE_ARGS+= --disable-openssl
.endif
+# pulseaudio option
+.if !empty(PKG_OPTIONS:Mpulseaudio)
+CONFIGURE_ARGS+= --enable-libpulse
+.include "../../audio/pulseaudio/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libpulse
+.endif
+
# RTMP support via librtmp
.if !empty(PKG_OPTIONS:Mrtmp)
CONFIGURE_ARGS+= --enable-librtmp
diff -r 91de8ad99922 -r 0719c786276d multimedia/ffmpeg4/options.mk
--- a/multimedia/ffmpeg4/options.mk Thu Apr 23 08:44:26 2020 +0000
+++ b/multimedia/ffmpeg4/options.mk Thu Apr 23 10:29:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.11 2020/04/19 18:25:07 nia Exp $
+# $NetBSD: options.mk,v 1.12 2020/04/23 10:29:19 nia Exp $
# Global and legacy options
@@ -7,7 +7,7 @@
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 \
+ lame libvpx opencore-amr opus pulseaudio rpi \
rtmp tesseract theora vorbis x11 x264 x265 xvid
PKG_SUGGESTED_OPTIONS= lame ass av1 bluray freetype fontconfig gnutls \
libvpx opus theora vorbis x11 x264 x265 xvid
Home |
Main Index |
Thread Index |
Old Index