extra/firefox: fix

This commit is contained in:
Kevin Mihelich 2022-10-19 01:45:34 +00:00
parent 0c1aaef49f
commit 8a67aa2eef

View file

@ -6,6 +6,7 @@
# - mozconfig changes for ARM
# - revert change for clang that breaks gcc build on ARM
# - disable rust lto for v7
# - upstream patch for AArch64
highmem=1
@ -29,10 +30,12 @@ optdepends=('networkmanager: Location detection via available WiFi networks'
'xdg-desktop-portal: Screensharing with Wayland')
options=(!emptydirs !makeflags !strip !lto !debug)
source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-$pkgver.source.tar.xz{,.asc}
https://github.com/mozilla/gecko-dev/commit/60858bce4bb1b426c07ec0e9e7f627f59b8aca45.patch
build-arm-libopus.patch
$pkgname.desktop identity-icons-brand.svg)
sha256sums=('1546ebfd9d5a814f17479ed626519ed69aa3c89c22c7fb1fe5c84e4d7e5d7e18'
'SKIP'
'19d1a61b903926623a3f5d0db9b63bdbbc191589f8735d3696025abbfd6dd1c4'
'2d4d91f7e35d0860225084e37ec320ca6cae669f6c9c8fe7735cdbd542e3a7c9'
'298eae9de76ec53182f38d5c549d0379569916eebf62149f9d7f4a7edef36abf'
'a9b8b4a0a1f4a7b4af77d5fc70c2686d624038909263c795ecc81e0aec7711e9')
@ -123,6 +126,7 @@ END
export LDFLAGS+=" -Wl,--no-keep-memory"
export RUSTFLAGS="-Cdebuginfo=0"
patch -p1 -i ../build-arm-libopus.patch
patch -p1 -i ../60858bce4bb1b426c07ec0e9e7f627f59b8aca45.patch
}
build() {