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 494E815800A for ; Fri, 14 Jul 2023 06:49:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FABBE07EF; Fri, 14 Jul 2023 06:48:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 670C8E07EF for ; Fri, 14 Jul 2023 06:48:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 AE46433C84E for ; Fri, 14 Jul 2023 06:48:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 451D2ACF for ; Fri, 14 Jul 2023 06:48:57 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1689317329.f0fafb78af1cfeee39c5d412b2ef5dbc0ef32bf3.arthurzam@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.80.1.ebuild X-VCS-Directories: app-editors/vscode/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: f0fafb78af1cfeee39c5d412b2ef5dbc0ef32bf3 X-VCS-Branch: master Date: Fri, 14 Jul 2023 06:48:57 +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: 5a0768c4-1e9a-4842-bf07-3bacbbd860b0 X-Archives-Hash: f2d5c41d0d757607da6de8c3af89d99e commit: f0fafb78af1cfeee39c5d412b2ef5dbc0ef32bf3 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Jul 14 06:45:41 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Fri Jul 14 06:48:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0fafb78 app-editors/vscode: add 1.80.1 Closes: https://bugs.gentoo.org/910172 Signed-off-by: Arthur Zamarin gentoo.org> app-editors/vscode/Manifest | 3 + app-editors/vscode/vscode-1.80.1.ebuild | 121 ++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index dd20f9ede283..ee9be0d4ea4c 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -4,3 +4,6 @@ DIST vscode-1.79.2-arm64.tar.gz 130972979 BLAKE2B da5c86ac8bfe4d7900aec6dbd61de0 DIST vscode-1.80.0-amd64.tar.gz 135325602 BLAKE2B f959c454f0a0fbf3f499eebfbc48115347e88619e44d0ceb68844e23e15991627651b2d63c0b7f756decefee9e535f39d3ca4a0292523af541c4c1b035f339fa SHA512 b121229bb9c7ed467370a00abb5efc53b8999cade79351c9740037df4af5485714c4695905e228e1e483f69c30e84ec7182ad249431d68f5d3aaacaf6ac2c44d DIST vscode-1.80.0-arm.tar.gz 119949287 BLAKE2B 56b20d79aacf3effd36f811c25fcb56e80df03a18026ddb13de62ef06aad13d92bdb93739f330bd212007023ef75f4be99616f945569755d733ab97af8757231 SHA512 ea98b06a0adbe097436a9c154c9083442426128105c40ebeb73408471822102f9b977985ed50cedb056d0a4ab9578415509f2a558fbdd901d9a230a1cd267f4d DIST vscode-1.80.0-arm64.tar.gz 131637682 BLAKE2B e8e50dba908b288ee359d97d378ce8ff36f4c82d3fa4f101a2c9d335641b6d121cddd5dff8f6f233defa8234fff880d2a3c8a006e069612e511d5fed90b4df0c SHA512 233a380270f043dbe5b045188f7c28731325be6705a0365f1d297240f8a0e77876189685cf7e93f60e52617524c65cf5b6c9390ecb8e01e266c6bced31680941 +DIST vscode-1.80.1-amd64.tar.gz 135332845 BLAKE2B 902f050bd8342062ff27c9c8d22c10d0c7508be08c3d35b5f5a2396c4dd152e87ecd8537a216a7d67a07a7359a9bfdf43f4f26c85e3962340bf915fbf48eeeaa SHA512 f48fa9b2c1b2ab002ee3703af611779e59c7f3d62ff20306ef5bbe4f76dcd33135ce9a3158402316c06f0251baccb7226f261990129654eb495813f86a06dfb1 +DIST vscode-1.80.1-arm.tar.gz 119948123 BLAKE2B de8dfae7f534260c045383ec9abd4662a2d1a462d1d6fc2abedc90c562713693bcbc83056037fe946ca85de2e74285e3321a706c87934c75b07c774061b6ee7b SHA512 cc928eecd2918f6b52a22447f606ac290b02b01b45c3644d73b6d1991169ad34cae2152f64f2661a183577c7194e3e10e2c25177e39231b4fba0cdd76ba7d54e +DIST vscode-1.80.1-arm64.tar.gz 131637149 BLAKE2B 1fdcbbbf0111ec61fd280a5c75eb58de9f44daf0424a2a15575cdffe42ab65b4de2c04776bc8e2e40aeadfeb7720f9d7955c0aef2c596eeb2ac7099ff31905fd SHA512 d337cb7d8757bff99cf198358acb74501527ced00cbadb2f27bd4037e78b4b631ece09dae947f40eac8ba64613077f53179550a7ce101de96254cfb5ceb05b81 diff --git a/app-editors/vscode/vscode-1.80.1.ebuild b/app-editors/vscode/vscode-1.80.1.ebuild new file mode 100644 index 000000000000..5a160dc35b29 --- /dev/null +++ b/app-editors/vscode/vscode-1.80.1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg optfeature + +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-core-2.46.0:2 + app-crypt/libsecret[crypt] + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/mesa + sys-apps/util-linux + 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/bin/code-tunnel + /opt/vscode/chrome_crashpad_handler + /opt/vscode/chrome-sandbox + /opt/vscode/code + /opt/vscode/libEGL.so + /opt/vscode/libffmpeg.so + /opt/vscode/libGLESv2.so + /opt/vscode/libvk_swiftshader.so + /opt/vscode/libvulkan.so* + /opt/vscode/resources/app/extensions/* + /opt/vscode/resources/app/node_modules.asar.unpacked/* + /opt/vscode/swiftshader/libEGL.so + /opt/vscode/swiftshader/libGLESv2.so +" + +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/ThirdPartyNotices.txt || die + + # Disable update server + sed -e "/updateUrl/d" -i ./resources/app/product.json || die + + # Install + pax-mark m code + mkdir -p "${ED}/opt/${PN}" || die + cp -r . "${ED}/opt/${PN}" || die + fperms 4711 /opt/${PN}/chrome-sandbox + + dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode" + dosym -r "/opt/${PN}/bin/code" "usr/bin/code" + dosym -r "/opt/${PN}/bin/code-tunnel" "usr/bin/code-tunnel" + 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 + optfeature "keyring support inside vscode" "virtual/secret-service" +}