Package-Manager: Portage-2.3.31, Repoman-2.3.9
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DOCS=( AUTHORS ChangeLog README.md )
PYTHON_SRC_DIR="${S}"
+PATCHES=( "${FILESDIR}/${PN}-0.4.6-ffmpeg4.patch" )
src_prepare() {
default
--- /dev/null
+Index: aubio-0.4.6/src/io/source_avcodec.c
+===================================================================
+--- aubio-0.4.6.orig/src/io/source_avcodec.c
++++ aubio-0.4.6/src/io/source_avcodec.c
+@@ -58,7 +58,7 @@
+ #include "fmat.h"
+ #include "source_avcodec.h"
+
+-#define AUBIO_AVCODEC_MAX_BUFFER_SIZE FF_MIN_BUFFER_SIZE
++#define AUBIO_AVCODEC_MAX_BUFFER_SIZE AV_INPUT_BUFFER_MIN_SIZE
+
+ struct _aubio_source_avcodec_t {
+ uint_t hop_size;