diff options
author | Adel KARA SLIMANE <adel.ks@zegrapher.com> | 2021-07-14 15:41:45 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-07-14 17:59:09 +0300 |
commit | 954b10e258660f2fd1bc9742368f2cbce0b1c8d7 (patch) | |
tree | dc5d1a47fb6bf2eb13739391d0cdbebabb0c9760 /app-editors/vscode | |
parent | dev-cpp/yaml-cpp: version 0.7.0 (diff) | |
download | gentoo-954b10e258660f2fd1bc9742368f2cbce0b1c8d7.tar.gz gentoo-954b10e258660f2fd1bc9742368f2cbce0b1c8d7.tar.bz2 gentoo-954b10e258660f2fd1bc9742368f2cbce0b1c8d7.zip |
app-editors/vscode: bump to 1.58.1
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors/vscode')
-rw-r--r-- | app-editors/vscode/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vscode/vscode-1.58.1.ebuild | 103 |
2 files changed, 106 insertions, 0 deletions
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index 9b4b10274b3b..bdb3d8c29351 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -1,3 +1,6 @@ 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 +DIST vscode-1.58.1-amd64.tar.gz 105591738 BLAKE2B 24c1dec88cdf91a6046dca06bf38c994cf82c97f95de01eed64828157d2f26573e3241ba9d6518f7885306a5d571da8f84839a5302ae4db9dcdf70d05930badf SHA512 34b87dc4b408ed2b6cf20b57a425ce934d77ccf3a8febc90e9f377a914f2a9598a091c0f8ff1bdb6bcb525effd22c574ea7c4af8828e3cabc28c83d9c5fe23e9 +DIST vscode-1.58.1-arm.tar.gz 96171694 BLAKE2B 7d2a9535e1c32c96b99b7bab2ec0fa91e32bbe3f7abe6cd4da26cee37d3da236a6463f131f7a313e8aece06035195345b549c9744dd818fb7af3044af1fbffce SHA512 f5bc25246a81988c114bcc2da9bfd4cc1a446a0460a81870b27e840835a5bc0c05732a0c951d2b1990b9596b981f456e1ec151a9d7eb15cc8fa14ef5bfe54898 +DIST vscode-1.58.1-arm64.tar.gz 110943920 BLAKE2B bde4e333a7b9697a19a7bf5cbce27f212e889625890312ed1d893e28c927b0938a9c25f10718d9ee35338833172272671e88889bd9ba3078229813fde8eab4a2 SHA512 d399dc2fa2dd5ff2c3638ccb8db439b3477521993d97952f9efd274f0f6cde6b0cb3f89e6df7eea04aece4f70628b9c94c8f90f32e49e10ee6ae90669dde62cd diff --git a/app-editors/vscode/vscode-1.58.1.ebuild b/app-editors/vscode/vscode-1.58.1.ebuild new file mode 100644 index 000000000000..044c01c33002 --- /dev/null +++ b/app-editors/vscode/vscode-1.58.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" +} |