Browse Source

New version of VSC

master
Rafal Kupiec 6 months 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
DIST visual-studio-code-1.29.0-x86.tar.gz 67517811 BLAKE2B 6732c288ef30065335f33ee3f243d3d10c3b93ad5bec7d4287331e7e89b5271dfe40f6b25adbd5035d9606ed75ceb1633d11ea4d5ae5468603e9297007aa3a55 SHA512 6fbc42c038e275372ab090abcababecb90b8a5e2e86991f1a65072dd56b53b1a589399f7383a12e588c76a2e2aeb4e6e1ee2d903d44b6365f3824db376a79318
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.32.3-amd64.tar.gz 68078974 BLAKE2B b6178a09e2d6f2e8e776869cc5d1e10bb3fd66185e2f32d970bdb60ab44b72cacb87b258a71c81ea835a108699a491f84699cce9fa028b7067394395510978ec SHA512 d91faef02d03a695323c55ea9ebae5e43af689c54418bad6f98cc9ee6a31cd75aca7e0ff34f0d24d7f4557ecc6e7d90d81146d22d4a2312b8c03206f9af71874
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 @@
# 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}
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"
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"
}

Loading…
Cancel
Save