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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1A93F158086 for ; Sun, 7 Nov 2021 04:15:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D07122BC0D5; Sun, 7 Nov 2021 04:15:27 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E19E52BC0D7 for ; Sun, 7 Nov 2021 04:15:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57E3D342D61 for ; Sun, 7 Nov 2021 04:15:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1386D0 for ; Sun, 7 Nov 2021 04:15:21 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1636258496.b3e380258931feec7fb09fe017e5425aeb3886cb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vscode/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/vscode/Manifest app-editors/vscode/vscode-1.62.0.ebuild X-VCS-Directories: app-editors/vscode/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b3e380258931feec7fb09fe017e5425aeb3886cb X-VCS-Branch: master Date: Sun, 7 Nov 2021 04:15:21 +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: 84183bb2-e3e9-40e1-82e2-cb4d87b04ad7 X-Archives-Hash: 8eeea490cf6471254691a92aeec606fc commit: b3e380258931feec7fb09fe017e5425aeb3886cb Author: Adel KARA SLIMANE zegrapher com> AuthorDate: Sat Nov 6 10:20:07 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Nov 7 04:14:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e38025 app-editors/vscode: bump to 1.62.0 Bug: https://bugs.gentoo.org/822135 Signed-off-by: Adel KARA SLIMANE zegrapher.com> Signed-off-by: Sam James gentoo.org> app-editors/vscode/Manifest | 3 + app-editors/vscode/vscode-1.62.0.ebuild | 121 ++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index d7dc85a9a2a..1eb365579dd 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -7,3 +7,6 @@ DIST vscode-1.60.2-arm64.tar.gz 107827801 BLAKE2B aff930e81534972f2dc3d7d0d5cc48 DIST vscode-1.61.2-amd64.tar.gz 112814371 BLAKE2B c297d27f12dbbf5bb752076881ae28100d1b051d14528425f8227c5c70ce779ab8db93b960bd4d4ff9788fa2e63167c4253324ba4413b0975d41608c541c6303 SHA512 52c3b89612f2d2f72ea9de9449d191130a23a3dbae1f2876e1716773abe9b6c7064a8eb6053d6bc94438b6e3753df2f00ccc4452b2404fcb2c052ea6090d83cc DIST vscode-1.61.2-arm.tar.gz 94477034 BLAKE2B cecb63ed58a36fbbef13cf7de086f0f7f77efea03fc605801b3064c273736ea999b91ef84e0c900ca415955cd7a508d20c33e92a5acab0dcca388d9624743902 SHA512 9cfd10c4cc6d2e3eaa1323afc1b493448632f57681b1e7d595d7f52a7e7d4c4a2ce48d2e6b21b2380fb7be8d98d33d5848a91af178eed974f952bcd7cfbbcb3d DIST vscode-1.61.2-arm64.tar.gz 108043274 BLAKE2B f512c85102b3e3858a5ba8f2a63ec9fc7fdee77ffbe768287cd72e89103880002fd2ca77bc72f0210f2f4c0e4cec2b7708404e7db874d7c87d97b17361a26d4e SHA512 dcac0d56bde8b1fd855d386da77e164354f8c819e994d395cfd6b9cf50d5ac96421745c6efc20ec89448e6020b61b0d4ed482e74ecb39422a6acf3662f905dfa +DIST vscode-1.62.0-amd64.tar.gz 113727156 BLAKE2B 5d0fd32b4442c7d13ba232cf708c3d262b45f9096e07590ae5efead2d9e0d8737aca6b66f950a08304b80e10773ca39d64a72106ef5d9830298b84b4c1d7692e SHA512 5c13d6dcd0bd6ecfb0f5999b51bb49ce8bab4d0a24e5813620d97d28c3567046bc46dce98cff628fb58bddf243d2898a0f8b43b9b4dee390450db4bd1de09bcf +DIST vscode-1.62.0-arm.tar.gz 94729600 BLAKE2B ed2a3a1f6c5349b96592f966c1215f9f2f4e52c934f2963747bab89c08ded7566a19d94c8d2dc725b227c10532383e267a440b400fa282f958eb5abe9d54a1d7 SHA512 74901df37b1fa79e1de9f2874bb9a2e36c4c9d321dc485ffbb8eedb745f429df3d2358caa529430b5341a64015d7e05a4c35591d4d0aa79f5afb24f2490e75a5 +DIST vscode-1.62.0-arm64.tar.gz 108336040 BLAKE2B d6df241753e9d99c2e6b7a672854bad0c93a50f2bc73447383765ebbc844ac0f554b08af72fd365499a9bbb48acbe3be983d3af7f6bde4bf60b4efd3cf288d2d SHA512 e6a9aaf325c52f0347e118f470461a5dbc721a9cbe4510f3668161c3b6b550537fbf6bcdf423e0d2bec13a9593f414e84e6b1e36e5e34bf565e3d5a3fe891712 diff --git a/app-editors/vscode/vscode-1.62.0.ebuild b/app-editors/vscode/vscode-1.62.0.ebuild new file mode 100644 index 00000000000..dbed711c205 --- /dev/null +++ b/app-editors/vscode/vscode-1.62.0.ebuild @@ -0,0 +1,121 @@ +# 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: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" +}