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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 34F2C158094 for ; Sat, 20 Aug 2022 15:26:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24821E079E; Sat, 20 Aug 2022 15:26:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02EACE079E for ; Sat, 20 Aug 2022 15:26:07 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EA7A1340DA5 for ; Sat, 20 Aug 2022 15:26:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1292556C for ; Sat, 20 Aug 2022 15:26:05 +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: <1661009129.eb5c6015d8cb643ca9ffb6debdb5cb0fa7e2b83f.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vscodium/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-editors/vscodium/Manifest app-editors/vscodium/vscodium-1.70.1.22229.ebuild X-VCS-Directories: app-editors/vscodium/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: eb5c6015d8cb643ca9ffb6debdb5cb0fa7e2b83f X-VCS-Branch: master Date: Sat, 20 Aug 2022 15:26:05 +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: cb3faa9d-23b3-46ec-9bd2-c638cc307c32 X-Archives-Hash: 01324489ff41e6cb9f0e7c31a3b2d3cc commit: eb5c6015d8cb643ca9ffb6debdb5cb0fa7e2b83f Author: Randall T. Vasquez icloud com> AuthorDate: Sat Aug 20 13:56:06 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Aug 20 15:25:29 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb5c6015 app-editors/vscodium: add 1.70.1.22229 Signed-off-by: Randall T. Vasquez icloud.com> Signed-off-by: Arthur Zamarin gentoo.org> app-editors/vscodium/Manifest | 3 + app-editors/vscodium/vscodium-1.70.1.22229.ebuild | 117 ++++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index a6d5a3e9591c..fff756b2c6d9 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -4,3 +4,6 @@ DIST vscodium-1.70.0-arm64.tar.gz 117321647 BLAKE2B 9a49aa9d77dd2aec1561ff833295 DIST vscodium-1.70.1-amd64.tar.gz 119463559 BLAKE2B 735786acd7796445f66dea016d3024286c5043f5eda635963eb9dcf4fcb0ff27265aacce18d9e2be00f2f7e6ff580d0c6dc83ac91dbdb7ffd934b721c221793a SHA512 115b3f520b53becbd164c868406805e6012b51414d803283d80eb4cf992c2e0fea53af3e1939dcd9cfb1264b13b4a3eb422a89f763f8eb7fbd28ce462f3a6fd6 DIST vscodium-1.70.1-arm.tar.gz 101292517 BLAKE2B a2a0abd470988f649d657498ebdb49c1b10ecae4a8797d78da341c526604596680af301a7bb940bcc627e6aaa6fe971a50e4311baf2364fce4eb65779ef835e3 SHA512 33dd3eda80b9a6353e72ed92ee5f2adc3bdc48c49de0fa0829195e695fdfab0cd2fcba9fa1d6a0d6e3eccc3cd4b5c87a86af5e29161105a070f4743a413d7a2a DIST vscodium-1.70.1-arm64.tar.gz 117318425 BLAKE2B 16af0105d270aa706d762f94190838f7a0f5fb9ffe3c1b0eccbdf120d8ff1c21473d871170b252e1a805ed9ce81d35f1bcfbc33cd085b363497f40770fb32457 SHA512 9cb90d5a43aa124bc77cdf2868b45da59fa2c8573333373a6e351f2ed00fbccf7069655e30ce39e7322d8c18bb7edb20818b781bc1d60c3f524f8b37b85a6645 +DIST vscodium-1.70.1.22229-amd64.tar.gz 119469285 BLAKE2B 0f21c7576a144f20b9744d7192d2186dd49679a8dbe110c904b839a16f486edcda0c6fd6c2bc63abd995e14c56239bc84f95b89ef3a8232a8b429578c9216550 SHA512 4a74ecf5b60b59630814f7e908867d9fbe10622c1bb5b5054fe96c47dab7c5e12044de82c353a679d7779c65f36fff92a10453e39742f9a5ab727baa8821c224 +DIST vscodium-1.70.1.22229-arm.tar.gz 101292874 BLAKE2B d2cfcdf00a9eb1c65b7426a4e479ba15baeffb39d79622e37655d7814b1c62c072906e96bcf28d306331540fa39140a0f3594a267cc66176e2d7f7b1e81ac543 SHA512 9e607c576f79a59a23ff641742ccd6559318a5a37e047780762c78a0f4c7f632fc477aa733e4805022a77e615e17bfacd2cd99cbf00aa1959211705389126300 +DIST vscodium-1.70.1.22229-arm64.tar.gz 117342125 BLAKE2B c924b7b9af67613d61ae7a334d422627de7cface80e27da06f5a7be905e1b28d360225f7790917951e350fff315ab2315b5235f6d1f99b8ba54afa584f80e1a8 SHA512 ceff9924e1dc8af7efb77979c67108aa9bf7d48c984da514ab8ef238d1a5690ab6946bc2fa71c8e2d1f4daf8ac7aca78fd7cf210591bace31cbf3ff487b72339 diff --git a/app-editors/vscodium/vscodium-1.70.1.22229.ebuild b/app-editors/vscodium/vscodium-1.70.1.22229.ebuild new file mode 100644 index 000000000000..033c0854f7c0 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.70.1.22229.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg + +DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" +HOMEPAGE="https://vscodium.com/" +SRC_URI=" + amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz ) + arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.tar.gz ) + arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz ) +" + +RESTRICT="strip bindist" + +LICENSE=" + Apache-2.0 + BSD + BSD-1 + BSD-2 + BSD-4 + CC-BY-4.0 + ISC + LGPL-2.1+ + MIT + MPL-2.0 + openssl + PYTHON + TextMate-bundle + Unlicense + UoI-NCSA + W3C +" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +IUSE="" + +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 + net-print/cups + 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/vscodium/chrome_crashpad_handler + /opt/vscodium/chrome-sandbox + /opt/vscodium/codium + /opt/vscodium/libEGL.so + /opt/vscodium/libffmpeg.so + /opt/vscodium/libGLESv2.so + /opt/vscodium/libvk_swiftshader.so + /opt/vscodium/libvulkan.so* + /opt/vscodium/resources/app/extensions/* + /opt/vscodium/resources/app/node_modules.asar.unpacked/* + /opt/vscodium/swiftshader/libEGL.so + /opt/vscodium/swiftshader/libGLESv2.so +" + +S="${WORKDIR}" + +src_install() { + # Cleanup + rm "${S}/resources/app/LICENSE.txt" || die + + # Disable update server + sed -i "/updateUrl/d" ${S}/resources/app/product.json || die + + # Install + pax-mark m codium + insinto "/opt/${PN}" + doins -r * + fperms +x /opt/${PN}/{,bin/}codium + fperms +x /opt/${PN}/chrome_crashpad_handler + fperms 4711 /opt/${PN}/chrome-sandbox + fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor}{,-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/codium" "usr/bin/vscodium" + dosym "../../opt/${PN}/bin/codium" "usr/bin/codium" + domenu "${FILESDIR}/vscodium.desktop" + domenu "${FILESDIR}/vscodium-url-handler.desktop" + domenu "${FILESDIR}/vscodium-wayland.desktop" + domenu "${FILESDIR}/vscodium-url-handler-wayland.desktop" + newicon "resources/app/resources/linux/code.png" "vscodium.png" +} + +pkg_postinst() { + xdg_pkg_postinst + elog "When compared to the regular VSCode, VSCodium has a few quirks" + elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md" +}