diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-09-29 13:29:00 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2020-09-29 13:29:00 +0100 |
commit | ab3f1c96ff813694f898494d606a2d960bba79b9 (patch) | |
tree | 30113a8470da3701c1457b9b54df108a77b54802 /app-editors | |
parent | Update and clean old versions of megasync ebuild (diff) | |
download | ssnb-ab3f1c96ff813694f898494d606a2d960bba79b9.tar.gz ssnb-ab3f1c96ff813694f898494d606a2d960bba79b9.tar.bz2 ssnb-ab3f1c96ff813694f898494d606a2d960bba79b9.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.49.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 3250a2f..2e21399 100644 --- a/app-editors/visual-studio-code/Manifest +++ b/app-editors/visual-studio-code/Manifest @@ -17,6 +17,7 @@ DIST visual-studio-code-1.46.1-amd64.tar.gz 89251663 BLAKE2B 61148268605c94f5faa DIST visual-studio-code-1.47.1-amd64.tar.gz 89439695 BLAKE2B 16f83a4b8e83097ed55a860168c60345b8247c9cd6d52aa00dcbba636a4fa4f05472a7366c78718f4a10e9dad0130231fce766456ea3f4dd5bf4525a05199e85 SHA512 ffa5f74f740cb509070eff3f44621defd2e31a4d34708f110f95e79ab4b6d7fd35efb901978c1a50cdd0d6034cfaf21cdf53a7990639d058b9aae1f2ab27fcc3 DIST visual-studio-code-1.47.2-amd64.tar.gz 89440138 BLAKE2B daf86fcb54c363ad0d3a3f1fc368e8ca30425b8784080717d9c489a1b19d1904c80e7751c23fb31a2d352f68632a9d154393be77c7fc7eb6469a590be40bb307 SHA512 a1acdc646edf62ceb62cec80103461815cab6e15154927716ba101ac78249ed65477e3ae59b603a1e14f5241bb8361c5e8ca4c8944c1619e5e11db60128f07f9 DIST visual-studio-code-1.49.0-amd64.tar.gz 91832777 BLAKE2B d39ecd901503a895fada2f4779eef1101ac42064273a45a8825f8d492f68f7cda27f19a8a38abdeccc803401418bd9fd805117ba434ca825c180ce61a7b621bc SHA512 7c8d2db5634d89ff1c9af9d33e7b1a8bf4aaddb343f8ed9017696e98da0f55e89cfc60db5588c2f2353a98913c992fa40f0155e188bd8e9d1d28eb3ba2fea74f +DIST visual-studio-code-1.49.2-amd64.tar.gz 91847597 BLAKE2B 7841e539765419ef86fec4c420edd3ba55510f4b2bd2ab42827ae34ec7f307d69bfcc01821293f9f0177c7eafccaf89383e4b7962c54bd30fb7b47c7228ea9f8 SHA512 45a4771e9582aba04eb38324d82800e0a3c82a82f21329ebee630e8e934985a69a207a95c37f2593a2fe90631bca049ab16dce0a42560a27c5662b25acba3fa0 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 @@ -33,4 +34,5 @@ EBUILD visual-studio-code-1.46.1.ebuild 1811 BLAKE2B 2edf730fe4549c82414d1bfef20 EBUILD visual-studio-code-1.47.1.ebuild 1811 BLAKE2B 2edf730fe4549c82414d1bfef20eae7c00063bd5c246a3d0b50224f3b2dd70a5ebda0d0c8c32a41e78695d87be9456cd58d5367184fd0fa5c816be17589391d3 SHA512 0bdd055c117a219f9d3721938c90fbd9dd7449fa582f457328fee42a86bb5f1256b08b3c4cfeb3396389f8f1e53b2ca3f13b8ef7b29e6b1c95606c954cd37f6f EBUILD visual-studio-code-1.47.2.ebuild 1811 BLAKE2B 2edf730fe4549c82414d1bfef20eae7c00063bd5c246a3d0b50224f3b2dd70a5ebda0d0c8c32a41e78695d87be9456cd58d5367184fd0fa5c816be17589391d3 SHA512 0bdd055c117a219f9d3721938c90fbd9dd7449fa582f457328fee42a86bb5f1256b08b3c4cfeb3396389f8f1e53b2ca3f13b8ef7b29e6b1c95606c954cd37f6f EBUILD visual-studio-code-1.49.0.ebuild 1811 BLAKE2B 2edf730fe4549c82414d1bfef20eae7c00063bd5c246a3d0b50224f3b2dd70a5ebda0d0c8c32a41e78695d87be9456cd58d5367184fd0fa5c816be17589391d3 SHA512 0bdd055c117a219f9d3721938c90fbd9dd7449fa582f457328fee42a86bb5f1256b08b3c4cfeb3396389f8f1e53b2ca3f13b8ef7b29e6b1c95606c954cd37f6f +EBUILD visual-studio-code-1.49.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.49.2.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.49.2.ebuild new file mode 100644 index 0000000..d98249a --- /dev/null +++ b/app-editors/visual-studio-code/visual-studio-code-1.49.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" +} |