Browse Source

Update VS:Code

master
Rafal Kupiec 8 months ago
parent
commit
6f10ea4932
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
2 changed files with 59 additions and 0 deletions
  1. +1
    -0
      app-editors/visual-studio-code/Manifest
  2. +58
    -0
      app-editors/visual-studio-code/visual-studio-code-1.51.1.ebuild

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

@ -1,3 +1,4 @@
DIST visual-studio-code-1.41.1-amd64.tar.gz 81500694 BLAKE2B 575e6aef99eba240c3d47c1f2e849ef5390ee2e6bc35b38486d5351a63c1654903b93d2f4db74f0f5e0923c89f14d9a47dc69b6b1705ee877bfcbaeeaafd15ec SHA512 c180a2e112dd1bff97adca83c5aeb6d1bd66ba391d2a63dbae83629065c7bd3c0547f3f3cc3e0c1d67dac1ea601f3f620c6fe57906018883d8c943ddcc5a7830
DIST visual-studio-code-1.45.1-amd64.tar.gz 87836263 BLAKE2B b595451964062cf517e17a1ff40115781c1c13f98d34281e8f47f31e5add6e2a4e3f132fba8cd1ad6b75fe33a2be9ef62e14b25f6ce388cdc2bed4f2aee54b2e SHA512 1dca6259003da32287378214dd9adf8c4240afb4142f48d1f29c0055936a44c46f1c496963f04d5eb2005f89e4812c6d37d3974d1ee8b56697e8b5cb8af472af
DIST visual-studio-code-1.48.0-amd64.tar.gz 89962587 BLAKE2B 8e678aa20b038628dd1d847870ba0a9b8b98d0ddec30baa53bb0e06a15f5956b7c5737da36024f91952125f535668f48507601b824a0e8a3db56c6a70900eb26 SHA512 b0cbbe51edc1da285085576ad1753bb583a3df6e88c991a3133a3a0dc37a3e184ab0d4546a0f24c413298a6a585b74ebddd717c176c59dc78d7dc57993d4cc2c
DIST visual-studio-code-1.51.1-amd64.tar.gz 91408663 BLAKE2B cbbc654014b1ede241b4be8b15dce4bdbb033a87fc7b12d0bae07bac6d4aef511752ec6ec90a08ac6c7b09c54abd3434facce98bae1492e99168f20b5c56fcd7 SHA512 4e87c1742a709da29013afcbc40c2cfb1305246194f841b7ca0eebe8167c82bf7902283944f7eff00ec18b0de25b1f5173a0a125f4b21e8dd6222d055a4ac5c4

+ 58
- 0
app-editors/visual-studio-code/visual-studio-code-1.51.1.ebuild View File

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

Loading…
Cancel
Save