extra/chromium: fix

This commit is contained in:
Kevin Mihelich 2022-10-01 00:33:57 +00:00
parent 91cf6efab3
commit 652dd7da20
4 changed files with 10 additions and 7 deletions

View file

@ -1,7 +1,7 @@
From 3311ca967f715a5db12affdcd06e5cf90e6afaeb Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Thu, 18 Feb 2021 19:35:58 -0700
Subject: [PATCH 1/3] widevine support for arm
Subject: [PATCH 1/4] widevine support for arm
---
third_party/widevine/cdm/widevine.gni | 2 +-

View file

@ -1,7 +1,7 @@
From 12647123677280381e88451287fefdbafde994d0 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Tue, 2 Feb 2021 13:58:59 -0700
Subject: [PATCH 2/3] Run blink bindings generation single threaded
Subject: [PATCH 2/4] Run blink bindings generation single threaded
When not single threaded this process will eat all the RAM.
---

View file

@ -1,7 +1,7 @@
From e06264f0e37e789ffd120eed9add04f8e28b843c Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Wed, 21 Jul 2021 21:37:31 -0600
Subject: [PATCH 3/3] Fix eu-strip build for newer GCC
Subject: [PATCH 3/4] Fix eu-strip build for newer GCC
---
.../third_party/eu-strip/0001-gcc-fixes.patch | 656 ++++++++++++++++++

View file

@ -44,7 +44,8 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
use-oauth2-client-switches-as-default.patch
0001-widevine-support-for-arm.patch
0002-Run-blink-bindings-generation-single-threaded.patch
0003-Fix-eu-strip-build-for-newer-GCC.patch)
0003-Fix-eu-strip-build-for-newer-GCC.patch
0004-Fix-missing-cmath-header-build-failure-in-renderer-e.patch)
sha256sums=('5740496b406db5357e2dad131e1ed2cd1c5831732df7aea5f21036ece8e7549a'
'213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
'2ad419439379d17385b7fd99039aca875ba36ca31b591b9cd4ccef84273be121'
@ -54,9 +55,10 @@ sha256sums=('5740496b406db5357e2dad131e1ed2cd1c5831732df7aea5f21036ece8e7549a'
'4c12d31d020799d31355faa7d1fe2a5a807f7458e7f0c374adf55edb37032152'
'cd0d9d2a1d6a522d47c3c0891dabe4ad72eabbebc0fe5642b9e22efa3d5ee572'
'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711'
'603de7189fd57df3fe9b5cd593d8a2eb50ef889c484bba9b837d0f9d59d79d3d'
'02eba3f1edc339558b262ab8755ce00fec26c834ea89fbb5bc89337969db9506'
'bf4bcdb6ab8eba1475e87a5f50cc9f696bedb812a320a9545f2aed1965b26be9')
'85eeb28b1a7b1ecf5ceda9c71ae1b071e916729a6b57af5c09d69c9f5b6e60eb'
'86a7e4bcd8334344ac1ca7d720fa5d5121bf801212e0b8def9f16429b7ad4a8e'
'76e9cf404d5ec8882598f3242340c74ff8074db5fdc5fcfbf9d689948ec6d347'
'695306d6d29bea7c8a291930f226706a26c3ec623ca3628fa0494fe044ac40a3')
# Possible replacements are listed in build/linux/unbundle/replace_gn_files.py
# Keys are the names in the above script; values are the dependencies in Arch
@ -110,6 +112,7 @@ prepare() {
patch -p1 -i ../0001-widevine-support-for-arm.patch
patch -p1 -i ../0002-Run-blink-bindings-generation-single-threaded.patch
patch -p1 -i ../0003-Fix-eu-strip-build-for-newer-GCC.patch
patch -p1 -i ../0004-Fix-missing-cmath-header-build-failure-in-renderer-e.patch
if [[ $CARCH == "armv7h" ]]; then
export ALARM_NINJA_JOBS="4"