diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2019-10-27 21:57:43 +0000 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2019-10-27 21:57:43 +0000 |
commit | 5f64dd22b389e146fb69cdb16eed4577a974ff99 (patch) | |
tree | 4fe784aa9aef15afb5e37c49a99455872d3c7695 /app-editors | |
parent | Correct eclipse ebuild slot (diff) | |
download | ssnb-5f64dd22b389e146fb69cdb16eed4577a974ff99.tar.gz ssnb-5f64dd22b389e146fb69cdb16eed4577a974ff99.tar.bz2 ssnb-5f64dd22b389e146fb69cdb16eed4577a974ff99.zip |
update visual studio code
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/visual-studio-code/Manifest | 2 | ||||
-rw-r--r-- | app-editors/visual-studio-code/visual-studio-code-1.39.2.ebuild | 76 |
2 files changed, 78 insertions, 0 deletions
diff --git a/app-editors/visual-studio-code/Manifest b/app-editors/visual-studio-code/Manifest index 594ed0f..4d4b15c 100644 --- a/app-editors/visual-studio-code/Manifest +++ b/app-editors/visual-studio-code/Manifest @@ -5,8 +5,10 @@ DIST visual-studio-code-1.35.1-x86.tar.gz 69348209 BLAKE2B 40ae0b6ca47056b95c407 DIST visual-studio-code-1.36.0-amd64.tar.gz 77632421 BLAKE2B 14ed5b2a042d8b41375575203dfe97f460da0ea9c84d1fbdb3255aae8fab67d9d8c3416b423de31b5f3d32dff085953956c4522d4ec3dc8438a6d93185875391 SHA512 2a6e066311345ec000dbe51da1ac662fb4e04f73e907fe433d7e55b3b33a470d8363c1260f0b4b75f20a359a281e850e2136b28bae7eb2c2ce82d41f93b708e0 DIST visual-studio-code-1.38.0-amd64.tar.gz 80879094 BLAKE2B efd6ce4e61b424d0581f14d25fb93fd87ac43c492fb956f9fa8708cca188a732b6fb16136b05c609c196f9cd8a6a4a5f159bea1c289a4097e1a56e76d2499aed SHA512 9f13490bca4e8b4bfba75a0c69afdcda3b188f8bd88c33018a77537df01bf4ea8b97035a229300298b440f6b1d68e0543c43ef4e353c2be4b0edd2450c45a4dc 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 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 MISC metadata.xml 309 BLAKE2B 73c83a727af6c58aaac4474203ae062f7b93feade63573a5f6fe77b1d048069647dff9537a85a2d1b068ff224d8e189e34ae7a13971034075fad61e1269b3658 SHA512 7550b26c1e56caadc801d76a1069e23a05e9392c512599aaf34dae7267f3103611bcf8e4a4400b1ffca4afc7104feefba164a64559317e8637bcc636492671e3 diff --git a/app-editors/visual-studio-code/visual-studio-code-1.39.2.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.39.2.ebuild new file mode 100644 index 0000000..d98249a --- /dev/null +++ b/app-editors/visual-studio-code/visual-studio-code-1.39.2.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" +} |