diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-11-12 08:42:23 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-11-12 08:57:00 +0200 |
commit | bcc3650cc4c5991186175dd6b6ba784c6536e54d (patch) | |
tree | 0625a254cecc3e8919a9ad17e45b911c9206c06b /app-editors | |
parent | x11-themes/arc-theme: enable py3.12 (diff) | |
download | gentoo-bcc3650cc4c5991186175dd6b6ba784c6536e54d.tar.gz gentoo-bcc3650cc4c5991186175dd6b6ba784c6536e54d.tar.bz2 gentoo-bcc3650cc4c5991186175dd6b6ba784c6536e54d.zip |
app-editors/vscodium: add 1.84.2.23314
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/vscodium/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vscodium/vscodium-1.84.2.23314.ebuild | 114 |
2 files changed, 117 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index ddaf2700394f..996624bf14ad 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -7,3 +7,6 @@ DIST vscodium-1.84.0.23306-arm64.tar.gz 122742053 BLAKE2B 5fdb61dd123ee369f082fb 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 +DIST vscodium-1.84.2.23314-amd64.tar.gz 122366409 BLAKE2B c76d15e73baf15fcd1f3dea8aaf79fdc4ad0b63e8ea2b33cf295b0d1a52f711ac84a86246a05a8950e2cae63657f60bc2eef1d4098d34f67c1da56aa5252815e SHA512 aa77b002a1fbf3f91dc51bf63a56d7ad672cea377266129629adede3a9a8e4305d76702bd843777cfb07810728acf1461efcab79243ec2143b7a72d6007ad8dd +DIST vscodium-1.84.2.23314-arm.tar.gz 110986707 BLAKE2B c646e0567708a0fb1d64a93c8fd97be29ade33e5c490230c745e73ecce6d82bc82c2aeca89d9a04ef454ebfe021b97d470a50c2c43d531c6d24f76e432999f39 SHA512 aa13789ee38d3458f434050d89df6c298eeeb11fc22b591b2289f5826d11e3905e9da2bd4e5938260a44da49ec5b67661049acea4ddefb0ef6a5148c0f44400d +DIST vscodium-1.84.2.23314-arm64.tar.gz 122738415 BLAKE2B ba98c6bee5eb75a10146b922dc8f40c38cd9e8dbf234a62ed8fee6cff744873a8faa3a6851205b4fe5d6db54a256b4c3a7981d229faec3bbfff259016e4045da SHA512 9a0d790250336076281a39104f6cc9c9a97d6cef5cd4bbefdf7803b812c14a85e9f7615ad27e1ffebbdd5c5c9f7e6088c91c028135a7b03fec9de5df62004f56 diff --git a/app-editors/vscodium/vscodium-1.84.2.23314.ebuild b/app-editors/vscodium/vscodium-1.84.2.23314.ebuild new file mode 100644 index 000000000000..13fca65036bb --- /dev/null +++ b/app-editors/vscodium/vscodium-1.84.2.23314.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 <gentoo arch> <upstream arch> +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" +} |