summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-03-15 18:24:32 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-03-15 18:24:32 -0700
commita8a23ea108b2bff5986913224b823537f4264130 (patch)
tree2e2f8c980f5be4344d5a642adf2d4f516dbb46b9 /media-video/ffmpeg/ffmpeg-4.2.2.ebuild
parentdev-lua/lua-term: version bump to 0.7 (diff)
downloadgentoo-a8a23ea108b2bff5986913224b823537f4264130.tar.gz
gentoo-a8a23ea108b2bff5986913224b823537f4264130.tar.bz2
gentoo-a8a23ea108b2bff5986913224b823537f4264130.zip
media-video/ffmpeg: add ppc altivec patches to 4.2.2
without patches it fails to compile if USE=altivec Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'media-video/ffmpeg/ffmpeg-4.2.2.ebuild')
-rw-r--r--media-video/ffmpeg/ffmpeg-4.2.2.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/media-video/ffmpeg/ffmpeg-4.2.2.ebuild b/media-video/ffmpeg/ffmpeg-4.2.2.ebuild
index a19aefd2fc40..ea3611dc6fd7 100644
--- a/media-video/ffmpeg/ffmpeg-4.2.2.ebuild
+++ b/media-video/ffmpeg/ffmpeg-4.2.2.ebuild
@@ -30,7 +30,10 @@ if [ "${PV#9999}" != "${PV}" ] ; then
elif [ "${PV%_p*}" != "${PV}" ] ; then # Snapshot
SRC_URI="mirror://gentoo/${P}.tar.bz2"
else # Release
- SRC_URI="https://ffmpeg.org/releases/${P/_/-}.tar.bz2"
+ SRC_URI="https://ffmpeg.org/releases/${P/_/-}.tar.bz2
+ https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-4.2.2-ppc64-altivec.patch.gz
+ https://dev.gentoo.org/~gyakovlev/distfiles/${PN}-4.2.2-ppc64-gcc.patch.gz
+ "
fi
FFMPEG_REVISION="${PV#*_p}"
@@ -318,6 +321,9 @@ S=${WORKDIR}/${P/_/-}
PATCHES=(
"${FILESDIR}"/chromium-r1.patch
+ "${WORKDIR}/${PN}"-4.2.2-ppc64-gcc.patch # both ppc patches from
+ "${WORKDIR}/${PN}"-4.2.2-ppc64-altivec.patch # https://trac.ffmpeg.org/ticket/7861
+
)
MULTILIB_WRAPPED_HEADERS=(