diff options
Diffstat (limited to 'media-video/mplayer/mplayer-1.4-r1.ebuild')
-rw-r--r-- | media-video/mplayer/mplayer-1.4-r1.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/media-video/mplayer/mplayer-1.4-r1.ebuild b/media-video/mplayer/mplayer-1.4-r1.ebuild index daf58bcdb444..e9da1de4a0b1 100644 --- a/media-video/mplayer/mplayer-1.4-r1.ebuild +++ b/media-video/mplayer/mplayer-1.4-r1.ebuild @@ -39,6 +39,7 @@ else RELEASE_URI="mirror://gentoo/${P}.tar.xz" fi SRC_URI="${RELEASE_URI} + https://dev.gentoo.org/~aballier/distfiles/${P}-ffmpeg5.patch.bz2 !truetype? ( ${FONT_URI} )" DESCRIPTION="Media Player for Linux" @@ -229,9 +230,11 @@ src_prepare() { subversion_wc_info printf "${ESVN_WC_REVISION}" > $svf else - eapply "${FILESDIR}"/${PN}-1.3-CVE-2016-4352.patch + eapply "${FILESDIR}"/${PN}-1.3-CVE-2016-4352.patch \ + "${FILESDIR}"/ffmpeg44.patch + has_version '>=media-video/ffmpeg-5' && eapply \ + "${WORKDIR}"/${P}-ffmpeg5.patch fi - eapply "${FILESDIR}"/ffmpeg44.patch if [ ! -f VERSION ] ; then [ -f "$svf" ] || die "Missing ${svf}. Did you generate your snapshot with prepare_mplayer.sh?" local sv=$(<$svf) |