commit:     3ca108874941fddf242124fc47963c35e6b280cd
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat Jun 29 10:00:56 2019 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat Jun 29 10:00:56 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=3ca10887

add visual-studio-code-1.35.1

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

 app-editors/visual-studio-code/Manifest            |  3 +
 .../visual-studio-code-1.35.1.ebuild               | 77 ++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/app-editors/visual-studio-code/Manifest 
b/app-editors/visual-studio-code/Manifest
index 32bb2d9..d43320c 100644
--- a/app-editors/visual-studio-code/Manifest
+++ b/app-editors/visual-studio-code/Manifest
@@ -10,9 +10,12 @@ DIST visual-studio-code-1.32.1-amd64.tar.gz 68075602 BLAKE2B 
6a275dafa9b72129c71
 DIST visual-studio-code-1.32.1-x86.tar.gz 69072928 BLAKE2B 
2f471ded483776f61dbfa28abc93a78e7f254d20bf75caec51c1c6fdb14186eaf31444c75c04da5965f06c55391937ebe4fd9ef8ca49bfb23742260c16dd00c3
 SHA512 
c27d3f5be88958da3da0281f74022c608116007610d01f030cf57c2e2031c267484306dc19a83835dec80b4fff4cbc4608173f68cbcda6e41c924ea7f4dfe8a0
 DIST visual-studio-code-1.33.0-amd64.tar.gz 68367968 BLAKE2B 
ce4daaef9ee12e48c7f26ae5e8746ebcdeb02307fb72cda63f748ec7266e6b4638d36ce036cd29e08510f6138decba9b642774529b762411ba14123044274a90
 SHA512 
88e066550141fa51c0f06a1c5445822f8759176d010c96e86d84cffc98e1f71e3903abfb780cdde676b16b3f5686063b84f51a9e46095bd6a2d22c90d4240dcd
 DIST visual-studio-code-1.33.0-x86.tar.gz 69349339 BLAKE2B 
4fc34d79a77387d0e4448fb51b9624bf515b7bd25e503f1fa7acec78c83c964c8ccfe4fe1d4ad8b8a18490165defc4bc3eba79425972226eb019528582128580
 SHA512 
f30027f8a6b0eed93d1ec43abfd79af3ac4ac523f405f903f4cabec5903285fce73e3728713294a347ce81f192ef2bdb7c930f5c2e778a607e445ccd8ae131a3
+DIST visual-studio-code-1.35.1-amd64.tar.gz 68383648 BLAKE2B 
27f6df0b5326999b10f5d601dc31a342c7a6b14dd338b7e4f5ecaa9a3b7dc26c2db1b1faba9a62357a6540f3400c7d43687af88ad07e6faa720fe0c2e201c6b9
 SHA512 
84959245e0adfec04fe31ff0f30862313dbc89291bf47772f784e29e17a6e955ec21f9a1d23f8f1b6717c747517063db2563650bb42a5094ee17dad131606b92
+DIST visual-studio-code-1.35.1-x86.tar.gz 69348209 BLAKE2B 
40ae0b6ca47056b95c407e633df348aa1042b200b51b4287c9bf445a1f760a997ca060ce81e69f86ee9a17dad16f7f3d6ce2cc25d38d25913160557eb4f6964e
 SHA512 
49920c90cdaedb8319efee655d353e9286e1d656860accf60f7e7753a69673aeac13f0c6b0e80632963c641f5be4d830612b5f81813e5aed0a4d0fc8159ca80b
 EBUILD visual-studio-code-1.29.1.ebuild 1563 BLAKE2B 
171013c209e1ff92efbbe97c1783c1e560a6b01d7db94cd84ac661ec93dac88560d281935934077be2eba91242b1c6e50b0ca512e1d48c7f04b20ca321175eaf
 SHA512 
e73a47a360462f55cebf4d04985e2dd15dd3529e82258853ea92aaeb27ceb0c26f15349119b1b97cd46c8106374de685ff7340f342e22bf032d6197ec9e61fb4
 EBUILD visual-studio-code-1.30.2.ebuild 1670 BLAKE2B 
45afa7595abf46f34adb1f2e46ae7772ded0df0a3b485224ca361c8cf499f584c092bc378277d66a8c81a9da89a34d3995446e941dbced12352ec06be703f944
 SHA512 
c7562d5e9ef3d432c61bd306d24ed884e63b1264d0069588bd340ab73a8c76c99bec06df7ff6ba49433176d7dc20abaceb16351b43ed4963ec1b22221ba0bb5a
 EBUILD visual-studio-code-1.31.0.ebuild 1670 BLAKE2B 
45afa7595abf46f34adb1f2e46ae7772ded0df0a3b485224ca361c8cf499f584c092bc378277d66a8c81a9da89a34d3995446e941dbced12352ec06be703f944
 SHA512 
c7562d5e9ef3d432c61bd306d24ed884e63b1264d0069588bd340ab73a8c76c99bec06df7ff6ba49433176d7dc20abaceb16351b43ed4963ec1b22221ba0bb5a
 EBUILD visual-studio-code-1.32.1.ebuild 1670 BLAKE2B 
45afa7595abf46f34adb1f2e46ae7772ded0df0a3b485224ca361c8cf499f584c092bc378277d66a8c81a9da89a34d3995446e941dbced12352ec06be703f944
 SHA512 
c7562d5e9ef3d432c61bd306d24ed884e63b1264d0069588bd340ab73a8c76c99bec06df7ff6ba49433176d7dc20abaceb16351b43ed4963ec1b22221ba0bb5a
 EBUILD visual-studio-code-1.33.0.ebuild 1766 BLAKE2B 
53a52a29f7d3ec11a4039f515a4b6c2adf2a874684d7b6f9a81aa22feee559bc5caf91ffaebd46997fc05ec4cb92ca784e7148c9f5c9fbe45717967dcdd0e0d4
 SHA512 
1b591e1d171a59394a74e03472a4a6b90b686bf76cf336348aded64037f868885a45773834d6c609a9e309519c7af01c1e91aa50cc49290887f3af80fd73ef04
+EBUILD visual-studio-code-1.35.1.ebuild 1875 BLAKE2B 
4dca47917b252db3b4cc98479c6177674cc9bdae00433babd9343f5360dc37ada490bd64822eeba86580be72fe1e57ecdcf6e9a1c3512697265126bc09c363ec
 SHA512 
c971cdc405251d366dd18bca6ddd3471e8ea538eca5ec1f10d282b8be74068479f6e6151e33781bd33ad24ce5aa964c89ee61e158181b6ab601ea29e46a2dadb
 MISC metadata.xml 309 BLAKE2B 
73c83a727af6c58aaac4474203ae062f7b93feade63573a5f6fe77b1d048069647dff9537a85a2d1b068ff224d8e189e34ae7a13971034075fad61e1269b3658
 SHA512 
7550b26c1e56caadc801d76a1069e23a05e9392c512599aaf34dae7267f3103611bcf8e4a4400b1ffca4afc7104feefba164a64559317e8637bcc636492671e3

diff --git a/app-editors/visual-studio-code/visual-studio-code-1.35.1.ebuild 
b/app-editors/visual-studio-code/visual-studio-code-1.35.1.ebuild
new file mode 100644
index 0000000..b26db96
--- /dev/null
+++ b/app-editors/visual-studio-code/visual-studio-code-1.35.1.ebuild
@@ -0,0 +1,77 @@
+# 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="
+       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="MS-vscode-EULA"
+SLOT="0"
+KEYWORDS="~x86 ~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