From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0DC5513835B for ; Sat, 17 Apr 2021 20:00:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 571AFE0885; Sat, 17 Apr 2021 20:00:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E0E8E0885 for ; Sat, 17 Apr 2021 20:00:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1E6EF340AA7 for ; Sat, 17 Apr 2021 20:00:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65B0E730 for ; Sat, 17 Apr 2021 20:00:29 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1618682786.457adba90b57363bb9b32ad6a8635da345366883.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-editors/visual-studio-code-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-editors/visual-studio-code-bin/Manifest app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild X-VCS-Directories: app-editors/visual-studio-code-bin/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 457adba90b57363bb9b32ad6a8635da345366883 X-VCS-Branch: master Date: Sat, 17 Apr 2021 20:00:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad5a7d26-fe40-4a6f-8bab-83077dc34750 X-Archives-Hash: 13e2ab0baf7d0c0a3a680aa01654e67d commit: 457adba90b57363bb9b32ad6a8635da345366883 Author: Adel KARA SLIMANE karaslimane com> AuthorDate: Sat Apr 17 18:04:33 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Apr 17 18:06:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=457adba9 app-editors/visual-studio-code-bin: version bump Signed-off-by: Adel KARA SLIMANE karaslimane.com> Package-Manager: Portage-3.0.18, Repoman-3.0.2 app-editors/visual-studio-code-bin/Manifest | 3 + .../visual-studio-code-bin-1.55.2.ebuild | 78 ++++++++++++++++++++++ 2 files changed, 81 insertions(+) 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" +}