commit:     3d54923d2d25d1c86f3ca967087e36c9c2ff8af7
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat Mar 10 16:38:25 2018 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat Mar 10 16:38:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=3d54923d

update visual studio code

 app-editors/visual-studio-code/Manifest            |  3 ++
 .../visual-studio-code-1.21.0.ebuild               | 63 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/app-editors/visual-studio-code/Manifest 
b/app-editors/visual-studio-code/Manifest
index 1a6d7dc..d2be463 100644
--- a/app-editors/visual-studio-code/Manifest
+++ b/app-editors/visual-studio-code/Manifest
@@ -6,7 +6,10 @@ DIST visual-studio-code-1.19.3-amd64.tar.gz 66903595 SHA256 
f3649e6dee1f2ac6eda4
 DIST visual-studio-code-1.19.3-x86.tar.gz 67921920 SHA256 
b9c77eb6d89a83ab86c4e450e0aa7abd66f49eaad8bf146ad45e272f35935161 SHA512 
c4c825787b3cc950891a6f27d33bb8d78c36194100f695ec512622a18e80b98da3c978b255ca7366f740a7488283cdc10e12a20c6c0491bed3e6e3a8a49b2ece
 WHIRLPOOL 
dfc12fc4eb926100ff272e29ffdf628f01f6f7faea7cd1e595808790137711fb83e7be012fbe4a77b87d8dd66090889543edb6d2f7cd612c3cf1c06e13640966
 DIST visual-studio-code-1.20.1-amd64.tar.gz 65805135 SHA256 
3562d23f5a0735bef55baadafc04815404170c24c99dc4254f7a9cb0bbc7a067 SHA512 
7d56ae1117024b525f11a4fdee94cd191c419e13919034a2097b19299212f70450fdc71f9bc66437e4ba6c1895fd90e11a2c619d823830fda165bca8bbad9040
 WHIRLPOOL 
e74e6e3611e8b710ad12168f222a534e05413c339c6f14eeda6886d0d345ff175bf6b5201108d1a6d5f213326cc5cb9d71726630195e011994ca81dae7e59f38
 DIST visual-studio-code-1.20.1-x86.tar.gz 66820122 SHA256 
56ab95667b2cddd6a4fee2ad373ccb87fbfa3038a946eab39b31d1750afacc3f SHA512 
f2ca95bf960eecf7a443e5369479f08b67bf2e6653885be7fa8309d2cd845ea175e40f48bb3beeb1b3c0b245bb7ba1d3bbde045b870bfb84fa3923db7f96f8c7
 WHIRLPOOL 
65576670fd550a4bb0274c39098ebb9491959275576d4318f60cf8e20ff2d1c22d696fa9be92ba84acf3fb6d705d8692f08ed19ef9a0e2df50eb4b1e99ebb23b
+DIST visual-studio-code-1.21.0-amd64.tar.gz 67060331 SHA256 
d30af5768fa259ded416f8b2d330bc87cbc69ddcffaefe9d1a18fd220646ad22 SHA512 
935edfc42ecf18feb3acea766593cda0a181431b87703ee016ccf5dfe687cf76b6a065f5be38bd7a67c84b5b0d6be750ae46000b54dff4c9a47e2f5dc1e9252d
 WHIRLPOOL 
c399f7bbd5d22ff5518ca3f0e89dd5489cf51cab056b347cab334c2c0d404553ef32367794062e47ea25dd000b74b24c00efb8e312e9afa37070b8fc8019b9e9
+DIST visual-studio-code-1.21.0-x86.tar.gz 68081572 SHA256 
230a2d52842c86473c163e36e31fa3cb257b704b25a6fd9818a4fee0240d2b3e SHA512 
91ca0e3491e085c7a926e42d14545d61420a95621eda5689e757aa6fbf7d5f0096055feb023b87de1617028d78e3a4a2af819c2ce80d6bff512f872bd075072b
 WHIRLPOOL 
49d63c7d90b32008d3363d7a97b536c4cecf0c019aeebcfd0bb7ed301d7b7f1786454f255956a593360477f1f8f47c9f826f82cbc96393d12b5c619fceb3dde4
 EBUILD visual-studio-code-1.19.2.ebuild 1549 SHA256 
39fa76585fa07dbaf6ccfc68f495e7553e3dc52141645599d4f19301651f14f8 SHA512 
f1338307914f969db2dfa9bf9ec87454eea4bed69e9801523cfe294c619f84dd6d23ba560bde72254769bfbfb0a07a5184824097754ad7858dc03ef42636c7ae
 WHIRLPOOL 
bb04e81cdc52343a5dbdbb17f725a568da5a2c2a9c4c053c00f2f5524447654507297bf06a3c2c00f116e377890db92ba3e064e4bc1130bcad866c159c19f87c
 EBUILD visual-studio-code-1.19.3.ebuild 1549 SHA256 
