Pārlūkot izejas kodu

Update Visual Studio Code to newest version.

master
Rafal Kupiec pirms 5 mēnešiem
vecāks
revīzija
6520754fdd
Parakstījis: belliash <belliash@codingworkshop.eu.org> GPG atslēgas ID: 4E829243E0CFE6B4
2 mainītis faili ar 59 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      app-editors/visual-studio-code/Manifest
  2. +58
    -0
      app-editors/visual-studio-code/visual-studio-code-1.38.0.ebuild

+ 1
- 0
app-editors/visual-studio-code/Manifest Parādīt failu

@@ -21,3 +21,4 @@ DIST visual-studio-code-1.33.1-x86.tar.gz 69343642 BLAKE2B 6ff9a2a25f387356eafdc
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
DIST visual-studio-code-1.36.0-amd64.tar.gz 77632421 BLAKE2B 14ed5b2a042d8b41375575203dfe97f460da0ea9c84d1fbdb3255aae8fab67d9d8c3416b423de31b5f3d32dff085953956c4522d4ec3dc8438a6d93185875391 SHA512 2a6e066311345ec000dbe51da1ac662fb4e04f73e907fe433d7e55b3b33a470d8363c1260f0b4b75f20a359a281e850e2136b28bae7eb2c2ce82d41f93b708e0
DIST visual-studio-code-1.38.0-amd64.tar.gz 80879094 BLAKE2B efd6ce4e61b424d0581f14d25fb93fd87ac43c492fb956f9fa8708cca188a732b6fb16136b05c609c196f9cd8a6a4a5f159bea1c289a4097e1a56e76d2499aed SHA512 9f13490bca4e8b4bfba75a0c69afdcda3b188f8bd88c33018a77537df01bf4ea8b97035a229300298b440f6b1d68e0543c43ef4e353c2be4b0edd2450c45a4dc

+ 58
- 0
app-editors/visual-studio-code/visual-studio-code-1.38.0.ebuild Parādīt failu

@@ -0,0 +1,58 @@
# 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="${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}/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"
}

Notiek ielāde…
Atcelt
Saglabāt