diff options
author | Alexis Ballier <aballier@gentoo.org> | 2018-04-20 09:24:51 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2018-04-20 09:47:44 +0200 |
commit | 3060f60f2983c557129aaef8d877a890bfad3cf1 (patch) | |
tree | 5dfad0781f20bb4bf74d1a04ead0b37499ba4a31 /media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild | |
parent | sci-electronics/gazebo: fix build with ffmpeg 4 (diff) | |
download | gentoo-3060f60f2983c557129aaef8d877a890bfad3cf1.tar.gz gentoo-3060f60f2983c557129aaef8d877a890bfad3cf1.tar.bz2 gentoo-3060f60f2983c557129aaef8d877a890bfad3cf1.zip |
media-libs/libquicktime: fix build with ffmpeg4
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild')
-rw-r--r-- | media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild b/media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild index baecbef11725..f52066263bb0 100644 --- a/media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild +++ b/media-libs/libquicktime/libquicktime-1.2.4-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -61,6 +61,9 @@ src_prepare() { has_version '>=media-video/libav-12'; then epatch "${FILESDIR}"/${P}-ffmpeg29.patch fi + if has_version '>media-video/ffmpeg-3.5' ; then + epatch "${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 |