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>
|
||||
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,57 +267,57 @@ 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\"\) \
|
||||
custom_toolchain=\"//build/toolchain/linux/unbundle:default\" \
|
||||
host_toolchain=\"//build/toolchain/linux/unbundle:default\" \
|
||||
blink_symbol_level=0 \
|
||||
build_with_tflite_lib=false \
|
||||
chrome_pgo_phase=0 \
|
||||
clang_use_chrome_plugins=false \
|
||||
disable_fieldtrial_testing_config=true \
|
||||
enable_hangout_services_extension=true \
|
||||
enable_nacl=false \
|
||||
enable_precompiled_headers=false \
|
||||
enable_vr=false \
|
||||
fatal_linker_warnings=false \
|
||||
ffmpeg_branding=\"Chrome\" \
|
||||
icu_use_data_file=true \
|
||||
is_cfi=false \
|
||||
is_clang=true \
|
||||
is_component_build=false \
|
||||
is_debug=false \
|
||||
is_official_build=true \
|
||||
link_pulseaudio=true \
|
||||
proprietary_codecs=true \
|
||||
rtc_use_pipewire=true \
|
||||
symbol_level=0 \
|
||||
treat_warnings_as_errors=false \
|
||||
use_allocator=\"none\" \
|
||||
use_allocator_shim=false \
|
||||
use_cfi_icall=false \
|
||||
use_cups=true \
|
||||
use_custom_libcxx=false \
|
||||
use_gnome_keyring=false \
|
||||
use_gold=false \
|
||||
use_lld=true \
|
||||
use_pulseaudio=true \
|
||||
use_sysroot=false \
|
||||
use_system_freetype=true \
|
||||
use_system_harfbuzz=true \
|
||||
use_system_lcms2=true \
|
||||
use_system_libdrm=true \
|
||||
use_system_libjpeg=true \
|
||||
use_system_libpng=true \
|
||||
use_system_zlib=true \
|
||||
use_thin_lto=false \
|
||||
use_vaapi=true \
|
||||
)
|
||||
|
||||
gn gen out/Release --args="$_gn_args"
|
||||
)
|
||||
|
||||
_gn_args=$(_gn_flags \
|
||||
import\(\"//electron/build/args/release.gn\"\) \
|
||||
custom_toolchain=\"//build/toolchain/linux/unbundle:default\" \
|
||||
host_toolchain=\"//build/toolchain/linux/unbundle:default\" \
|
||||
blink_symbol_level=0 \
|
||||
build_with_tflite_lib=false \
|
||||
chrome_pgo_phase=0 \
|
||||
clang_use_chrome_plugins=false \
|
||||
disable_fieldtrial_testing_config=true \
|
||||
enable_hangout_services_extension=true \
|
||||
enable_nacl=false \
|
||||
enable_precompiled_headers=false \
|
||||
enable_vr=false \
|
||||
fatal_linker_warnings=false \
|
||||
ffmpeg_branding=\"Chrome\" \
|
||||
icu_use_data_file=true \
|
||||
is_cfi=false \
|
||||
is_clang=true \
|
||||
is_component_build=false \
|
||||
is_debug=false \
|
||||
is_official_build=true \
|
||||
link_pulseaudio=true \
|
||||
proprietary_codecs=true \
|
||||
rtc_use_pipewire=true \
|
||||
symbol_level=0 \
|
||||
treat_warnings_as_errors=false \
|
||||
use_allocator=\"none\" \
|
||||
use_allocator_shim=false \
|
||||
use_cfi_icall=false \
|
||||
use_cups=true \
|
||||
use_custom_libcxx=false \
|
||||
use_gnome_keyring=false \
|
||||
use_gold=false \
|
||||
use_lld=true \
|
||||
use_pulseaudio=true \
|
||||
use_sysroot=false \
|
||||
use_system_freetype=true \
|
||||
use_system_harfbuzz=true \
|
||||
use_system_lcms2=true \
|
||||
use_system_libdrm=true \
|
||||
use_system_libjpeg=true \
|
||||
use_system_libpng=true \
|
||||
use_system_zlib=true \
|
||||
use_thin_lto=false \
|
||||
use_vaapi=true \
|
||||
)
|
||||
|
||||
gn gen out/Release --args="$_gn_args"
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Reference in a new issue