diff options
author | Adel KARA SLIMANE <adel.ks@zegrapher.com> | 2022-03-09 10:33:04 +0100 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-03-09 20:26:01 +0200 |
commit | 8dce68afd6fd47cdec064e7da1d51f6a4a6343af (patch) | |
tree | bf6e9975f1b01792cc6d26e5e8747e3e7fdcea15 /app-editors | |
parent | app-editors/vscodium: remove old version (diff) | |
download | gentoo-8dce68afd6fd47cdec064e7da1d51f6a4a6343af.tar.gz gentoo-8dce68afd6fd47cdec064e7da1d51f6a4a6343af.tar.bz2 gentoo-8dce68afd6fd47cdec064e7da1d51f6a4a6343af.zip |
app-editors/vscode: version bump to 1.65.1
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/vscode/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vscode/vscode-1.65.1.ebuild | 121 |
2 files changed, 124 insertions, 0 deletions
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index db11775bce51..bcc10d019850 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -7,3 +7,6 @@ DIST vscode-1.63.2-arm64.tar.gz 108337529 BLAKE2B 8234fa92b1eac1b3a7c3297c50f730 DIST vscode-1.64.2-amd64.tar.gz 112392185 BLAKE2B cc59dfc54167cc49b607d0131d81cdc922c120f06d40820cd13818bd280f40e55dc3ee5ec94284c48f91ac09904b1be1b3caa6c7380835745eafba3a860e36d8 SHA512 def09100c9b4a8ea772925fd89b9f26ea88835b27ddea203235bdfa13e28b1ed43ce0fccc8c799bd2b767998f7b9190856aae663c9a2e7e3226e43fb3b1bc8a7 DIST vscode-1.64.2-arm.tar.gz 93473664 BLAKE2B c0f9df18d1750182385f7c2fa2fed2be93480406a5516597984d3f0ff488ad6cf98dcfab56f94b2a73badda2a5c1546a6ea7af6d245e15cc2e5ce3b522081866 SHA512 7f89a4f12951ced50d84a852aa8eecb52aba25d3aa549b656e35bec1a04f9f89eb5cdde1d5c04bfb072c469cfba8ea948a13470773b969d731d085d7812fdf91 DIST vscode-1.64.2-arm64.tar.gz 107090187 BLAKE2B 15587ce30f15c393f78d5ea554da51557bb5d3392655c82476100451881d5dae3bb034e05d5e5e26aed2236b9199edd927a3af064a00d0ec82a7b24a6c501c6d SHA512 54f16d98c43f940d8cf989f2db90c161cdf84733788eca55fb0413279d291a4b2bb82a3f5fa7d0b01d5d265f32c3b5273fc131f4bd6a33b841f3bb1773d9f6c7 +DIST vscode-1.65.1-amd64.tar.gz 109557089 BLAKE2B 50846e41b9ce1774a4c7f6baf2021ba3339c8a7123523fbfb288796f0bcfb36524492174a8b2374580b2f1e850352632aac11e82675d8123be27a1f04186e4b9 SHA512 922eed648ecac568b43c84a89fca1fcc241941f375a56c0b5b8f5d7f81a7c70f8ff003be752e17c18c2877a2d2060eba8b94a6f41c90cd3857d26b791ac0e83c +DIST vscode-1.65.1-arm.tar.gz 90792746 BLAKE2B 4f0bf967a4e2d32504d4a6c3ba4e166520b23562eec35d5350ab396f1033a82d846d55f366b3c13880ff85fd2adcbaed38c606d0489c510574a1b5f6c026f3ba SHA512 fca06a968cebd698afe3334966dd75c52d69b307d949b1053207b284eb9aa6913688e70360bfc90a64258c0ab99edd3e0eab66133d880e8b5a2419265927bfe3 +DIST vscode-1.65.1-arm64.tar.gz 104426509 BLAKE2B 1e288173b54bb000d6cc9c9988907d65378fffce27d0cb8e184576f4c562849c8f78b5cfaa4732166c4e6533db9cd445f044096740f005d65c01d2299a3bf292 SHA512 4169ad920edc811cf179d2cb192d0d6a049f780d8ec68c8e15d44cbed97c35dc6e7b61e5ba244d6344e6d370fc655e63247db3c6c9c45454dfb04c4d601d40f8 diff --git a/app-editors/vscode/vscode-1.65.1.ebuild b/app-editors/vscode/vscode-1.65.1.ebuild new file mode 100644 index 000000000000..55a4d92b3c0b --- /dev/null +++ b/app-editors/vscode/vscode-1.65.1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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:2 + app-accessibility/at-spi2-core:2 + app-crypt/libsecret[crypt] + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + sys-apps/dbus + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libxkbcommon + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libxshmfence + 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 4711 /opt/${PN}/chrome-sandbox + fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass.sh + fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass-empty.sh + 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" + dosym "../../opt/${PN}/bin/code" "usr/bin/code" + domenu "${FILESDIR}/vscode.desktop" + domenu "${FILESDIR}/vscode-url-handler.desktop" + domenu "${FILESDIR}/vscode-wayland.desktop" + domenu "${FILESDIR}/vscode-url-handler-wayland.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" +} |