diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-06-26 11:34:41 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-06-26 11:45:29 -0700 |
commit | 52e7c53374ade073669ad23c573a844f2e7c6485 (patch) | |
tree | b11d970d5062d348ffeb5d1a137c3253125c576d /app-editors | |
parent | dev-tex/tex4ht: Remove old (diff) | |
download | gentoo-52e7c53374ade073669ad23c573a844f2e7c6485.tar.gz gentoo-52e7c53374ade073669ad23c573a844f2e7c6485.tar.bz2 gentoo-52e7c53374ade073669ad23c573a844f2e7c6485.zip |
app-editors/vscode: Bump to version 1.57.1
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/vscode/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vscode/vscode-1.57.1.ebuild | 103 |
2 files changed, 106 insertions, 0 deletions
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index 3fc76a4d8001..85330d1a9dd2 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -4,3 +4,6 @@ DIST vscode-1.56.2-arm64.tar.gz 110174990 BLAKE2B 3b512136911b3ca431fbf719516554 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 +DIST vscode-1.57.1-amd64.tar.gz 104850563 BLAKE2B b3690382adfa3f8414b38bb784a6a595409fd766d21da05960a4d39344be0dc80bcb99b8b7b7d0d7f4bf5244bb35227e301696a4c16b1e0f9665a4f1f244f15a SHA512 928664a24a65c85db53d74c07b29d5e8bb1c204481fdc9204b3e254dc7f82c1a3090ffac933d331c29c1c9c4a9417200aa0216170058249fc539529130e9dfbc +DIST vscode-1.57.1-arm.tar.gz 95393169 BLAKE2B dd004a41ec92796d9c2235be032c2cd5a79464926b392fb3c6d73bf0a49265bfeb0c234fd383a267578553501ad23d3e21f8e2edba591e2cb6d7f8a4118dda26 SHA512 3df5f8c15b0622c0d4cb470f095280c817675ccc160b51caeb04ed5471ae41da5d72da8128d5dd689c33d82718433786bdddeb87cca82d80a5eb638094be18e9 +DIST vscode-1.57.1-arm64.tar.gz 110176471 BLAKE2B 40765526445565714c4e487327af4d34d8b83d2eda8cb74431df680a0ad212fa7b24312d07759be077bba30c0ab721af6ced24d31262863524bacd41e4fc5f82 SHA512 f20f22b2e524918bce1bd0d2e43e1f15a11bf40b54c6b8e55fd4dbe2f39c5eb724c3354ab6e8b00b6f8a81f01d0dfe2c6483fc81344a538ee782ae2c1e0ec5bc diff --git a/app-editors/vscode/vscode-1.57.1.ebuild b/app-editors/vscode/vscode-1.57.1.ebuild new file mode 100644 index 000000000000..044c01c33002 --- /dev/null +++ b/app-editors/vscode/vscode-1.57.1.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" +} |