From ae7810d74c0948e4e9e5499607fa860fca8a4fcf Mon Sep 17 00:00:00 2001 From: cr6git Date: Fri, 6 Jul 2018 19:48:18 +0200 Subject: [PATCH] firefox-esr: add support for FFmpeg 4.0 [ci skip] (#672) --- srcpkgs/firefox-esr/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/firefox-esr/template b/srcpkgs/firefox-esr/template index b9cb667b7f..1f670508cf 100644 --- a/srcpkgs/firefox-esr/template +++ b/srcpkgs/firefox-esr/template @@ -4,14 +4,16 @@ # pkgname=firefox-esr version=52.9.0 -revision=1 +revision=2 wrksrc="firefox-${version}esr" short_desc="Mozilla Firefox web browser - Extended Support Release (ESR)" maintainer="Eivind Uggedal " homepage="https://www.mozilla.org/firefox/organizations/" license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" -distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz" -checksum=c01d09658c53c1b3a496e353a24dad03b26b81d3b1d099abc26a06f81c199dd6 +distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz + https://aur.archlinux.org/cgit/aur.git/plain/ffmpeg4.patch.gz?h=firefox-esr52>ffmpeg4.patch.gz" +checksum="c01d09658c53c1b3a496e353a24dad03b26b81d3b1d099abc26a06f81c199dd6 + 2a285e0c31968e3fe9b65a585838b46f9342ff0a369e786a729b4c3886617034" lib32disabled=yes hostmakedepends="autoconf213 unzip zip pkg-config perl python yasm @@ -36,6 +38,8 @@ case "$XBPS_TARGET_MACHINE" in esac post_extract() { + patch -Np0 -i ../ffmpeg4.patch + case "$XBPS_TARGET_MACHINE" in *-musl) # fix musl rust triplet