Browse Source

Update VS:Code.

master
Rafal Kupiec 3 months ago
parent
commit
4c985b55d6
Signed by: belliash <belliash@codingworkshop.eu.org> GPG Key ID: 4E829243E0CFE6B4

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

@@ -18,3 +18,5 @@ DIST visual-studio-code-1.32.3-amd64.tar.gz 68078974 BLAKE2B b6178a09e2d6f2e8e77
DIST visual-studio-code-1.32.3-x86.tar.gz 69060505 BLAKE2B 28e26a4b5a9cf1cec69b945ada27e0ebb86be4d012f1e2f5f4c5d8f7482089b5e91b30c5b3bbf909a1ba22a6bf3b43a0ae5578e181db897a08c455995cc7b9e9 SHA512 8a967ce21b23ca2758beb08330b08fa76606a32035727f79d8ccf54a3383b217e53171fbf7e68d0b4185cc395c08bed92b77f0584cd3beca791b47a5910da881
DIST visual-studio-code-1.33.1-amd64.tar.gz 68365770 BLAKE2B c542ae61cd440ad73f95adcc5836f6a4d9b23230b54f1fdc72ce50134a24180fc8cd1baf2332d26c5c027a2628fc25465e2d04e71ae004f3dd41c40e6a5db5bc SHA512 bd8035051d52eca92979cb39187aa45fb6bb66715eda2950b472a9566dfacd52d20d7c45782c69c43f0d031a06c714f6270886840d3318881f8a38d4bfbc0b68
DIST visual-studio-code-1.33.1-x86.tar.gz 69343642 BLAKE2B 6ff9a2a25f387356eafdc89da57d906623e8cade671269b35f7f54d35c724ed16333f375c4a5ea495901b400781d8bf36474a2543d393d33f18d205183a9dc94 SHA512 4ba061d2cdab3872f92848e607ad531fbcf80dd9855984812997c283a89beaabcd8485929b73f939ce685547fc5817b5c56a9ffbd00872639c19cddd8685b62d
DIST visual-studio-code-1.34.0-amd64.tar.gz 68422077 BLAKE2B fe8405147634af71294d09828effd4e9d6c3598656f2880274c8d59a21f3fc7b186a5b3464db4f71dfcced246bbbbd0d557aa69701d485d2dd842528c80cf2ae SHA512 35bf97455dc3b9cfd4c6fb1d0fb1a47675670bada4c4f43b688741ae1a37e6c3960bfbae75b27669d76f222dbd9b4e44f257dde5f601274a7e8e4a1bbe06bfba
DIST visual-studio-code-1.34.0-x86.tar.gz 69399018 BLAKE2B 9a8cb73d13a229bd432d12528d8dd2284b0f4cd1a2f217381695e4c7b6fe033eb5ef66ce7b897c67e247f50b344a68f5bd0ef3b2e6761c8afcc85a3b7bfd58d6 SHA512 4ce7cffc9e3a3b74ac0d0d71fe40c654a5ff6e4c4c9b51198b57f2e8e9035abdca6c0fce7ae8bb026eb7304885a46558af846f14bed96c6ddc8ee3ebc0977c0b

+ 62
- 0
app-editors/visual-studio-code/visual-studio-code-1.34.0.ebuild View File

@@ -0,0 +1,62 @@
# 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}"
}

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