diff options
author | Adel KARA SLIMANE <adel@karaslimane.com> | 2021-04-17 20:04:33 +0200 |
---|---|---|
committer | Adel KARA SLIMANE <adel@karaslimane.com> | 2021-04-17 20:06:26 +0200 |
commit | 457adba90b57363bb9b32ad6a8635da345366883 (patch) | |
tree | fed85b6891f2623d7d8c161c989cd888d3539cd6 /app-editors | |
parent | sys-fs/fscrypt: initial import (diff) | |
download | guru-457adba90b57363bb9b32ad6a8635da345366883.tar.gz guru-457adba90b57363bb9b32ad6a8635da345366883.tar.bz2 guru-457adba90b57363bb9b32ad6a8635da345366883.zip |
app-editors/visual-studio-code-bin: version bump
Signed-off-by: Adel KARA SLIMANE <adel@karaslimane.com>
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/visual-studio-code-bin/Manifest | 3 | ||||
-rw-r--r-- | app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild | 78 |
2 files changed, 81 insertions, 0 deletions
diff --git a/app-editors/visual-studio-code-bin/Manifest b/app-editors/visual-studio-code-bin/Manifest index f4af6a20f..41f3fa373 100644 --- a/app-editors/visual-studio-code-bin/Manifest +++ b/app-editors/visual-studio-code-bin/Manifest @@ -4,3 +4,6 @@ DIST visual-studio-code-bin-1.54.2-arm64.tar.gz 103407705 BLAKE2B 0af7c16e0d184b DIST visual-studio-code-bin-1.55.0-amd64.tar.gz 97525604 BLAKE2B 732b7f0986ee8855cc84eeca3e6a8ead35c38454755146876f670dc5deafb334a4ab2862caa8602d3821ea5011d26f4d8a08d3152814a567b635d604ce149b63 SHA512 f4c159fbee0a22727326fbb692f0b6a6d409e8a15c2472dfe2e6467e440108089cad9b1ceb48aa25c85de6ee2bfe24879862b50c7b1eee810e3c5ef50f972ba3 DIST visual-studio-code-bin-1.55.0-arm.tar.gz 88836120 BLAKE2B 67e988161b42a57cb67ab03181415c0f65bf3e1e6c036550f7fa15f033c3944357476d4b4bb4473c07ff9820c667a73e5451f280848d794ab9ac15209c67510f SHA512 177b8697a1e1f58aaa28987bf2728eab0d52858451d84b031d44ea9678e38c87a3d5b12837a829303a9f7e8d76c2b71cc48b32a18cf0c04739e036c9b6cff80d DIST visual-studio-code-bin-1.55.0-arm64.tar.gz 102041107 BLAKE2B d43a7bc4018ff05a7dc2efdb2e4ba1dd4865897726435a20ef9f12831b0e378918eb7774ac3dafaa474f18e485a66feb572842ec9196f7231f1be5671f1bafdf SHA512 1673c9bc4ea3619d62d5c503366babbd7f3c6a5ce7d0db42c26bd8d428ee961bb669177eec8a29748791023e992504a87bd2db46fbfe93015ecfcf99aae6dcef +DIST visual-studio-code-bin-1.55.2-amd64.tar.gz 97507317 BLAKE2B b9278fe79e07a7884827a90c6d177819a8b81967cdfc1e9dc715c0d51a48e2c12980ebe994b64df125d33559a70beb38f6214c849a9204c82c75421438fbd70f SHA512 0f3727eb505b5ca2cdec8cc708ae88ba2028d068d7f69df35144b3c43dc8a1a5bbbd7471092cf8e2848018661496eb55442fb18e7e0595436f28502c94537556 +DIST visual-studio-code-bin-1.55.2-arm.tar.gz 88826643 BLAKE2B c128e483545bcd709783c3e5f323fe98d93f28a84d2eeb6651102fba91182264716208a23d284e4858d19f5c1602f40bffea60d2f4c6fb72aafaf5f44560ee8f SHA512 1fc03b563ec69d53429e4ae1d1c6dd60bf72c439c66c0300287c393acc224fd77f2a596fd90a23205007ba6e5bcea105009e971b19ad032db0ca66c45c171417 +DIST visual-studio-code-bin-1.55.2-arm64.tar.gz 102015928 BLAKE2B f55928101bf728071384747bdb70a82aad6e7bff9cf506d2284e48fac3e21acb64dbf34bdc9023dd4af82f0f53d51e2f0b985be9c76c7c10309673794d86430b SHA512 2e311c490fc01c9db00cc275d55f1f9c16a622259bd2f6e5e6a16c5bbfee7b06f01f35055eff97415f05c033112a0f3f48779c1d2c55a8685f00ad301da9bbaa diff --git a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild new file mode 100644 index 000000000..5bb09beec --- /dev/null +++ b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils 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 )" + +RESTRICT="mirror strip bindist" + +LICENSE="MIT Microsoft-VSCode" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +IUSE="" + +RDEPEND=" + app-accessibility/at-spi2-atk + app-crypt/libsecret[crypt] + dev-libs/nss + media-libs/libpng:0/16 + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libnotify + x11-libs/libxkbfile + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/pango" + +QA_PRESTRIPPED="*" + +QA_PREBUILT=" + opt/${PN}/code + opt/${PN}/libEGL.so + opt/${PN}/libffmpeg.so + opt/${PN}/libGLESv2.so + opt/${PN}/libvk_swiftshader.so + opt/${PN}/libvulkan.so + opt/${PN}/swiftshader/libEGL.so + opt/${PN}/swiftshader/libGLESv2.so" + +pkg_setup() { + if use amd64; then + S="${WORKDIR}/VSCode-linux-x64" + elif use arm; then + S="${WORKDIR}/VSCode-linux-armhf" + elif use arm64; then + S="${WORKDIR}/VSCode-linux-arm64" + else + die "Visual Studio Code only supports amd64, arm and arm64" + fi +} + +src_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/code" + domenu "${FILESDIR}/code.desktop" + domenu "${FILESDIR}/code-url-handler.desktop" + dodoc "resources/app/LICENSE.rtf" + newicon "resources/app/resources/linux/code.png" "visual-studio-code.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" +} |