vscode: update to 1.74.2

This commit is contained in:
Alex Lohr 2022-12-25 15:37:02 +01:00 committed by Michal Vasilek
parent 04e7536cf8
commit d4fb7690ee
1 changed files with 7 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'vscode'
pkgname=vscode
version=1.74.1
version=1.74.2
revision=1
_electronver=19.0.8
_npmver=8.6.0
@ -12,7 +12,7 @@ maintainer="shizonic <realtiaz@gmail.com>, Alex Lohr <alex.lohr@logmein.com>"
license="MIT"
homepage="https://code.visualstudio.com/"
distfiles="https://github.com/microsoft/vscode/archive/refs/tags/${version}.tar.gz"
checksum=ba730c6af17aee820cf99d83df9adf3c253a5a2229f6b0124aff000f2343d325
checksum=67635179cdcf02696938b0ddca010a1d00b8f5136ea159849c20f257a11a0dd2
nocross=yes # x64 build does not cut it, it contains native code
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
@ -61,7 +61,11 @@ do_build() {
--target=$_electronver \
--tarball=/usr/include/electron${_electronver%%.*}/node_headers.tar.gz
yarn install --frozen-lockfile --ignore-engines --arch=x64
# ignore nodejs version checks, we can not pass it as an argument to
# yarn install because it doesn't inherit properly
echo "ignore-engines true" >> .yarnrc
yarn install --frozen-lockfile --arch=x64
export CFLAGS="$CFLAGS -I/usr/include/node"
yarn run gulp vscode-linux-x64-min