commit:     22fdb9d2d76d36e7ef851bec15b4749cf3bb7765
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon Jan  6 21:09:27 2020 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon Jan  6 21:09:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=22fdb9d2

update visual studio code to 1.41.1

Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>

 app-editors/visual-studio-code/Manifest            |  2 +
 .../visual-studio-code-1.41.1.ebuild               | 76 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/app-editors/visual-studio-code/Manifest 
b/app-editors/visual-studio-code/Manifest
index 18961f3..b1c6bc8 100644
--- a/app-editors/visual-studio-code/Manifest
+++ b/app-editors/visual-studio-code/Manifest
@@ -7,10 +7,12 @@ DIST visual-studio-code-1.38.0-amd64.tar.gz 80879094 BLAKE2B 
efd6ce4e61b424d0581
 DIST visual-studio-code-1.38.1-amd64.tar.gz 80879447 BLAKE2B 
db3016636f352867fe62c3c9c0c393e9007a0262a8307e270c1ad5190c58750fd45191f40aa391d54cf4ee92a8fb4b13eed81b5c6a7305811caa817e44ac5b71
 SHA512 
4c7546b077cbde23ddf22a229f14247d86d210bb4c5496cfa5385ff98d83c5215f8b1dabd370b0645ca6e9b81d463486bb80cc662bb34747d194ae3cdf429086
 DIST visual-studio-code-1.39.2-amd64.tar.gz 80262440 BLAKE2B 
a50933f1a110fbbeef3d5d886d34c1b670b26be1a01607cdee879f1e1739eb4a04b437ee6cd5eb71c356f03e3483869c90abb3df4992edf0460e04e3145faac1
 SHA512 
f6cf0c04b67ab29613c6ff50df781c9d6264a63eae6f8dbf1d0fc25c804991885c7cbb1ab9db9ad9927c842a41b69ab5f8a8d1ef929623a76ec28673f4517000
 DIST visual-studio-code-1.41.0-amd64.tar.gz 81496943 BLAKE2B 
0358632a4ed479cc484dd1bc10d67355e5121eac38623c7a2d9c69bce4ba6e73d1e3d1930d05e9d9a0b1a1ca401990151d50e9430fea9486b563c860240920fb
 SHA512 
f1269c6582c6254cbe638874488c411d5cd4727bc95d9b01d7d98a38629dd08e7e41ed776cf0dd70004514f4153923b5979c8b8a018ea70a887442bd9c7df019
+DIST visual-studio-code-1.41.1-amd64.tar.gz 81500694 BLAKE2B 
575e6aef99eba240c3d47c1f2e849ef5390ee2e6bc35b38486d5351a63c1654903b93d2f4db74f0f5e0923c89f14d9a47dc69b6b1705ee877bfcbaeeaafd15ec
 SHA512 
c180a2e112dd1bff97adca83c5aeb6d1bd66ba391d2a63dbae83629065c7bd3c0547f3f3cc3e0c1d67dac1ea601f3f620c6fe57906018883d8c943ddcc5a7830
 EBUILD visual-studio-code-1.35.1.ebuild 1875 BLAKE2B 
4dca47917b252db3b4cc98479c6177674cc9bdae00433babd9343f5360dc37ada490bd64822eeba86580be72fe1e57ecdcf6e9a1c3512697265126bc09c363ec
 SHA512 
c971cdc405251d366dd18bca6ddd3471e8ea538eca5ec1f10d282b8be74068479f6e6151e33781bd33ad24ce5aa964c89ee61e158181b6ab601ea29e46a2dadb
 EBUILD visual-studio-code-1.36.0.ebuild 1811 BLAKE2B 
2edf730fe4549c82414d1bfef20eae7c00063bd5c246a3d0b50224f3b2dd70a5ebda0d0c8c32a41e78695d87be9456cd58d5367184fd0fa5c816be17589391d3
 SHA512 
0bdd055c117a219f9d3721938c90fbd9dd7449fa582f457328fee42a86bb5f1256b08b3c4cfeb3396389f8f1e53b2ca3f13b8ef7b29e6b1c95606c954cd37f6f
 EBUILD visual-studio-code-1.38.0.ebuild 1811 BLAKE2B 
2edf730fe4549c82414d1bfef20eae7c00063bd5c246a3d0b50224f3b2dd70a5ebda0d0c8c32a41e78695d87be9456cd58d5367184fd0fa5c816be17589391d3
 SHA512 
0bdd055c117a219f9d3721938c90fbd9dd7449fa582f457328fee42a86bb5f1256b08b3c4cfeb3396389f8f1e53b2ca3f13b8ef7b29e6b1c95606c954cd37f6f
 EBUILD visual-studio-code-1.38.1.ebuild 1811 BLAKE2B 
2edf730fe4549c82414d1bfef20eae7c00063bd5c246a3d0b50224f3b2dd70a5ebda0d0c8c32a41e78695d87be9456cd58d5367184fd0fa5c816be17589391d3
 SHA512 
