Browse Source

New version of VSC

Rafal Kupiec 1 month ago
parent
commit
22f4c68612
Signed by: belliash <belliash@codingworkshop.eu.org> GPG Key ID: 4E829243E0CFE6B4

+ 2
- 0
app-editors/visual-studio-code/Manifest View File

@@ -14,3 +14,5 @@ DIST visual-studio-code-1.29.0-amd64.tar.gz 64557730 BLAKE2B 6314fce6b09e0cf9030
14 14
 DIST visual-studio-code-1.29.0-x86.tar.gz 67517811 BLAKE2B 6732c288ef30065335f33ee3f243d3d10c3b93ad5bec7d4287331e7e89b5271dfe40f6b25adbd5035d9606ed75ceb1633d11ea4d5ae5468603e9297007aa3a55 SHA512 6fbc42c038e275372ab090abcababecb90b8a5e2e86991f1a65072dd56b53b1a589399f7383a12e588c76a2e2aeb4e6e1ee2d903d44b6365f3824db376a79318
15 15
 DIST visual-studio-code-1.30.2-amd64.tar.gz 64974797 BLAKE2B 289dd69fac033b33bd4579c70481e802b97588d5ceb6db09043577c842f15af02c4bb600cb255d59bb4742810ff23f69f97360f76195953e14d4a12198a24b6e SHA512 3d9d9cdb4129c0a32a15a39337ccfe1f215870cda65f81616d9e5ae17dcadbee3a5afa118c96d26513dd215c5eb49e81bbc1ea4af46e0a02790d712c96fa96d1
16 16
 DIST visual-studio-code-1.30.2-x86.tar.gz 67934150 BLAKE2B 569614ecc3e7c7b45c534029b6895603ca759a5fcc1e0f8b408e5970613798fd4b55254cabc1003dc17dc7baedae73c4fdd7ce8fa7ec3b1a655b48d002777b43 SHA512 bf399d5c5ea423204d5674332117eca130e944c48e676ca37b0850318935bffc96b1de1404f1185ec904e9813d869a089208443188504d07389f2539f6ffa61b
17
+DIST visual-studio-code-1.32.3-amd64.tar.gz 68078974 BLAKE2B b6178a09e2d6f2e8e776869cc5d1e10bb3fd66185e2f32d970bdb60ab44b72cacb87b258a71c81ea835a108699a491f84699cce9fa028b7067394395510978ec SHA512 d91faef02d03a695323c55ea9ebae5e43af689c54418bad6f98cc9ee6a31cd75aca7e0ff34f0d24d7f4557ecc6e7d90d81146d22d4a2312b8c03206f9af71874
18
+DIST visual-studio-code-1.32.3-x86.tar.gz 69060505 BLAKE2B 28e26a4b5a9cf1cec69b945ada27e0ebb86be4d012f1e2f5f4c5d8f7482089b5e91b30c5b3bbf909a1ba22a6bf3b43a0ae5578e181db897a08c455995cc7b9e9 SHA512 8a967ce21b23ca2758beb08330b08fa76606a32035727f79d8ccf54a3383b217e53171fbf7e68d0b4185cc395c08bed92b77f0584cd3beca791b47a5910da881

+ 63
- 0
app-editors/visual-studio-code/visual-studio-code-1.32.3.ebuild View File

@@ -0,0 +1,63 @@
1
+# Copyright 1999-2018 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+
4
+EAPI=6
5
+
6
+inherit eutils pax-utils
7
+
8
+DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
9
+HOMEPAGE="https://code.visualstudio.com"
10
+BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
11
+SRC_URI="
12
+	x86? ( ${BASE_URI}/linux-ia32/stable ->  ${P}-x86.tar.gz )
13
+	amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
14
+	"
15
+RESTRICT="mirror strip bindist"
16
+
17
+LICENSE="MIT"
18
+SLOT="0"
19
+KEYWORDS="~x86 ~amd64"
20
+IUSE="libsecret"
21
+
22
+DEPEND="
23
+	>=media-libs/libpng-1.2.46
24
+	>=x11-libs/gtk+-2.24.8-r1:2
25
+	x11-libs/cairo
26
+	gnome-base/gconf
27
+	x11-libs/libXtst
28
+"
29
+
30
+RDEPEND="
31
+	${DEPEND}
32
+	x11-libs/libnotify
33
+	x11-libs/libXScrnSaver
34
+	dev-libs/nss
35
+	libsecret? ( app-crypt/libsecret[crypt] )
36
+"
37
+
38
+QA_PRESTRIPPED="opt/${PN}/code"
39
+QA_PREBUILT="opt/${PN}/code"
40
+
41
+pkg_setup(){
42
+	use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
43
+}
44
+
45
+src_install(){
46
+	pax-mark m code
47
+	insinto "/opt/${PN}"
48
+	doins -r *
49
+	dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
50
+	make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
51
+	doicon ${FILESDIR}/${PN}.png
52
+	fperms +x "/opt/${PN}/code"
53
+	fperms +x "/opt/${PN}/bin/code"
54
+	fperms +x "/opt/${PN}/libnode.so"
55
+	fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg"
56
+	insinto "/usr/share/licenses/${PN}"
57
+	newins "resources/app/LICENSE.txt" "LICENSE"
58
+}
59
+
60
+pkg_postinst(){
61
+	elog "You may install some additional utils, so check them in:"
62
+	elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
63
+}

Loading…
Cancel
Save