Mercurial > hg > portage
changeset 470:c7e64a76f7bb
new vscode ebuild
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 09 Apr 2019 02:31:47 +0200 |
parents | ce3ab8337610 |
children | 4eda6e8ffca1 |
files | app-editors/visual-studio-code/Manifest app-editors/visual-studio-code/visual-studio-code-1.33.0.ebuild |
diffstat | 2 files changed, 63 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/app-editors/visual-studio-code/Manifest Tue Mar 19 13:52:51 2019 +0100 +++ b/app-editors/visual-studio-code/Manifest Tue Apr 09 02:31:47 2019 +0200 @@ -2,5 +2,7 @@ AUX visual-studio-code.png 30538 BLAKE2B 16cf4c0e8f6c59451e38049b2531b08cfac9c0ef570b0f4c28c16a51ebfa81e95db2c5286dd4c1ddb0fa535858f3373cff2f76a21a2859321cd80529c2d6ef52 SHA512 fabb74b9ab860d8003798ea85db2a3c79c1b683897acc5b580884a8946fa060276f8cdf459a9fb5fd9a560094b250838a3dfa2e5e5f8032601a155466dffa160 DIST visual-studio-code-1.31.1-amd64.tar.gz 67903381 BLAKE2B d836f4fe88cb88166067178881f0e43fe67e4d591c3e778a100e10e9a04bd90d1e6fcc8c404f1d1f479fb1c76cbbedacbb74c4bdb4e4d5fe60544e09af538bb0 SHA512 d5276d9b2e70ff399529dc4ddb8b4079f05b608b06024d8bd94b8c942697ed7b85012b8bb91b546f662465e4a502a5458d19e40a2154f2358f314efb637ba02f DIST visual-studio-code-1.32.3-amd64.tar.gz 68078974 BLAKE2B b6178a09e2d6f2e8e776869cc5d1e10bb3fd66185e2f32d970bdb60ab44b72cacb87b258a71c81ea835a108699a491f84699cce9fa028b7067394395510978ec SHA512 d91faef02d03a695323c55ea9ebae5e43af689c54418bad6f98cc9ee6a31cd75aca7e0ff34f0d24d7f4557ecc6e7d90d81146d22d4a2312b8c03206f9af71874 +DIST visual-studio-code-1.33.0-amd64.tar.gz 68367968 BLAKE2B ce4daaef9ee12e48c7f26ae5e8746ebcdeb02307fb72cda63f748ec7266e6b4638d36ce036cd29e08510f6138decba9b642774529b762411ba14123044274a90 SHA512 88e066550141fa51c0f06a1c5445822f8759176d010c96e86d84cffc98e1f71e3903abfb780cdde676b16b3f5686063b84f51a9e46095bd6a2d22c90d4240dcd EBUILD visual-studio-code-1.31.1.ebuild 1441 BLAKE2B 412bb6077988e2f3c24088ccd37b8c900e3ca8be4fb21a53224ae2d71668de0de32c81020177b197c0cc24ea943aac4668f44324b1eebdae91a5b2870dfa0191 SHA512 523414b04da0a38e44b3f2afe0490f79d7abc48478d0a6f5e5d0c4cebec19d0fc7fec0d37968c960f901cac8031d14326f1a234fb459b392b4973bed7b0938cd EBUILD visual-studio-code-1.32.3.ebuild 1441 BLAKE2B 412bb6077988e2f3c24088ccd37b8c900e3ca8be4fb21a53224ae2d71668de0de32c81020177b197c0cc24ea943aac4668f44324b1eebdae91a5b2870dfa0191 SHA512 523414b04da0a38e44b3f2afe0490f79d7abc48478d0a6f5e5d0c4cebec19d0fc7fec0d37968c960f901cac8031d14326f1a234fb459b392b4973bed7b0938cd +EBUILD visual-studio-code-1.33.0.ebuild 1367 BLAKE2B 7a309bbcb43974c2c41168b2918f27f1be27744c5f43805c73be3a903965e40f3d08b06c11024bd18c86ba167b8a4020ee29f3260d4f61c6710de13df77016d1 SHA512 a6063d27413ee739447ddeae2e796f9bf0ebe4af0bb99e2dc08c04942b99785f8d1b0e000781baaebdf0e8ae4d1d5a52104d5266af08feb05b98821670e06822
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-editors/visual-studio-code/visual-studio-code-1.33.0.ebuild Tue Apr 09 02:31:47 2019 +0200 @@ -0,0 +1,61 @@ +# Copyright 1999-2017 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=" + amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz ) + " +RESTRICT="mirror strip bindist" + +LICENSE="EULA MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +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 + app-crypt/libsecret[crypt] +" + +QA_PRESTRIPPED="opt/${PN}/code" +QA_PREBUILT="opt/${PN}/code" + +pkg_setup(){ + S="${WORKDIR}/VSCode-linux-x64" +} + +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" + insinto "/usr/share/licenses/${PN}" + newins "resources/app/LICENSE.rtf" "LICENSE" +} + +pkg_postinst(){ + elog "You may install some additional utils, so check them in:" + elog "https://code.visualstudio.com/Docs/setup#_additional-tools" +}