diff options
Diffstat (limited to 'app-editors/visual-studio-code')
-rw-r--r-- | app-editors/visual-studio-code/Manifest | 3 | ||||
-rw-r--r-- | app-editors/visual-studio-code/visual-studio-code-1.31.0.ebuild | 65 |
2 files changed, 68 insertions, 0 deletions
diff --git a/app-editors/visual-studio-code/Manifest b/app-editors/visual-studio-code/Manifest index 01308b0..9d7092b 100644 --- a/app-editors/visual-studio-code/Manifest +++ b/app-editors/visual-studio-code/Manifest @@ -4,6 +4,9 @@ DIST visual-studio-code-1.29.1-amd64.tar.gz 64558323 BLAKE2B ff4a160e0ded30d5996 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 +DIST visual-studio-code-1.31.0-amd64.tar.gz 67903602 BLAKE2B 9c11e519491bafa0253e564b4db1a15be7becd0c11e50ac6d0f6a1145d3e26cca75702c11d2ed964954d5a9b94fac87fa1aed439e625785cee9f2090c833ddd9 SHA512 9a3e5d1ccafe0261129522e9a7a7ee4729af618d54b6383383c0568814362241eb98a3d5995920c4e2e71f735d7d99253cdb2f0f14e675eb3801cef13dccb32d +DIST visual-studio-code-1.31.0-x86.tar.gz 68895784 BLAKE2B e9e99cd32d60d40921428ba379f31b253c782a3ba4226eb32e12c014a536c39a6b0ee59e81d377b5e31377eacd97d56ea9e7f9d8f13ba72a63bf23a560828545 SHA512 93400394283a311879d1eb10e72ff0a40a948ca79128847c6739990b43cfa0da7d7ef42e480b0c1bf374b788d588b69b3d73b4063729e44a6275759ab0a1a197 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 MISC metadata.xml 309 BLAKE2B 73c83a727af6c58aaac4474203ae062f7b93feade63573a5f6fe77b1d048069647dff9537a85a2d1b068ff224d8e189e34ae7a13971034075fad61e1269b3658 SHA512 7550b26c1e56caadc801d76a1069e23a05e9392c512599aaf34dae7267f3103611bcf8e4a4400b1ffca4afc7104feefba164a64559317e8637bcc636492671e3 diff --git a/app-editors/visual-studio-code/visual-studio-code-1.31.0.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.31.0.ebuild new file mode 100644 index 0000000..019c05b --- /dev/null +++ b/app-editors/visual-studio-code/visual-studio-code-1.31.0.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" +} |