extra/chromium to 110.0.5481.100-1

This commit is contained in:
Kevin Mihelich 2023-02-15 13:47:35 +00:00
parent 653d6e1c59
commit 9077f1393c
2 changed files with 56 additions and 3 deletions

View file

@ -15,10 +15,11 @@
highmem=1
pkgname=chromium
pkgver=110.0.5481.77
pkgrel=2
pkgver=110.0.5481.100
pkgrel=1
_launcher_ver=8
_gcc_patchset=4
_manual_clone=1
pkgdesc="A web browser built for speed, simplicity, and security"
arch=('x86_64')
url="https://www.chromium.org/Home"
@ -46,7 +47,7 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
0001-widevine-support-for-arm.patch
0002-Run-blink-bindings-generation-single-threaded.patch
0003-Fix-eu-strip-build-for-newer-GCC.patch)
sha256sums=('e348ab2dc4311083e729d714a81e95dd9db108ff71437dde451c97ac939881ce'
sha256sums=('55ce77ff9b965f44b14c4b8461ad50963536cff80488af0c144652e923c88ac3'
'213e50f48b67feb4441078d50b0fd431df34323be15be97c55302d3fdac4483a'
'8c7f93037cc236024cc8be815b2c2bd84f6dc9e32685299e31d4c6c42efde8b7'
'a5d5c532b0b059895bc13aaaa600d21770eab2afa726421b78cb597a78a3c7e3'
@ -59,6 +60,11 @@ sha256sums=('e348ab2dc4311083e729d714a81e95dd9db108ff71437dde451c97ac939881ce'
'e364f67a3f1ec1dbc24f5815648bbcec27195a69302fb6fd3ce5d6d8a3d2c16c'
'bd82ac3909b9f8fe86375ad7751e905db06f1272f3eddbc80ab78e10c6bd10ac')
if (( _manual_clone )); then
source[0]=fetch-chromium-release
makedepends+=('python-httplib2' 'python-pyparsing' 'python-six')
fi
# 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
declare -gA _system_libs=(
@ -101,6 +107,9 @@ depends+=(${_system_libs[@]})
_google_api_key=AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM
prepare() {
if (( _manual_clone )); then
./fetch-chromium-release $pkgver
fi
cd chromium-$pkgver
# Allow building against system libraries in official builds

View file

@ -0,0 +1,44 @@
#!/bin/bash
set -e
readonly VERSION=$1
if [[ -z $VERSION ]]; then
echo >&2 'No version given as an argument'
exit 1
fi
mkdir chromium-checkout
cd chromium-checkout
cat >.gclient <<EOF
solutions = [
{
"name": "src",
"url": "https://chromium.googlesource.com/chromium/src.git",
"managed": False,
"custom_deps": {},
"custom_vars": {},
},
]
EOF
git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools
export PATH+=":$PWD/depot_tools" DEPOT_TOOLS_UPDATE=0
export VPYTHON_BYPASS='manually managed python not supported by chrome operations'
git clone -b $VERSION --depth=2 https://chromium.googlesource.com/chromium/src
gclient sync --no-history --nohooks
src/build/util/lastchange.py -o src/build/util/LASTCHANGE
src/build/util/lastchange.py -m GPU_LISTS_VERSION \
--revision-id-only --header src/gpu/config/gpu_lists_version.h
src/build/util/lastchange.py -m SKIA_COMMIT_HASH \
-s src/third_party/skia --header src/skia/ext/skia_commit_hash.h
src/build/util/lastchange.py \
-s src/third_party/dawn --revision src/gpu/webgpu/DAWN_VERSION
src/tools/update_pgo_profiles.py --target=linux update \
--gs-url-base=chromium-optimization-profiles/pgo_profiles
download_from_google_storage.py --no_resume --extract --no_auth \
--bucket chromium-nodejs -s src/third_party/node/node_modules.tar.gz.sha1
find src/third_party/jdk/current -type f -delete
mv src ../chromium-$VERSION