Pārlūkot izejas kodu

Update VS:Code.

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

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

@@ -16,3 +16,5 @@ DIST visual-studio-code-1.30.2-amd64.tar.gz 64974797 BLAKE2B 289dd69fac033b33bd4
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
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

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

@@ -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"
}

Notiek ielāde…
Atcelt
Saglabāt