[arch-commits] Commit in code/trunk (PKGBUILD code.sh)

Eli Schwartz eschwartz at archlinux.org
Fri Jun 28 21:25:51 UTC 2019


    Date: Friday, June 28, 2019 @ 21:25:50
  Author: eschwartz
Revision: 485687

upgpkg: code 1.35.1-2

rebuild for electron 5 migration; code is not ready, so use electron4 compat package

Modified:
  code/trunk/PKGBUILD
  code/trunk/code.sh

----------+
 PKGBUILD |    9 ++++-----
 code.sh  |    2 +-
 2 files changed, 5 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-28 18:15:02 UTC (rev 485686)
+++ PKGBUILD	2019-06-28 21:25:50 UTC (rev 485687)
@@ -6,11 +6,11 @@
 pkgdesc='The Open Source build of Visual Studio Code (vscode) editor'
 # Remember to check https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites for target node version
 pkgver=1.35.1
-pkgrel=1
+pkgrel=2
 arch=('x86_64')
 url='https://github.com/microsoft/vscode'
 license=('MIT')
-depends=('electron' 'libsecret' 'libx11' 'libxkbfile' 'ripgrep')
+depends=('electron4' 'libsecret' 'libx11' 'libxkbfile' 'ripgrep')
 optdepends=('bash-completion: Bash completions'
             'zsh-completions: ZSH completitons')
 makedepends=('git' 'gulp' 'npm' 'python2' 'yarn' 'nodejs-lts-dubnium')
@@ -21,7 +21,7 @@
         'enable-proposed-apis.diff')
 sha512sums=('SKIP'
             '814c9554427183cd893a33cd2cbe91f6e0ea71921ef0717c86217b1d3058d265f9ff7a9ace3e7b76f122e60b7686475cf4d999e581a1845face3033afb9f745f'
-            '0e75ee88274cbaf48c59ef6f363f6b8ac2ea83f8b17a61155008db773b709a1f0233754fa63a136ec0417313ba90a7eb17db000ec22a38ca8840d8ba6c47cab1'
+            'dfd9ca38e6510c9ad59fb24c1141fdfeb136f457392aee79b0bc2ff378c4c54d81a06728ba3ec4039d57dfcd730c26686585de9b4032a21ee8151a4f05195c15'
             '8ec47e497287d67f37e7b669af416f43d5cdbd4574892867d7b95996ef5de53640b5bc919b06b177e1fd91cb005579d6ed0c17325117b9914ba7cf28f5f06e40'
             'b267dcedaf51067a782d0f14007663b706973c1538f7fb91f093475134c2145fd0ffd5ed2b47ad7f01c6167a78a4af285d2818d7850fc67a7f7a473324824664')
 
@@ -61,7 +61,7 @@
   patch -p1 < ../enable-proposed-apis.diff
 
   # Build native modules for system electron
-  local _target=$(</usr/lib/electron/version)
+  local _target=$(</usr/lib/electron4/version)
   sed -i "s/^target .*/target \"${_target//v/}\"/" .yarnrc
 
   # Patch appdata and desktop file
@@ -140,4 +140,3 @@
   install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
   install -Dm 644 VSCode-linux-$_vscode_arch/resources/app/ThirdPartyNotices.txt "$pkgdir"/usr/share/licenses/$pkgname/ThirdPartyNotices.txt
 }
-

Modified: code.sh
===================================================================
--- code.sh	2019-06-28 18:15:02 UTC (rev 485686)
+++ code.sh	2019-06-28 21:25:50 UTC (rev 485687)
@@ -1,3 +1,3 @@
 #!/bin/bash
 
-ELECTRON_RUN_AS_NODE=1 exec electron /usr/lib/code/out/cli.js /usr/lib/code/code.js "$@"
+ELECTRON_RUN_AS_NODE=1 exec electron4 /usr/lib/code/out/cli.js /usr/lib/code/code.js "$@"



More information about the arch-commits mailing list