extra/chromium: fix

This commit is contained in:
Kevin Mihelich 2017-01-27 04:46:51 +00:00
parent f780080351
commit 45138d404b

View file

@ -9,6 +9,7 @@
# - makeflags to -j4 on v7, RAM constraints
# - Gentoo patch to remove lingering built-in ffmpeg code
# - patches to fix GN for AArch64 and ARM toolchain definitions
# - patch for https://bugs.chromium.org/p/v8/issues/detail?id=5668
buildarch=12
highmem=1
@ -56,7 +57,8 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgn
chromium-system-ffmpeg-r4.patch
chromium-widevine.patch
0001-Add-aarch64-GN-support.patch
0002-ARM-toolchain-fixes.patch)
0002-ARM-toolchain-fixes.patch
https://codereview.chromium.org/download/issue2615533007_1.diff)
sha256sums=('cfb08e226b9c16ad887eb96d715a9cc4ab097d1a79e2e68c8749a7a4164b3c38'
'8b01fb4efe58146279858a754d90b49e5a38c9a0b36a1f84cbb7d12f92b84c28'
'028a748a5c275de9b8f776f97909f999a8583a4b77fd1cd600b4fc5c0c3e91e9'
@ -64,7 +66,8 @@ sha256sums=('cfb08e226b9c16ad887eb96d715a9cc4ab097d1a79e2e68c8749a7a4164b3c38'
'e3c474dbf3822a0be50695683bd8a2c9dfc82d41c1524a20b4581883c0c88986'
'd6fdcb922e5a7fbe15759d39ccc8ea4225821c44d98054ce0f23f9d1f00c9808'
'c855bfd9533bb51a618be3d0fd7fcc7df723dd9e91d629615b4fc65445901a88'
'5d00d0db4cc34a73a9dbb6f6640c850d77b0ef503d1e9bffb3c50f00bbb843ac')
'5d00d0db4cc34a73a9dbb6f6640c850d77b0ef503d1e9bffb3c50f00bbb843ac'
'4d75e93206d6e73f0affe2ec70e4a0aa3ac4f6f26da46e6caa75df890796d25d')
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
# Note: These are for Arch Linux use ONLY. For your own distribution, please
@ -81,6 +84,7 @@ prepare() {
# Arch Linux ARM fixes
patch -Np1 -i ../0001-Add-aarch64-GN-support.patch
patch -Np1 -i ../0002-ARM-toolchain-fixes.patch
patch -Np1 -d v8 -i ../../issue2615533007_1.diff
[[ $CARCH == "armv7h" ]] && MAKEFLAGS="-j4" && CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"