Version bump.
This commit is contained in:
parent
57b9f30518
commit
5d9e745d65
2 changed files with 107 additions and 0 deletions
|
@ -6,6 +6,10 @@ DIST vscode-1.58.2-arm64.tar.gz 110942132 BLAKE2B 3fb2a83087789690ba930ae0910b93
|
|||
DIST vscode-1.59.0-amd64.tar.gz 106146198 BLAKE2B 3928706d31b1034e689a12cc28fc64d2517f70c3018f975c8c6d1bd144dfd6c75619995ae1763db19768cdac91711057ebbf0c2f86010a5cdb3797b2726f53cf SHA512 71ad32dd4a5ad36f33939970aaab3d71c23134d8743bb5806b62cc12c159c6695d6616a78bc111f81c0bb11fb8665f3986bb8bed49a8ed98d3e876a30e3b660d
|
||||
DIST vscode-1.59.0-arm.tar.gz 97705945 BLAKE2B 4be8024c2133b336bf8b40e1941f2dd8a7bfa59a3894b26298fe413485b6968dacaf8c8a34cd8bb4fc887285a4e216788780f05d46e7b769bfc020af330809c2 SHA512 62b9b18bd8c43e33adb4b18ce5018fa872cd399473e326deb0d7a136e39191d271709db4c675b9eb6a5d9e9126980f52e38062e2de316bdf578266800c99d15f
|
||||
DIST vscode-1.59.0-arm64.tar.gz 111285142 BLAKE2B a7cd2d69850537780270cf1531fb413215803282ff0d3aed5636719c1755a7d90c4af055fe0d19a20b874e86a5a452eb408444b12557720dd12e5b66d1eeceff SHA512 af8005092c4f40657197489e9e1b6363106e24cc89f38631061c9aaa30183ea5ebac6a97a13de7b872a2202fe7ffec2f5085755e054f65e93b41269aec45de86
|
||||
DIST vscode-1.60.0-amd64.tar.gz 105538376 BLAKE2B 2d624015210031d067752d9dce79eea7a1163b824030d67613534a7987babfb30400a21cf48dd228bd00617bf5ede4770ae2dc4f5b884fad88e35b75b3867764 SHA512 b18d74d05f3b7005939a074e2095e66520ab98040df2cfc06c54b72367cea85e990995d51605070975f80fd20578333ee71631599491d705b217b8eec6d5557b
|
||||
DIST vscode-1.60.0-arm.tar.gz 94231473 BLAKE2B c7e64028a661cc7a1ded78c5810583eaab576825328c0e6dc90e21b9aa324580ea498bc93383711ab8c7817990775d1985eb7928c20142974b52d74e80ff9f49 SHA512 1ec6b4fcfe494cf0e234eeb6c3d71e315f95041243cb7ca04bf1dd53ee44d978137f1cf1e92e60fd584fedc945e05bacd316574f1daf04c9710361457566166a
|
||||
DIST vscode-1.60.0-arm64.tar.gz 107828500 BLAKE2B add0cc04b795f1181747862eca9fd9c984847358f7c644ac9472d46a05bf369cef5f85224dcbe060fbd16216a35c466b1043c4ceed0c68114b3fd89abdd20cef SHA512 963ab8d05497b537f758b227fa8d101234be82effcac99bf4f9c53d7f995f842e996ceaf905a76bceb6ed9e5233ab40be6b1629319af49fa15614b1835b45702
|
||||
EBUILD vscode-1.58.2.ebuild 2498 BLAKE2B 6f0b4c2d4c6c9fc109fe05611d54bc953436e183cdcbd3f3fd4cba200ef35dcd60310a87d27a9282daab5bf738803f5c47ab9b64e4ad994673d815df469a1299 SHA512 e53bb2318c995aff9bc38444f4a09e726a6373b3737828b61c58dd638619a8ec877e754001ddc11a1bf8d869814bd0af098205a1199c967fbb79bed193767867
|
||||
EBUILD vscode-1.59.0.ebuild 2498 BLAKE2B 6f0b4c2d4c6c9fc109fe05611d54bc953436e183cdcbd3f3fd4cba200ef35dcd60310a87d27a9282daab5bf738803f5c47ab9b64e4ad994673d815df469a1299 SHA512 e53bb2318c995aff9bc38444f4a09e726a6373b3737828b61c58dd638619a8ec877e754001ddc11a1bf8d869814bd0af098205a1199c967fbb79bed193767867
|
||||
EBUILD vscode-1.60.0.ebuild 2498 BLAKE2B 6f0b4c2d4c6c9fc109fe05611d54bc953436e183cdcbd3f3fd4cba200ef35dcd60310a87d27a9282daab5bf738803f5c47ab9b64e4ad994673d815df469a1299 SHA512 e53bb2318c995aff9bc38444f4a09e726a6373b3737828b61c58dd638619a8ec877e754001ddc11a1bf8d869814bd0af098205a1199c967fbb79bed193767867
|
||||
MISC metadata.xml 852 BLAKE2B 142262701d004a1b535dc27a7bfd26574ba2da72c4df87aaad5cbf48c0a141074fbf35614ec172ce348ce8e6a00bda69e0806aff82e9b0d2490c5a3900959cb2 SHA512 5d30c22393ef858af8be430c16c6d07f285df278c9da1c8e5561d966ec706a7dc573a9360c5b0baaaf61d324a4fa05f8ae385738a5e6a1726d38dc9ba7f01a8f
|
||||
|
|
103
app-editors/vscode/vscode-1.60.0.ebuild
Normal file
103
app-editors/vscode/vscode-1.60.0.ebuild
Normal file
|
@ -0,0 +1,103 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libpng:0/16
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/vscode/code
|
||||
/opt/vscode/libEGL.so
|
||||
/opt/vscode/libffmpeg.so
|
||||
/opt/vscode/libGLESv2.so
|
||||
/opt/vscode/libvulkan.so*
|
||||
/opt/vscode/chrome-sandbox
|
||||
/opt/vscode/libvk_swiftshader.so
|
||||
/opt/vscode/swiftshader/libEGL.so
|
||||
/opt/vscode/swiftshader/libGLESv2.so
|
||||
/opt/vscode/resources/app/extensions/*
|
||||
/opt/vscode/resources/app/node_modules.asar.unpacked/*
|
||||
"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
fperms +x /opt/${PN}/{,bin/}code
|
||||
fperms +x /opt/${PN}/chrome-sandbox
|
||||
fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
|
||||
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg
|
||||
dosym "../../opt/${PN}/bin/code" "usr/bin/vscode"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "You may want to install some additional utils, check in:"
|
||||
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
|
||||
}
|
Loading…
Reference in a new issue