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 6D58F1392E8 for ; Wed, 14 Jul 2021 14:59:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96D8BE0A52; Wed, 14 Jul 2021 14:59:44 +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 6459FE0A4A for ; Wed, 14 Jul 2021 14:59:44 +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 2CEB7342BCD for ; Wed, 14 Jul 2021 14:59:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD61925 for ; Wed, 14 Jul 2021 14:59:39 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1626274749.954b10e258660f2fd1bc9742368f2cbce0b1c8d7.juippis@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.58.1.ebuild X-VCS-Directories: app-editors/vscode/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 954b10e258660f2fd1bc9742368f2cbce0b1c8d7 X-VCS-Branch: master Date: Wed, 14 Jul 2021 14:59:39 +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: db823316-8c5d-4e08-b84c-a6ea439b9e1b X-Archives-Hash: a8c2f125650dbda938e7d7bc1acaa307 commit: 954b10e258660f2fd1bc9742368f2cbce0b1c8d7 Author: Adel KARA SLIMANE zegrapher com> AuthorDate: Wed Jul 14 13:41:45 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Jul 14 14:59:09 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=954b10e2 app-editors/vscode: bump to 1.58.1 Signed-off-by: Adel KARA SLIMANE zegrapher.com> Signed-off-by: Joonas Niilola gentoo.org> app-editors/vscode/Manifest | 3 + app-editors/vscode/vscode-1.58.1.ebuild | 103 ++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index 9b4b10274b3..bdb3d8c2935 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -1,3 +1,6 @@ DIST vscode-1.57.1-amd64.tar.gz 104850563 BLAKE2B b3690382adfa3f8414b38bb784a6a595409fd766d21da05960a4d39344be0dc80bcb99b8b7b7d0d7f4bf5244bb35227e301696a4c16b1e0f9665a4f1f244f15a SHA512 928664a24a65c85db53d74c07b29d5e8bb1c204481fdc9204b3e254dc7f82c1a3090ffac933d331c29c1c9c4a9417200aa0216170058249fc539529130e9dfbc DIST vscode-1.57.1-arm.tar.gz 95393169 BLAKE2B dd004a41ec92796d9c2235be032c2cd5a79464926b392fb3c6d73bf0a49265bfeb0c234fd383a267578553501ad23d3e21f8e2edba591e2cb6d7f8a4118dda26 SHA512 3df5f8c15b0622c0d4cb470f095280c817675ccc160b51caeb04ed5471ae41da5d72da8128d5dd689c33d82718433786bdddeb87cca82d80a5eb638094be18e9 DIST vscode-1.57.1-arm64.tar.gz 110176471 BLAKE2B 40765526445565714c4e487327af4d34d8b83d2eda8cb74431df680a0ad212fa7b24312d07759be077bba30c0ab721af6ced24d31262863524bacd41e4fc5f82 SHA512 f20f22b2e524918bce1bd0d2e43e1f15a11bf40b54c6b8e55fd4dbe2f39c5eb724c3354ab6e8b00b6f8a81f01d0dfe2c6483fc81344a538ee782ae2c1e0ec5bc +DIST vscode-1.58.1-amd64.tar.gz 105591738 BLAKE2B 24c1dec88cdf91a6046dca06bf38c994cf82c97f95de01eed64828157d2f26573e3241ba9d6518f7885306a5d571da8f84839a5302ae4db9dcdf70d05930badf SHA512 34b87dc4b408ed2b6cf20b57a425ce934d77ccf3a8febc90e9f377a914f2a9598a091c0f8ff1bdb6bcb525effd22c574ea7c4af8828e3cabc28c83d9c5fe23e9 +DIST vscode-1.58.1-arm.tar.gz 96171694 BLAKE2B 7d2a9535e1c32c96b99b7bab2ec0fa91e32bbe3f7abe6cd4da26cee37d3da236a6463f131f7a313e8aece06035195345b549c9744dd818fb7af3044af1fbffce SHA512 f5bc25246a81988c114bcc2da9bfd4cc1a446a0460a81870b27e840835a5bc0c05732a0c951d2b1990b9596b981f456e1ec151a9d7eb15cc8fa14ef5bfe54898 +DIST vscode-1.58.1-arm64.tar.gz 110943920 BLAKE2B bde4e333a7b9697a19a7bf5cbce27f212e889625890312ed1d893e28c927b0938a9c25f10718d9ee35338833172272671e88889bd9ba3078229813fde8eab4a2 SHA512 d399dc2fa2dd5ff2c3638ccb8db439b3477521993d97952f9efd274f0f6cde6b0cb3f89e6df7eea04aece4f70628b9c94c8f90f32e49e10ee6ae90669dde62cd diff --git a/app-editors/vscode/vscode-1.58.1.ebuild b/app-editors/vscode/vscode-1.58.1.ebuild new file mode 100644 index 00000000000..044c01c3300 --- /dev/null +++ b/app-editors/vscode/vscode-1.58.1.ebuild @@ -0,0 +1,103 @@ +# 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 + app-crypt/libsecret[crypt] + dev-libs/nss + media-libs/alsa-lib + media-libs/libpng:0/16 + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libnotify + x11-libs/libxkbcommon + x11-libs/libxkbfile + x11-libs/libXScrnSaver + x11-libs/libXtst + 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 +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/vscode" + domenu "${FILESDIR}/vscode.desktop" + domenu "${FILESDIR}/vscode-url-handler.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" +}