electron: actually upgrade

This commit is contained in:
psykose 2022-06-23 01:53:39 +00:00
parent 70ac5d06a9
commit b90523f45b
Signed by: psykose
SSH key fingerprint: SHA256:HwlGVJNLZqHoOvMtkshyGaXLkcdbEJahYMlepHFL+Uk

View file

@ -1,8 +1,8 @@
# Maintainer: psykose <alice@ayaya.dev>
pkgname=electron
pkgver=19.0.6
pkgrel=0
_gitrev=c0588770eac69e56c457063d29a5e4077b9a188a
pkgrel=1
_gitrev=e9e2b6dfda755fc39bddde3de18a2da77688ac1a
_chromium=102.0.5005.115
_depot_tools=9b9f451addeb3ad230e9385d5e2c20cd1632c491
pkgdesc="Electron"
@ -145,7 +145,8 @@ _gn_flags() {
}
prepare() {
git clone --branch=${_chromium} --depth=1 \
default_prepare
git clone --branch=$_chromium --depth=1 \
https://chromium.googlesource.com/chromium/src.git
git clone https://github.com/electron/electron.git
@ -266,7 +267,6 @@ prepare() {
# allow system dependencies in "official builds"
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
tools/generate_shim_headers/generate_shim_headers.py
)
_gn_args=$(_gn_flags \
import\(\"//electron/build/args/release.gn\"\) \
@ -316,6 +316,7 @@ prepare() {
)
gn gen out/Release --args="$_gn_args"
)
}