pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg4 ffmpeg4: add default enabled AV1 op...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9cc0a2f4c561
branches: trunk
changeset: 313443:9cc0a2f4c561
user: maya <maya%pkgsrc.org@localhost>
date: Sun Sep 30 19:00:31 2018 +0000
description:
ffmpeg4: add default enabled AV1 option. bump PKGREVISION
diffstat:
multimedia/ffmpeg4/Makefile | 4 ++--
multimedia/ffmpeg4/buildlink3.mk | 6 +++++-
multimedia/ffmpeg4/options.mk | 20 ++++++++++++++------
3 files changed, 21 insertions(+), 9 deletions(-)
diffs (71 lines):
diff -r 406ab63c06e8 -r 9cc0a2f4c561 multimedia/ffmpeg4/Makefile
--- a/multimedia/ffmpeg4/Makefile Sun Sep 30 18:58:16 2018 +0000
+++ b/multimedia/ffmpeg4/Makefile Sun Sep 30 19:00:31 2018 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2018/08/22 09:45:48 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2018/09/30 19:00:31 maya Exp $
PKGNAME= ${DISTNAME:S/ffmpeg/ffmpeg4/}
-PKGREVISION= 1
+PKGREVISION= 2
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
COMMENT= Decoding, encoding and streaming software (v4.x)
diff -r 406ab63c06e8 -r 9cc0a2f4c561 multimedia/ffmpeg4/buildlink3.mk
--- a/multimedia/ffmpeg4/buildlink3.mk Sun Sep 30 18:58:16 2018 +0000
+++ b/multimedia/ffmpeg4/buildlink3.mk Sun Sep 30 19:00:31 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2018/04/26 07:56:57 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2018/09/30 19:00:31 maya Exp $
BUILDLINK_TREE+= ffmpeg4
@@ -14,6 +14,10 @@
.include "../../mk/bsd.fast.prefs.mk"
+.if !empty(PKG_BUILD_OPTIONS.ffmpeg4:Mav1)
+. include "../../multimedia/libaom/buildlink3.mk"
+.endif
+
.if !empty(PKG_BUILD_OPTIONS.ffmpeg4:Mfreetype)
. include "../../graphics/freetype2/buildlink3.mk"
.endif
diff -r 406ab63c06e8 -r 9cc0a2f4c561 multimedia/ffmpeg4/options.mk
--- a/multimedia/ffmpeg4/options.mk Sun Sep 30 18:58:16 2018 +0000
+++ b/multimedia/ffmpeg4/options.mk Sun Sep 30 19:00:31 2018 +0000
@@ -1,13 +1,13 @@
-# $NetBSD: options.mk,v 1.4 2018/09/29 14:25:39 tnn Exp $
+# $NetBSD: options.mk,v 1.5 2018/09/30 19:00:31 maya Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg4
-PKG_SUPPORTED_OPTIONS= ass bluray doc fdk-aac fontconfig freetype gnutls \
- lame libvpx opencore-amr openssl opus rpi rtmp \
- tesseract theora vorbis x11 x264 x265 xcb xvid
-PKG_SUGGESTED_OPTIONS= lame ass bluray freetype fontconfig libvpx openssl \
- theora vorbis x11 x264 xvid
+PKG_SUPPORTED_OPTIONS= ass av1 bluray doc fdk-aac fontconfig freetype \
+ gnutls lame libvpx opencore-amr openssl opus rpi \
+ rtmp tesseract theora vorbis x11 x264 x265 xcb xvid
+PKG_SUGGESTED_OPTIONS= lame ass av1 bluray freetype fontconfig libvpx \
+ openssl theora vorbis x11 x264 xvid
PLIST_VARS+= doc
@@ -51,6 +51,14 @@
CONFIGURE_ARGS+= --disable-libass
.endif
+# ass option
+.if !empty(PKG_OPTIONS:Mav1)
+CONFIGURE_ARGS+= --enable-libaom
+.include "../../multimedia/libaom/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libaom
+.endif
+
# doc option
.if !empty(PKG_OPTIONS:Mdoc)
PLIST.doc= yes
Home |
Main Index |
Thread Index |
Old Index