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 6098115814C for ; Thu, 12 Oct 2023 17:44:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 507ED2BC017; Thu, 12 Oct 2023 17:44:03 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 398E32BC017 for ; Thu, 12 Oct 2023 17:44:03 +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 78AB5335C34 for ; Thu, 12 Oct 2023 17:44:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AB4F1146 for ; Thu, 12 Oct 2023 17:44:00 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1697132615.ecf378d4ab04ccfe66bad5bf900788717993922b.mattst88@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.83.0.23283.ebuild X-VCS-Directories: app-editors/vscodium/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: ecf378d4ab04ccfe66bad5bf900788717993922b X-VCS-Branch: master Date: Thu, 12 Oct 2023 17:44:00 +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: d32afa47-75d0-4225-9533-ea113e9a16b2 X-Archives-Hash: 86dfe0469844ab41f7932f3e16c23851 commit: ecf378d4ab04ccfe66bad5bf900788717993922b Author: Matt Turner gentoo org> AuthorDate: Thu Oct 12 17:43:01 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Oct 12 17:43:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf378d4 app-editors/vscodium: Version bump to 1.83.0.23283 Signed-off-by: Matt Turner gentoo.org> app-editors/vscodium/Manifest | 3 + app-editors/vscodium/vscodium-1.83.0.23283.ebuild | 114 ++++++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index dbbfaa2b5077..52422c75b710 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -7,3 +7,6 @@ DIST vscodium-1.82.2.23257-arm64.tar.gz 122786317 BLAKE2B bf89a52ec44a8fc01305ad DIST vscodium-1.83.0.23277-amd64.tar.gz 122376313 BLAKE2B 98c36ce5d49e74397b96589bbe2993e213c584a4d71a01050b15cd78b1bd103af9ed743b7c383ee85d892623ddfbc1d082d26251b3a44bb462f2033fb4ddcd22 SHA512 baea03240a667689aba508a96a482877974e2cc1c7c1ab60b5e47867f21f69921113743d31dcbcdd158755123f59b0730d2454be3b86e8af2cccd734651f08a2 DIST vscodium-1.83.0.23277-arm.tar.gz 111010787 BLAKE2B 3a55d6f3824b5f8eedd3fa493a2db99eee490503ce97c1081deef1fe5b9dd4dadce0603cf166647a876b7db0af31145a2c8882798feff951ea1981943fa99756 SHA512 e3c8be1195576b75d6f8243d75b2c11e677f10888d8aea74025032fd7f785433987b146817fd2c8a7f52823bed3c3de4de53552403c8054c9ab4588bd685067e DIST vscodium-1.83.0.23277-arm64.tar.gz 122765714 BLAKE2B 99a5ea23beb57f7e3383fa8af862f11d01cdf79efe6d2bea33a18267ef59f89de83262ee0e39f501525b68cb417bda2647f2a1531643dba2f1234629ff3197bb SHA512 2bec58bceb156c8ae7af2656c3b2954579ba42aea7c7a59ffbb98570046549a3b4d63395c729f5a7e223de880a4df539b2e5afcaf7508e7106f7b6af34a9cca3 +DIST vscodium-1.83.0.23283-amd64.tar.gz 122372769 BLAKE2B 50c136100ccd55c012454817baa1db6f110aa62e317a3008a9ab36430756b13e330ba7ea483a481eb18e3ebd733018751b7706b6bcabf6ebc15b14d045a05c90 SHA512 022f63f8189914447c58e632bcf1957c64ccfd94c8a48ee1e266fc64f6882a8f5f5831a310b7e7b31ff4ca2967c6779c4cbfa78313610fd281c04ba189948f4c +DIST vscodium-1.83.0.23283-arm.tar.gz 111002625 BLAKE2B 429d421444839e2ba431835a1cb73bd3e7dfd3e141ae58cdb5b6a1cfaebcb2be8d1f7f8ea81763c6f4aa1bf3db19f9da45cdbf75f5ea36afe20ac5d50d816457 SHA512 fc5057240932b42b0e4dd8c8e518efc42afaecdeefc05fb71f78a537d80d864b9dc8b125b795c9ab5d5eb78f3ad0cadefcbc168d9ac2e89fb2f914e3b96406d3 +DIST vscodium-1.83.0.23283-arm64.tar.gz 122766239 BLAKE2B d8e0caf282592e2246f9be0f25079f16bccf0a7514208522ea6b09894f77c92bc55d1109b28727aa505d26ec532c66f8e89eec3a01bea09786ddc61db51a15d7 SHA512 60f64b948400cb1345bca7162728bc576cd8b9202a82647d4ac158dd7be268029fe15c84f60c4a21530d20628676bf0f86c3c218febf8c0c9a21c852ed0555d0 diff --git a/app-editors/vscodium/vscodium-1.83.0.23283.ebuild b/app-editors/vscodium/vscodium-1.83.0.23283.ebuild new file mode 100644 index 000000000000..1adcd7d096d3 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.83.0.23283.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg optfeature + +# Usage: arch_src_uri +arch_src_uri() { + echo "${1}? ( + https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-${2}-${PV}.tar.gz + -> ${P}-${1}.tar.gz + )" +} + +DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" +HOMEPAGE="https://vscodium.com/" +SRC_URI=" + $(arch_src_uri amd64 x64) + $(arch_src_uri arm armhf) + $(arch_src_uri arm64 arm64) +" +S="${WORKDIR}" + +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="kerberos" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + app-i18n/ibus + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + media-libs/alsa-lib + media-libs/libcanberra[gtk3] + media-libs/libglvnd + media-libs/mesa + net-misc/curl + sys-libs/zlib + sys-process/lsof + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libnotify + 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/libXScrnSaver + x11-libs/pango + x11-misc/xdg-utils + kerberos? ( app-crypt/mit-krb5 ) +" + +QA_PREBUILT="*" + +src_install() { + # Cleanup + rm "${S}/resources/app/LICENSE.txt" || die + + if ! use kerberos; then + rm -r "${S}/resources/app/node_modules.asar.unpacked/kerberos" || die + fi + + # Install + pax-mark m codium + mkdir -p "${ED}/opt/${PN}" || die + cp -r . "${ED}/opt/${PN}" || die + fperms 4711 /opt/${PN}/chrome-sandbox + + dosym -r "/opt/${PN}/bin/codium" "usr/bin/vscodium" + dosym -r "/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" + optfeature "keyring support inside vscode" "virtual/secret-service" +}