From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C82E41382C5 for ; Sun, 20 May 2018 19:10:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00C03E0BFE; Sun, 20 May 2018 19:10:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC52DE0BF9 for ; Sun, 20 May 2018 19:10:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5D88335CFE for ; Sun, 20 May 2018 19:10:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CFAC2B2 for ; Sun, 20 May 2018 19:10:26 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1526843365.fe452768221269b09928ce9872f4b9a05e6e3c78.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libquicktime/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild X-VCS-Directories: media-libs/libquicktime/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: fe452768221269b09928ce9872f4b9a05e6e3c78 X-VCS-Branch: master Date: Sun, 20 May 2018 19:10:26 +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: 6c55cc30-0f31-4ab9-a8cd-56e5143b084c X-Archives-Hash: f16f3eab6f889749b7578ad2197b4505 commit: fe452768221269b09928ce9872f4b9a05e6e3c78 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun May 20 16:19:14 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun May 20 19:09:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe452768 media-libs/libquicktime: Use PATCHES Package-Manager: Portage-2.3.38, Repoman-2.3.9 media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild b/media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild index 5f97dcf7745..7153bd3006a 100644 --- a/media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild +++ b/media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild @@ -52,13 +52,16 @@ DEPEND="${RDEPEND} REQUIRED_USE="opengl? ( X )" -DOCS="ChangeLog README TODO" +DOCS=( ChangeLog README TODO ) + +PATCHES=( + "${FILESDIR}"/${P}+libav-9.patch + "${FILESDIR}"/${P}-ffmpeg2.patch + "${FILESDIR}"/CVE-2016-2399.patch +) src_prepare() { default - eapply "${FILESDIR}"/${P}+libav-9.patch \ - "${FILESDIR}"/${P}-ffmpeg2.patch \ - "${FILESDIR}/CVE-2016-2399.patch" if has_version '>=media-video/ffmpeg-2.9' || has_version '>=media-video/libav-12'; then eapply "${FILESDIR}"/${P}-ffmpeg29.patch @@ -67,8 +70,9 @@ src_prepare() { eapply "${FILESDIR}/${P}-ffmpeg4.patch" fi - for FILE in lqt_ffmpeg.c video.c audio.c ; do - sed -i -e "s:CODEC_ID_:AV_&:g" "${S}/plugins/ffmpeg/${FILE}" || die + local x + for x in lqt_ffmpeg.c video.c audio.c ; do + sed -i -e "s:CODEC_ID_:AV_&:g" "plugins/ffmpeg/${x}" || die done elibtoolize # Required for .so versioning on g/fbsd