0bdd055c117a219f9d3721938c90fbd9dd7449fa582f457328fee42a86bb5f1256b08b3c4cfeb3396389f8f1e53b2ca3f13b8ef7b29e6b1c95606c954cd37f6f
 EBUILD visual-studio-code-1.39.2.ebuild 1811 BLAKE2B 
2edf730fe4549c82414d1bfef20eae7c00063bd5c246a3d0b50224f3b2dd70a5ebda0d0c8c32a41e78695d87be9456cd58d5367184fd0fa5c816be17589391d3
 SHA512 
0bdd055c117a219f9d3721938c90fbd9dd7449fa582f457328fee42a86bb5f1256b08b3c4cfeb3396389f8f1e53b2ca3f13b8ef7b29e6b1c95606c954cd37f6f
 EBUILD visual-studio-code-1.41.0.ebuild 1811 BLAKE2B 
2edf730fe4549c82414d1bfef20eae7c00063bd5c246a3d0b50224f3b2dd70a5ebda0d0c8c32a41e78695d87be9456cd58d5367184fd0fa5c816be17589391d3
 SHA512 
0bdd055c117a219f9d3721938c90fbd9dd7449fa582f457328fee42a86bb5f1256b08b3c4cfeb3396389f8f1e53b2ca3f13b8ef7b29e6b1c95606c954cd37f6f
+EBUILD visual-studio-code-1.41.1.ebuild 1811 BLAKE2B 
2edf730fe4549c82414d1bfef20eae7c00063bd5c246a3d0b50224f3b2dd70a5ebda0d0c8c32a41e78695d87be9456cd58d5367184fd0fa5c816be17589391d3
 SHA512 
0bdd055c117a219f9d3721938c90fbd9dd7449fa582f457328fee42a86bb5f1256b08b3c4cfeb3396389f8f1e53b2ca3f13b8ef7b29e6b1c95606c954cd37f6f
 MISC metadata.xml 309 BLAKE2B 
73c83a727af6c58aaac4474203ae062f7b93feade63573a5f6fe77b1d048069647dff9537a85a2d1b068ff224d8e189e34ae7a13971034075fad61e1269b3658
 SHA512 
7550b26c1e56caadc801d76a1069e23a05e9392c512599aaf34dae7267f3103611bcf8e4a4400b1ffca4afc7104feefba164a64559317e8637bcc636492671e3

diff --git a/app-editors/visual-studio-code/visual-studio-code-1.41.1.ebuild 
b/app-editors/visual-studio-code/visual-studio-code-1.41.1.ebuild
new file mode 100644
index 0000000..d98249a
--- /dev/null
+++ b/app-editors/visual-studio-code/visual-studio-code-1.41.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop pax-utils
+
+MY_PN="vscode"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Multiplatform Visual Studio Code from Microsoft (binary version)"
+HOMEPAGE="https://code.visualstudio.com";
+BASE_URI="https://update.code.visualstudio.com/${PV}";
+SRC_URI="
+       amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
+       "
+RESTRICT="mirror strip bindist"
+
+LICENSE="MS-vscode-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="global-menu libsecret qt5"
+
+DEPEND="
+       >=media-libs/libpng-1.2.46
+       >=x11-libs/gtk+-2.24.8-r1:2
+       x11-libs/cairo
+       gnome-base/gconf
+       x11-libs/libXtst
+       !app-editors/vscode
+"
+
+RDEPEND="
+       ${DEPEND}
+       >=net-print/cups-2.0.0
+       x11-libs/libnotify
+       x11-libs/libXScrnSaver
+       dev-libs/nss
+       libsecret? ( app-crypt/libsecret[crypt] )
+       global-menu? (
+               dev-libs/libdbusmenu
+               qt5? (
+                       dev-libs/libdbusmenu-qt
+               )
+       )
+"
+
+DOCS=( resources/app/LICENSE.rtf )
+
+QA_PRESTRIPPED="opt/${MY_PN}/code"
+QA_PREBUILT="opt/${MY_PN}/code"
+
+pkg_setup(){
+       use amd64 && S="${WORKDIR}/VSCode-linux-x64"
+       use x86 && S="${WORKDIR}/VSCode-linux-ia32"
+}
+
+src_install(){
+       pax-mark m code
+       insinto "/opt/${PN}"
+       doins -r *
+       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.asar.unpacked/vscode-ripgrep/bin/rg"
+       fperms +x "/opt/${PN}/resources/app/extensions/git/dist/askpass.sh"
+       dosym "/opt/${PN}/bin/code" "/usr/bin/${MY_PN}"
+       make_desktop_entry "${MY_PN}" "Visual Studio Code" "${MY_PN}" 
"Development;IDE"
+       newicon "resources/app/resources/linux/code.png" ${MY_PN}.png
+       einstalldocs
+}
+
+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