mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
vscode: update to 1.80.1
This commit is contained in:
parent
e3aef00173
commit
c9e5c350c1
1 changed files with 6 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
# Template file for 'vscode'
|
# Template file for 'vscode'
|
||||||
pkgname=vscode
|
pkgname=vscode
|
||||||
version=1.79.2
|
version=1.80.1
|
||||||
revision=1
|
revision=1
|
||||||
_electronver=24.2.0
|
_electronver=24.3.0
|
||||||
_npmver=8.6.0
|
_npmver=8.6.0
|
||||||
hostmakedepends="pkg-config python3 nodejs yarn tar git ripgrep"
|
hostmakedepends="pkg-config python3 nodejs yarn tar git ripgrep"
|
||||||
makedepends="libxkbfile-devel libsecret-devel libxml2-devel ncurses-devel electron24"
|
makedepends="libxkbfile-devel libsecret-devel libxml2-devel ncurses-devel electron24"
|
||||||
|
@ -12,7 +12,7 @@ maintainer="shizonic <realtiaz@gmail.com>, Alex Lohr <alex.lohr@logmein.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://code.visualstudio.com/"
|
homepage="https://code.visualstudio.com/"
|
||||||
distfiles="https://github.com/microsoft/vscode/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/microsoft/vscode/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=2719ccbb573f5b7c174bd5bbcad97d3fe4d917e16327a6b72162ff7014c17c9b
|
checksum=54f3a14fa31b73aac84ff3c80d8d4237a90bc2c26822e463a17c3762901d386f
|
||||||
nocross=yes # x64 build does not cut it, it contains native code
|
nocross=yes # x64 build does not cut it, it contains native code
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
|
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
|
||||||
|
@ -67,6 +67,9 @@ do_build() {
|
||||||
|
|
||||||
yarn install --frozen-lockfile --arch=x64
|
yarn install --frozen-lockfile --arch=x64
|
||||||
|
|
||||||
|
# do not checksum electron, since we're using our own build
|
||||||
|
vsed -e "s/validateChecksum: true/validateChecksum: false/g" -i build/lib/electron.*s
|
||||||
|
|
||||||
export CFLAGS="$CFLAGS -I/usr/include/node"
|
export CFLAGS="$CFLAGS -I/usr/include/node"
|
||||||
yarn run gulp vscode-linux-x64-min
|
yarn run gulp vscode-linux-x64-min
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue