electron: actually upgrade
This commit is contained in:
parent
70ac5d06a9
commit
b90523f45b
1 changed files with 57 additions and 56 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Maintainer: psykose <alice@ayaya.dev>
|
# Maintainer: psykose <alice@ayaya.dev>
|
||||||
pkgname=electron
|
pkgname=electron
|
||||||
pkgver=19.0.6
|
pkgver=19.0.6
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
_gitrev=c0588770eac69e56c457063d29a5e4077b9a188a
|
_gitrev=e9e2b6dfda755fc39bddde3de18a2da77688ac1a
|
||||||
_chromium=102.0.5005.115
|
_chromium=102.0.5005.115
|
||||||
_depot_tools=9b9f451addeb3ad230e9385d5e2c20cd1632c491
|
_depot_tools=9b9f451addeb3ad230e9385d5e2c20cd1632c491
|
||||||
pkgdesc="Electron"
|
pkgdesc="Electron"
|
||||||
|
@ -145,7 +145,8 @@ _gn_flags() {
|
||||||
}
|
}
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
git clone --branch=${_chromium} --depth=1 \
|
default_prepare
|
||||||
|
git clone --branch=$_chromium --depth=1 \
|
||||||
https://chromium.googlesource.com/chromium/src.git
|
https://chromium.googlesource.com/chromium/src.git
|
||||||
|
|
||||||
git clone https://github.com/electron/electron.git
|
git clone https://github.com/electron/electron.git
|
||||||
|
@ -266,7 +267,6 @@ prepare() {
|
||||||
# allow system dependencies in "official builds"
|
# allow system dependencies in "official builds"
|
||||||
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
|
sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' \
|
||||||
tools/generate_shim_headers/generate_shim_headers.py
|
tools/generate_shim_headers/generate_shim_headers.py
|
||||||
)
|
|
||||||
|
|
||||||
_gn_args=$(_gn_flags \
|
_gn_args=$(_gn_flags \
|
||||||
import\(\"//electron/build/args/release.gn\"\) \
|
import\(\"//electron/build/args/release.gn\"\) \
|
||||||
|
@ -316,6 +316,7 @@ prepare() {
|
||||||
)
|
)
|
||||||
|
|
||||||
gn gen out/Release --args="$_gn_args"
|
gn gen out/Release --args="$_gn_args"
|
||||||
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue