diff options
author | Adel KARA SLIMANE <adel.ks@zegrapher.com> | 2021-06-13 16:39:14 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-06-15 16:03:06 +0300 |
commit | e3cf304f12921832baeba23cc60664c50ec0eb31 (patch) | |
tree | 855855f381e5e71f4f207f112bac87322d51c043 /app-editors | |
parent | sys-cluster/openmpi: drop defaulting on libompitrace (diff) | |
download | gentoo-e3cf304f12921832baeba23cc60664c50ec0eb31.tar.gz gentoo-e3cf304f12921832baeba23cc60664c50ec0eb31.tar.bz2 gentoo-e3cf304f12921832baeba23cc60664c50ec0eb31.zip |
app-editors/vscode: bump to 1.57.0
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/vscode/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vscode/vscode-1.57.0.ebuild | 103 |
2 files changed, 106 insertions, 0 deletions
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index 8d4c4f054ddb..3fc76a4d8001 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -1,3 +1,6 @@ DIST vscode-1.56.2-amd64.tar.gz 104824843 BLAKE2B 608cc74daad0534a91d3c6200827b82efa0c2a9634c3cd9f031d4744a35f25c5201a7310011d6dfe57f761845e79574d068678a4500650c47d8404d2bd810f4d SHA512 35ef320b92a66d05a8c2b61a81978d659245f37ef0b2f05002083386a265a232ed163dcc06ddee9bc2bc8f1205fa80e7841268bf66fdddcabe4a8ed35fb50a35 DIST vscode-1.56.2-arm.tar.gz 95395040 BLAKE2B e948f09a97a39f898276fe4bbc9f7f35fa96b833732a48058e402aaa0246790d79c5422f5e209c842b94c6c46d19b657cdeefa9caa1e255331f81e91e0760c69 SHA512 4486d030d2d611aa0d29a156ba5c2beb2bd0ab1950684c7bdea44460fb05f3a18b62419c346d99a84cd71bb595f7802dab10730b40600879e442ee3181129e6f DIST vscode-1.56.2-arm64.tar.gz 110174990 BLAKE2B 3b512136911b3ca431fbf71951655490c85f1c7cc707c6ddea3fd4d41b956fbf33dd8264e279d1d6e69564506aefcd9588397665133a3a34997d916605c9aa73 SHA512 bc3fb6b78e33286486411aa78b538693c371b309e86a84ee7361a2fd78d2d8e0dd4e9dd761f9278ced4e3a31a532e2534cdde001635935dfda92dfab85eb9e51 +DIST vscode-1.57.0-amd64.tar.gz 104867323 BLAKE2B 4c96f1c67c2414f84e51f2589cd511d060fbb19f662b0d4230fc8d6decbc6fd1d7cfffcb6a3d005e53a71af35ee16db4222dd2b8a2f9e6aba92c365baaf1b271 SHA512 35c5590b526c7df5ede6184481568d349ad239c1442a88c78cb5c11c1e7d50ebd34f1cf8faaa87eee3da32e15a56e733734e850d25ab91b8c24168002a2c58d2 +DIST vscode-1.57.0-arm.tar.gz 95405275 BLAKE2B 97e53cf478257a000a25fd7adcd79a43ef69034bc4fc82a74c4d327a9c0015a4d1247afa3440f7ad1b9316f307022c68056675a614ab5b77c98f26063cd56d29 SHA512 64122bff910139904791e0ce4287da6c46dc0c439313f5f25c2b03afa87a7e0c2031c65497ceabe9f4592c3060ddb18dc6a473b3a78812505163a2d52a82e408 +DIST vscode-1.57.0-arm64.tar.gz 110191475 BLAKE2B 667385cb94029a5c4eee383f8f7ebcb01f9090f1178fc8b57a74595ee6766b8d3121cacf5f03e044b972d20c0a51064d5f4b740146399454c0048909e645a74c SHA512 0d46c3bebe4363e5681d7cd8b73844654b7d993df3d89a537041acc9a3f3a00d77f537088c275d38f395d8aa4d4bd216df75388829e9340598465ee290ff06df diff --git a/app-editors/vscode/vscode-1.57.0.ebuild b/app-editors/vscode/vscode-1.57.0.ebuild new file mode 100644 index 000000000000..044c01c33002 --- /dev/null +++ b/app-editors/vscode/vscode-1.57.0.ebuild @@ -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" +} |