Explorar el Código

Update VS:Code.

master
Rafal Kupiec hace 7 meses
padre
commit
9684ee61f6
Firmado por: belliash <belliash@codingworkshop.eu.org> ID de clave GPG: 4E829243E0CFE6B4
Se han modificado 2 ficheros con 60 adiciones y 0 borrados
  1. +1
    -0
      app-editors/visual-studio-code/Manifest
  2. +59
    -0
      app-editors/visual-studio-code/visual-studio-code-1.36.0.ebuild

+ 1
- 0
app-editors/visual-studio-code/Manifest Ver fichero

@@ -20,3 +20,4 @@ DIST visual-studio-code-1.33.1-amd64.tar.gz 68365770 BLAKE2B c542ae61cd440ad73f9
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
DIST visual-studio-code-1.36.0-amd64.tar.gz 77632421 BLAKE2B 14ed5b2a042d8b41375575203dfe97f460da0ea9c84d1fbdb3255aae8fab67d9d8c3416b423de31b5f3d32dff085953956c4522d4ec3dc8438a6d93185875391 SHA512 2a6e066311345ec000dbe51da1ac662fb4e04f73e907fe433d7e55b3b33a470d8363c1260f0b4b75f20a359a281e850e2136b28bae7eb2c2ce82d41f93b708e0

+ 59
- 0
app-editors/visual-studio-code/visual-studio-code-1.36.0.ebuild Ver fichero

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

Cargando…
Cancelar
Guardar