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 64FBB1382C5 for ; Mon, 5 Apr 2021 20:37:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3350EE090F; Mon, 5 Apr 2021 20:37:53 +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 87F33E090F for ; Mon, 5 Apr 2021 20:37:52 +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 0295C340D88 for ; Mon, 5 Apr 2021 20:37:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97D02C3 for ; Mon, 5 Apr 2021 20:37:49 +0000 (UTC) From: "Adel KARA SLIMANE" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Adel KARA SLIMANE" Message-ID: <1617655064.9cb0a6a520abd70a1ac0dacb3f6accc659d313c4.adel@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev 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.0.ebuild X-VCS-Directories: app-editors/visual-studio-code-bin/ X-VCS-Committer: adel X-VCS-Committer-Name: Adel KARA SLIMANE X-VCS-Revision: 9cb0a6a520abd70a1ac0dacb3f6accc659d313c4 X-VCS-Branch: dev Date: Mon, 5 Apr 2021 20:37:49 +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: 275fa802-8ea5-4255-8feb-3c1c09012c18 X-Archives-Hash: f59cfb18d631a283657626569ef74974 commit: 9cb0a6a520abd70a1ac0dacb3f6accc659d313c4 Author: Adel KARA SLIMANE karaslimane com> AuthorDate: Mon Apr 5 20:37:44 2021 +0000 Commit: Adel KARA SLIMANE karaslimane com> CommitDate: Mon Apr 5 20:37:44 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cb0a6a5 app-editors/visual-studio-code-bin: version bump to 1.55.0 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.0.ebuild | 77 ++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/app-editors/visual-studio-code-bin/Manifest b/app-editors/visual-studio-code-bin/Manifest index db0a36660..f4af6a20f 100644 --- a/app-editors/visual-studio-code-bin/Manifest +++ b/app-editors/visual-studio-code-bin/Manifest @@ -1,3 +1,6 @@ DIST visual-studio-code-bin-1.54.2-amd64.tar.gz 98888733 BLAKE2B a02fe21cbae80d479cebab17a3718b0f8980e5caab6abf6b33c44770a580a9cd4b384f21db367c91d3150ab4e4f299d404b8dc940bf721e773d39c4ba282f822 SHA512 80b9bd88524286715dccdd6afe0508247316a3fedbb35cd71a71ee4c3dff635eafc953879d39b3d9209030aa28a6dcdb80fe33228c22df2829e9997e979c9ab9 DIST visual-studio-code-bin-1.54.2-arm.tar.gz 90226066 BLAKE2B fa7e076d6ab1168afbe0dad1cfeef752c8787f75e62a6d9140887fd9de7d8e728e8743d5473265a26747118016ad9c2f944242699707a362d4621332eb89e053 SHA512 0ed5c284f7d56ad09be76b7f53b3e8f11d9a74a0aa395b3cc74f4eaae73f3181bd532ccbeeee40bfbf913f516adf6a599ed4f9fe3de65820677e958fe4b6cad4 DIST visual-studio-code-bin-1.54.2-arm64.tar.gz 103407705 BLAKE2B 0af7c16e0d184b3f836e9b5f4331c7227aebcec0e22ef1733899485faf343df0d3af5a3a333a88c95a0e0e57b611331aae9d9dcba88adf758880baae41fe04b2 SHA512 aca940cb68e664a7c2a6bacfac5f01c748fbaf8ed15f3c633c2f6bc12e1d42524235c7dc153f60e656017229248a7be03c2b3dbe32b69816e89071eb4876fce9 +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 diff --git a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.0.ebuild b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.0.ebuild new file mode 100644 index 000000000..df36d0b55 --- /dev/null +++ b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.0.ebuild @@ -0,0 +1,77 @@ +# 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/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" +}