mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-11 09:43:40 +02:00
visual-studio-code: 1.36.0 bump
This commit is contained in:
parent
0d01a273b4
commit
2b43fa6b06
2 changed files with 74 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST visual-studio-code-1.35.1-amd64.tar.gz 68383648 BLAKE2B 27f6df0b5326999b10f5d601dc31a342c7a6b14dd338b7e4f5ecaa9a3b7dc26c2db1b1faba9a62357a6540f3400c7d43687af88ad07e6faa720fe0c2e201c6b9 SHA512 84959245e0adfec04fe31ff0f30862313dbc89291bf47772f784e29e17a6e955ec21f9a1d23f8f1b6717c747517063db2563650bb42a5094ee17dad131606b92
|
||||
DIST visual-studio-code-1.35.1-x86.tar.gz 69348209 BLAKE2B 40ae0b6ca47056b95c407e633df348aa1042b200b51b4287c9bf445a1f760a997ca060ce81e69f86ee9a17dad16f7f3d6ce2cc25d38d25913160557eb4f6964e SHA512 49920c90cdaedb8319efee655d353e9286e1d656860accf60f7e7753a69673aeac13f0c6b0e80632963c641f5be4d830612b5f81813e5aed0a4d0fc8159ca80b
|
||||
DIST visual-studio-code-1.36.0-amd64.tar.gz 77632421 BLAKE2B 14ed5b2a042d8b41375575203dfe97f460da0ea9c84d1fbdb3255aae8fab67d9d8c3416b423de31b5f3d32dff085953956c4522d4ec3dc8438a6d93185875391 SHA512 2a6e066311345ec000dbe51da1ac662fb4e04f73e907fe433d7e55b3b33a470d8363c1260f0b4b75f20a359a281e850e2136b28bae7eb2c2ce82d41f93b708e0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,73 @@
|
|||
# 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}"
|
||||
# x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )
|
||||
SRC_URI="
|
||||
amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="libsecret"
|
||||
|
||||
DEPEND=">=gnome-base/gconf-3.2.6-r4:2
|
||||
>=media-libs/libpng-1.2.46:0
|
||||
>=x11-libs/cairo-1.14.12:0
|
||||
>=x11-libs/gtk+-2.24.31-r1:2
|
||||
>=x11-libs/libXtst-1.2.3:0
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=net-print/cups-2.1.4:0
|
||||
>=x11-libs/libnotify-0.7.7:0
|
||||
>=x11-libs/libXScrnSaver-1.2.2-r1:0
|
||||
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}"
|
||||
dosym "/opt/${PN}/bin/code" "/usr/bin/vscode"
|
||||
make_desktop_entry "vscode" "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"
|
||||
fperms +x "/opt/${PN}/resources/app/extensions/git/dist/askpass.sh"
|
||||
insinto "/usr/share/licenses/${PN}"
|
||||
for i in resources/app/LICEN*;
|
||||
do
|
||||
newins "${i}" "`basename ${i}`"
|
||||
done
|
||||
for i in resources/app/licenses/*;
|
||||
do
|
||||
newins "${i}" "`basename ${i}`"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
elog "You may install some additional utils, so check them in:"
|
||||
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
|
||||
}
|
||||
Loading…
Reference in a new issue