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 441B1158089 for ; Thu, 9 Nov 2023 18:40:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C97D2BC018; Thu, 9 Nov 2023 18:40:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 6BE9A2BC018 for ; Thu, 9 Nov 2023 18:40:57 +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 80243335C07 for ; Thu, 9 Nov 2023 18:40:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18F03D5E for ; Thu, 9 Nov 2023 18:40:55 +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: <1699555249.af7db6f92826f1830b823ebcc95729d185999ed2.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.84.1.23311.ebuild X-VCS-Directories: app-editors/vscodium/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: af7db6f92826f1830b823ebcc95729d185999ed2 X-VCS-Branch: master Date: Thu, 9 Nov 2023 18:40:55 +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: 44a6e86b-1063-4f08-a941-bbaafd7b6428 X-Archives-Hash: 050704b296cc292f505794c09485727e commit: af7db6f92826f1830b823ebcc95729d185999ed2 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Nov 9 17:28:19 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Thu Nov 9 18:40:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af7db6f9 app-editors/vscodium: add 1.84.1.23311 Signed-off-by: Arthur Zamarin gentoo.org> app-editors/vscodium/Manifest | 3 + app-editors/vscodium/vscodium-1.84.1.23311.ebuild | 114 ++++++++++++++++++++++ 2 files changed, 117 insertions(+) diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 870e6604c147..ddaf2700394f 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -4,3 +4,6 @@ DIST vscodium-1.83.1.23285-arm64.tar.gz 122760275 BLAKE2B 8201036ab1e2ae3194813a DIST vscodium-1.84.0.23306-amd64.tar.gz 122367391 BLAKE2B c733718cd3690b7d888d9c3fa2065793de772af075f81468b0e850073dfa60b9c44f5f0adf9737bf57a7cb8a6c05a3733b35e6679d60e2922ee77181c88362ed SHA512 3142f6b38a2f9208163baa4fb419946acd2cbc0fdc75029ac34bbe852d40b70b29b3ae89b07d0545f15d9c3ff74988a049d91a746911c3719716161cbf203887 DIST vscodium-1.84.0.23306-arm.tar.gz 110987487 BLAKE2B a89faaf60cb7be961759bdcff81bb4151c879bf89e4b6b51016fb2501ba3c961074d1a834b8172086d5f3b15e7e96822f5393446dc81b2032766eca83478ec7b SHA512 c1a14372a732a4062a07894cc094f33daa6381814f19ac444cb60e31cbeeee33b1aac413e391cc3bd3d4aade0474fd8d0a93319e64fe652781b905e2b20d04cf DIST vscodium-1.84.0.23306-arm64.tar.gz 122742053 BLAKE2B 5fdb61dd123ee369f082fb5129ae4164c84001ff825f9e1f88e5809c13fa9fa4dc0626f139447d4c4775c942a9473c0259a28f642af601e306d305a9724a2cec SHA512 385c7bed64131d6721435e27b9e5d858b7aa09edcaf08f2fcf71988370b042f42005180c707259e5705afe0c7cfb5e8d14034e43bb7e71f1ef3ef29039db5427 +DIST vscodium-1.84.1.23311-amd64.tar.gz 122366765 BLAKE2B 1f2b8eca81956b9e8672e03fdecc2d0095c76c1e0ea6c0d46cb35b18f96467e3d8a0957cb477dfe2b574f753cd73360e81dd0e52bf59136f124497fdf7627663 SHA512 e84b4b559c857f5db6b90acc87fbe3ef347d92e14e09b465efe300d5c35c7061b4e0828cba338554a1e51ee6340bd86a537dd231cb1cc34b9e67bf50a1d6d6dc +DIST vscodium-1.84.1.23311-arm.tar.gz 110993946 BLAKE2B 60fb606d9cd0f85b9bf6e47db2316c380807fdd68225f4d16f2e967c7c62d1e5c9b1699376ec3f93c08da949e383a88c42e2d8809a4b13c2603f13983b377cc4 SHA512 a74e54d6197feaf29ae382f12d8923bd428c846efec01700542cfb31e4383f3801f361f315da65a42a5c820a93e13bc7b95a7a64901ba0f04fb5b4a6b90f3827 +DIST vscodium-1.84.1.23311-arm64.tar.gz 122738742 BLAKE2B ed388f7c1fca30609e12b5da80dc37386d1d64f9a391d5dc8633e4380629881a61a00e89bf96389397efb795f346dd621c19880b1940a97a51f6afedeb457ddd SHA512 a49f4be0ffd1892c1000bb417c9cf7879f563df98f29e7edd6dab2ba20963beb2cee0e775c8fbb22d86f2117cd3a4a380388804c8df6981ec8d6c6d036ee2c6d diff --git a/app-editors/vscodium/vscodium-1.84.1.23311.ebuild b/app-editors/vscodium/vscodium-1.84.1.23311.ebuild new file mode 100644 index 000000000000..13fca65036bb --- /dev/null +++ b/app-editors/vscodium/vscodium-1.84.1.23311.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}" + +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" +RESTRICT="strip bindist" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + app-crypt/libsecret[crypt] + 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 + net-print/cups + sys-apps/dbus + 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" +}