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 B6BB8158020 for ; Wed, 12 Oct 2022 19:45:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C417BE09DC; Wed, 12 Oct 2022 19:45:19 +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 6B753E09DB for ; Wed, 12 Oct 2022 19:45:19 +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 6A527341274 for ; Wed, 12 Oct 2022 19:45:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB3AA5E0 for ; Wed, 12 Oct 2022 19:45:16 +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: <1665603911.0d51e9c343c138cab8d2146615f5ae56f3e05adf.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.72.1.22284.ebuild X-VCS-Directories: app-editors/vscodium/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 0d51e9c343c138cab8d2146615f5ae56f3e05adf X-VCS-Branch: master Date: Wed, 12 Oct 2022 19:45:16 +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: b34b0e92-5756-46ab-978b-1c720b5f7c85 X-Archives-Hash: e71b1b0911015e54d3a6c74849406ca1 commit: 0d51e9c343c138cab8d2146615f5ae56f3e05adf Author: Arthur Zamarin gentoo org> AuthorDate: Wed Oct 12 19:40:34 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Wed Oct 12 19:45:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d51e9c3 app-editors/vscodium: add 1.72.1.22284 Signed-off-by: Arthur Zamarin gentoo.org> app-editors/vscodium/Manifest | 3 + app-editors/vscodium/vscodium-1.72.1.22284.ebuild | 120 ++++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 59bff0106267..1db814470b8d 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -4,3 +4,6 @@ DIST vscodium-1.71.2.22258-arm64.tar.gz 112485387 BLAKE2B 879f16278a1b221283ef1f DIST vscodium-1.72.0.22279-amd64.tar.gz 119675804 BLAKE2B a035d8832efde76e190c132c56ab36808dcbe0a078f60b8e1494386d078f131721e0c3c3c8d912082d62205524e2064693ce7895f7591db5d25b19b81f6c4ccf SHA512 c224c0e78bca4f4a955a953ae598bf7eaa2df8b70d93106d317e5e3494433ca67227d7b220c1cf0e4bba76245f49b25d04a26837bb9fae65f74e1c9115d988d6 DIST vscodium-1.72.0.22279-arm.tar.gz 101721054 BLAKE2B 2fdeb9b1ac695b40f6100c039b15183b5a714e37236f801e6adf1dfdcadb5d15d33cdd70650bf4ea008342c810526ea90af7d2af67528ea664187dbb4640b9b8 SHA512 5290195b46663a11e23b035067e3eb6271e0a040e2bebec8fecf49e2d48be92d59d77876c07c8d38d0f6ea43855d1eba6cbd6c32ca92cdb6180beab53d316896 DIST vscodium-1.72.0.22279-arm64.tar.gz 112756235 BLAKE2B 447b94bb45d28b2123ee6497cb696866137a1df0dd4eab83a9c9a7cc7a88d3febd8ecd09c927d602a88f0b12cc8162db0c06f3f13386c86068d709c8cd65715b SHA512 a226de551d29be28abdba029295756bb81adc19c3b1db3e5e111d1b33dacfa24dff5f6969d4558ad826dcea3e8d0c940a3ea271310b0d68fada18f6a72bdfa92 +DIST vscodium-1.72.1.22284-amd64.tar.gz 119688396 BLAKE2B 8a0fe6f026179ca8e87a0fe8d985560c8cb73c09f78e12caa75094e9f698925793436d41bfd9c05e3d7ce485ae8ba71076e5e8cea5fe281c36ab52e5f0cccced SHA512 7c04572e8164285990828cc9883dceb3b406be01dca389abb0793b84a0892cbaadc78851e8bdab7aa90e098328ea511837b4b65f4e8ba10c17ee04736ae68bd6 +DIST vscodium-1.72.1.22284-arm.tar.gz 101718778 BLAKE2B 167e7f2afdfc33301a89f748e4e55cff9f25a1e536b18a66517b4768c8d0a8a32d300c41f8c26189caa92190f5a0ae0b3a56a37251e5c711ebd80ace5acb2308 SHA512 683eee4e74355fe5867b14c8b68360047f92b37869866718750a6de9851fee0e49052cced66218fa1a1a2426ddd610daa24b98069ae214fedd2c691e441a7299 +DIST vscodium-1.72.1.22284-arm64.tar.gz 112752546 BLAKE2B 897b15f8ce4cb36c2ff32a1ac2f8bf2516bda64e57dc0e915abe8f2ef75cfab07cd3bfada7c1f4892c0ecf7028b1bcef66c60dc2ce02d7d8a56f03a5bdc01a47 SHA512 b1c57398b11c96103fb1918499c1d4405ae967e57238378285b8daf18b1efaa615d4b48e7e590d2e7664c5494f75bd994b97297e3b01ee634a62202023a71034 diff --git a/app-editors/vscodium/vscodium-1.72.1.22284.ebuild b/app-editors/vscodium/vscodium-1.72.1.22284.ebuild new file mode 100644 index 000000000000..5575b9697f9f --- /dev/null +++ b/app-editors/vscodium/vscodium-1.72.1.22284.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg optfeature + +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-core-2.46.0:2 + ( app-accessibility/at-spi2-atk dev-libs/atk ) + ) + app-crypt/libsecret[crypt] + 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/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/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" + optfeature "keyring support inside vscode" "gnome-base/gnome-keyring" +}