pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg4 ffmpeg4: build with dav1d support f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a49005ee63d5
branches:  trunk
changeset: 452840:a49005ee63d5
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon May 17 12:19:07 2021 +0000

description:
ffmpeg4: build with dav1d support for decoding AV1

results in significantly lower CPU usage when decoding the reference
AV1 videos on my x250

bump PKGREVISION

diffstat:

 multimedia/ffmpeg4/Makefile   |  4 ++--
 multimedia/ffmpeg4/options.mk |  5 ++++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r e2eef3b04353 -r a49005ee63d5 multimedia/ffmpeg4/Makefile
--- a/multimedia/ffmpeg4/Makefile       Mon May 17 11:31:29 2021 +0000
+++ b/multimedia/ffmpeg4/Makefile       Mon May 17 12:19:07 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.50 2021/05/07 11:40:11 rin Exp $
+# $NetBSD: Makefile,v 1.51 2021/05/17 12:19:07 nia Exp $
 
 PKGNAME=       ${DISTNAME:S/ffmpeg/ffmpeg4/}
-PKGREVISION=   4
+PKGREVISION=   5
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://ffmpeg.org/
 COMMENT=       Decoding, encoding and streaming software (v4.x)
diff -r e2eef3b04353 -r a49005ee63d5 multimedia/ffmpeg4/options.mk
--- a/multimedia/ffmpeg4/options.mk     Mon May 17 11:31:29 2021 +0000
+++ b/multimedia/ffmpeg4/options.mk     Mon May 17 12:19:07 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.16 2020/09/12 00:45:22 manu Exp $
+# $NetBSD: options.mk,v 1.17 2021/05/17 12:19:07 nia Exp $
 
 # Global and legacy options
 
@@ -60,9 +60,12 @@
 .if !empty(PKG_OPTIONS:Mav1)
 CONFIGURE_ARGS+=       --enable-libaom
 BUILDLINK_API_DEPENDS.libaom+= libaom>=1.0.0nb1
+CONFIGURE_ARGS+=       --enable-libdav1d
 .include "../../multimedia/libaom/buildlink3.mk"
+.include "../../multimedia/dav1d/buildlink3.mk"
 .else
 CONFIGURE_ARGS+=       --disable-libaom
+CONFIGURE_ARGS+=       --disable-libdav1d
 .endif
 
 # doc option



Home | Main Index | Thread Index | Old Index