From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DE1571393F1 for ; Wed, 16 Sep 2015 16:52:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BA3DE0826; Wed, 16 Sep 2015 16:52:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD705E0826 for ; Wed, 16 Sep 2015 16:52:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B99DF340B81 for ; Wed, 16 Sep 2015 16:52:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E336418C for ; Wed, 16 Sep 2015 16:52:14 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1442422141.3c9e7fad2eb6f5052e23e9ee23b74de6dbca3673.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/aubio/, media-libs/aubio/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/aubio/aubio-0.4.1.ebuild media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch X-VCS-Directories: media-libs/aubio/files/ media-libs/aubio/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 3c9e7fad2eb6f5052e23e9ee23b74de6dbca3673 X-VCS-Branch: master Date: Wed, 16 Sep 2015 16:52:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 11041c6a-52be-4e25-a91a-17019b708a69 X-Archives-Hash: 14cbb869821d3c7c6f81a694877ef080 commit: 3c9e7fad2eb6f5052e23e9ee23b74de6dbca3673 Author: Alexis Ballier gentoo org> AuthorDate: Wed Sep 16 16:49:01 2015 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Wed Sep 16 16:49:01 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c9e7fad media-libs/aubio: fix build with ffmpeg git master. Package-Manager: portage-2.2.20.1 media-libs/aubio/aubio-0.4.1.ebuild | 3 ++- media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/media-libs/aubio/aubio-0.4.1.ebuild b/media-libs/aubio/aubio-0.4.1.ebuild index dfddfdb..3d8976b 100644 --- a/media-libs/aubio/aubio-0.4.1.ebuild +++ b/media-libs/aubio/aubio-0.4.1.ebuild @@ -8,7 +8,7 @@ DISTUTILS_OPTIONAL=1 PYTHON_COMPAT=( python2_7 ) PYTHON_REQ_USE='threads(+)' -inherit distutils-r1 waf-utils multilib +inherit distutils-r1 waf-utils multilib eutils DESCRIPTION="Library for audio labelling" HOMEPAGE="http://aubio.org/" @@ -39,6 +39,7 @@ PYTHON_SRC_DIR="${S}/python" src_prepare() { sed -i -e "s:\/lib:\/$(get_libdir):" src/wscript_build || die sed -i -e "s:doxygen:doxygen_disabled:" wscript || die + has_version '>=media-video/ffmpeg-2.8' && epatch "${FILESDIR}/${PN}-0.4.1-ffmpeg29.patch" } src_configure() { diff --git a/media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch b/media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch new file mode 100644 index 0000000..8656271 --- /dev/null +++ b/media-libs/aubio/files/aubio-0.4.1-ffmpeg29.patch @@ -0,0 +1,22 @@ +Index: aubio-0.4.1/src/io/source_avcodec.c +=================================================================== +--- aubio-0.4.1.orig/src/io/source_avcodec.c ++++ aubio-0.4.1/src/io/source_avcodec.c +@@ -167,7 +167,7 @@ aubio_source_avcodec_t * new_aubio_sourc + } + + AVFrame *avFrame = s->avFrame; +- avFrame = avcodec_alloc_frame(); ++ avFrame = av_frame_alloc(); + if (!avFrame) { + AUBIO_ERR("source_avcodec: Could not allocate frame for (%s)\n", s->path); + } +@@ -415,7 +415,7 @@ void del_aubio_source_avcodec(aubio_sour + } + s->output = NULL; + if (s->avFrame != NULL) { +- avcodec_free_frame( &(s->avFrame) ); ++ av_frame_free( &(s->avFrame) ); + } + s->avFrame = NULL; + AUBIO_FREE(s);