vscode: skip electron download (fixes ppc64le), add electron9 note
This commit is contained in:
parent
17e02cec34
commit
d6ec2176e5
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
pkgname=vscode
|
pkgname=vscode
|
||||||
version=1.49.0
|
version=1.49.0
|
||||||
revision=1
|
revision=1
|
||||||
|
# XXX: please update to electron9 next time you rebuild this package
|
||||||
_electronver=7.3.3
|
_electronver=7.3.3
|
||||||
hostmakedepends="pkg-config python nodejs-lts-10 yarn tar git"
|
hostmakedepends="pkg-config python nodejs-lts-10 yarn tar git"
|
||||||
makedepends="libxkbfile-devel libsecret-devel electron7"
|
makedepends="libxkbfile-devel libsecret-devel electron7"
|
||||||
|
@ -18,6 +19,10 @@ if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
|
||||||
broken="FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory"
|
broken="FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
+# avoid downloading electron binaries for target platform; we use
|
||||||
|
+# the system electron, and downloading does not work for all archs
|
||||||
|
+export ELECTRON_SKIP_BINARY_DOWNLOAD=1
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
# Use yarn to install dependencies
|
# Use yarn to install dependencies
|
||||||
echo "" > build/npm/preinstall.js
|
echo "" > build/npm/preinstall.js
|
||||||
|
|
Loading…
Reference in a new issue