commit: dcb1c04a2979a344f69a1ef08da45dd4a6d8a644 Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> AuthorDate: Wed Jan 16 22:54:22 2019 +0000 Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> CommitDate: Wed Jan 16 22:54:22 2019 +0000 URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=dcb1c04a
update visual-studio-code Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com> app-editors/visual-studio-code/Manifest | 3 + .../visual-studio-code-1.30.2.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/app-editors/visual-studio-code/Manifest b/app-editors/visual-studio-code/Manifest index ff6fc68..01308b0 100644 --- a/app-editors/visual-studio-code/Manifest +++ b/app-editors/visual-studio-code/Manifest @@ -2,5 +2,8 @@ AUX visual-studio-code.desktop 219 BLAKE2B 76da7de95bb06cab2feaef664aee550b9ea68 AUX visual-studio-code.png 30538 BLAKE2B 16cf4c0e8f6c59451e38049b2531b08cfac9c0ef570b0f4c28c16a51ebfa81e95db2c5286dd4c1ddb0fa535858f3373cff2f76a21a2859321cd80529c2d6ef52 SHA512 fabb74b9ab860d8003798ea85db2a3c79c1b683897acc5b580884a8946fa060276f8cdf459a9fb5fd9a560094b250838a3dfa2e5e5f8032601a155466dffa160 DIST visual-studio-code-1.29.1-amd64.tar.gz 64558323 BLAKE2B ff4a160e0ded30d5996a96df301f0847d3f44f701fb1d53e98bccf44fb35ca65e3c603b5ccee6827dfb3379ccdc1c9b660cd853a9cf6d955d352109156fa9eff SHA512 efbea554e3306069cadf4256180cbd2059511b64d69aa28254960b2794602c3e5966b7dcb0a49e6c93692c96c89b4902532a414229493dd99788287cb93eb60a DIST visual-studio-code-1.29.1-x86.tar.gz 67518099 BLAKE2B b6604bfdd605a364f704e7fdb35eb196b0186f9a282972434a8c4af75d56d40962e0f384e3df7a28bf1e01f2c473f3bd4189aa90b05a70f99f184b5d155befd7 SHA512 de3b8e2ad1f52420539f077e46761776e0106d0af58336e8e9fbbd60f3559e0fa6a867a82962f262550bd0674f1323bd95c0e84840a14e5f5c1bafbd260be875 +DIST visual-studio-code-1.30.2-amd64.tar.gz 64974797 BLAKE2B 289dd69fac033b33bd4579c70481e802b97588d5ceb6db09043577c842f15af02c4bb600cb255d59bb4742810ff23f69f97360f76195953e14d4a12198a24b6e SHA512 3d9d9cdb4129c0a32a15a39337ccfe1f215870cda65f81616d9e5ae17dcadbee3a5afa118c96d26513dd215c5eb49e81bbc1ea4af46e0a02790d712c96fa96d1 +DIST visual-studio-code-1.30.2-x86.tar.gz 67934150 BLAKE2B 569614ecc3e7c7b45c534029b6895603ca759a5fcc1e0f8b408e5970613798fd4b55254cabc1003dc17dc7baedae73c4fdd7ce8fa7ec3b1a655b48d002777b43 SHA512 bf399d5c5ea423204d5674332117eca130e944c48e676ca37b0850318935bffc96b1de1404f1185ec904e9813d869a089208443188504d07389f2539f6ffa61b 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 MISC metadata.xml 309 BLAKE2B 73c83a727af6c58aaac4474203ae062f7b93feade63573a5f6fe77b1d048069647dff9537a85a2d1b068ff224d8e189e34ae7a13971034075fad61e1269b3658 SHA512 7550b26c1e56caadc801d76a1069e23a05e9392c512599aaf34dae7267f3103611bcf8e4a4400b1ffca4afc7104feefba164a64559317e8637bcc636492671e3 diff --git a/app-editors/visual-studio-code/visual-studio-code-1.30.2.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.30.2.ebuild new file mode 100644 index 0000000..019c05b --- /dev/null +++ b/app-editors/visual-studio-code/visual-studio-code-1.30.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 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="libsecret" + +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 + dev-libs/nss + libsecret? ( 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.asar.unpacked/vscode-ripgrep/bin/rg" + fperms +x "/opt/${PN}/resources/app/extensions/git/dist/askpass.sh" + 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" +}