39fa76585fa07dbaf6ccfc68f495e7553e3dc52141645599d4f19301651f14f8 SHA512 
f1338307914f969db2dfa9bf9ec87454eea4bed69e9801523cfe294c619f84dd6d23ba560bde72254769bfbfb0a07a5184824097754ad7858dc03ef42636c7ae
 WHIRLPOOL 
bb04e81cdc52343a5dbdbb17f725a568da5a2c2a9c4c053c00f2f5524447654507297bf06a3c2c00f116e377890db92ba3e064e4bc1130bcad866c159c19f87c
 EBUILD visual-studio-code-1.20.1.ebuild 1549 SHA256 
39fa76585fa07dbaf6ccfc68f495e7553e3dc52141645599d4f19301651f14f8 SHA512 
f1338307914f969db2dfa9bf9ec87454eea4bed69e9801523cfe294c619f84dd6d23ba560bde72254769bfbfb0a07a5184824097754ad7858dc03ef42636c7ae
 WHIRLPOOL 
bb04e81cdc52343a5dbdbb17f725a568da5a2c2a9c4c053c00f2f5524447654507297bf06a3c2c00f116e377890db92ba3e064e4bc1130bcad866c159c19f87c
+EBUILD visual-studio-code-1.21.0.ebuild 1549 SHA256 
39fa76585fa07dbaf6ccfc68f495e7553e3dc52141645599d4f19301651f14f8 SHA512 
f1338307914f969db2dfa9bf9ec87454eea4bed69e9801523cfe294c619f84dd6d23ba560bde72254769bfbfb0a07a5184824097754ad7858dc03ef42636c7ae
 WHIRLPOOL 
bb04e81cdc52343a5dbdbb17f725a568da5a2c2a9c4c053c00f2f5524447654507297bf06a3c2c00f116e377890db92ba3e064e4bc1130bcad866c159c19f87c
 MISC metadata.xml 309 SHA256 
2412011728e0db395ccac1bb4851b37fd3e5f691fd24a0d75bde95ffd3651fed SHA512 
7550b26c1e56caadc801d76a1069e23a05e9392c512599aaf34dae7267f3103611bcf8e4a4400b1ffca4afc7104feefba164a64559317e8637bcc636492671e3
 WHIRLPOOL 
1e0a6d6e747683f3b05c94fa9d9e29b479215a0cdc2307e92a8916895e661355c6dbf3d509ce298245be714f747d50b5dcbd2c45579e13f58b80b6bb68ebc665

diff --git a/app-editors/visual-studio-code/visual-studio-code-1.21.0.ebuild 
b/app-editors/visual-studio-code/visual-studio-code-1.21.0.ebuild
new file mode 100644
index 0000000..e6f63bb
--- /dev/null
+++ b/app-editors/visual-studio-code/visual-studio-code-1.21.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils pax-utils
+
+DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
+HOMEPAGE="https://code.visualstudio.com";
+BASE_URI="https://vscode-update.azurewebsites.net/${PV}";
+SRC_URI="
+       x86? ( ${BASE_URI}/linux-ia32/stable ->  ${P}-x86.tar.gz )
+       amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
+       "
+RESTRICT="mirror strip bindist"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="
+       >=media-libs/libpng-1.2.46
+       >=x11-libs/gtk+-2.24.8-r1:2
+       x11-libs/cairo
+       gnome-base/gconf
+       x11-libs/libXtst
+"
+
+RDEPEND="
+       ${DEPEND}
+       >=net-print/cups-2.0.0
+       x11-libs/libnotify
+       x11-libs/libXScrnSaver
+       app-crypt/libsecret[crypt]
+"
+
+QA_PRESTRIPPED="opt/${PN}/code"
+QA_PREBUILT="opt/${PN}/code"
+
+pkg_setup(){
+       use amd64 && S="${WORKDIR}/VSCode-linux-x64" || 
S="${WORKDIR}/VSCode-linux-ia32"
+}
+
+src_install(){
+       pax-mark m code
+       insinto "/opt/${PN}"
+       doins -r *
+       dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
+       make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" 
"Development;IDE"
+       doicon ${FILESDIR}/${PN}.png
+       fperms +x "/opt/${PN}/code"
+       fperms +x "/opt/${PN}/bin/code"
+       fperms +x "/opt/${PN}/libnode.so"
+       fperms +x "/opt/${PN}/resources/app/node_modules/vscode-ripgrep/bin/rg"
+       insinto "/usr/share/licenses/${PN}"
+       newins "resources/app/LICENSE.txt" "LICENSE"
+}
+
+pkg_postinst(){
+       elog "You may install some additional utils, so check them in:"
+       elog "https://code.visualstudio.com/Docs/setup#_additional-tools";
+}

Reply via email to