diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-11-18 21:14:20 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-11-18 21:15:09 +0200 |
commit | 15197e1ae6d25c94425ab5b962f097b1b2295342 (patch) | |
tree | f1edacfb05d3773ec4e34902868a7c3eeedd7ded | |
parent | dev-db/timescaledb: add github upstream metadata (diff) | |
download | gentoo-15197e1ae6d25c94425ab5b962f097b1b2295342.tar.gz gentoo-15197e1ae6d25c94425ab5b962f097b1b2295342.tar.bz2 gentoo-15197e1ae6d25c94425ab5b962f097b1b2295342.zip |
app-editors/vscodium: add 1.84.2.23319
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | app-editors/vscodium/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vscodium/vscodium-1.84.2.23319.ebuild | 114 |
2 files changed, 117 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 0666fa9e1e92..92f437729d75 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -4,3 +4,6 @@ DIST vscodium-1.84.1.23311-arm64.tar.gz 122738742 BLAKE2B ed388f7c1fca30609e12b5 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 +DIST vscodium-1.84.2.23319-amd64.tar.gz 122368096 BLAKE2B 14df2425243331503d0f8ca74dd887390fb4e9fa1d7ba8ec28c2326eac9f0be2f00f707c6803e469c380efc019e24f17493dcd6a6544b7bbea798f86cdb1cb2f SHA512 31b985f8c09c3729c7b16ce5cdb2619685f3313776c4cd9f2009b12cca8b5f1387ee3090f657b33337955218950e572386cbc0a19cd9d74abca11a03c44f5afe +DIST vscodium-1.84.2.23319-arm.tar.gz 110990537 BLAKE2B d7955b27dacd97aaf7dda334cc92b981cf6e2a84f098408564e20c0ba3c7635636022e3e7b7f8d70115976bdaff96c7623e46603ade450b4bc906167099f48a8 SHA512 1f1fbfba86fd3cddc5e8ded8ca8c20abad42fcaf4c554d803ac3878f576561ed8288f18faf67e9a474717f28df4175a619c0af2f950ea6a66ee9602359d6d93b +DIST vscodium-1.84.2.23319-arm64.tar.gz 122740540 BLAKE2B 62a359372dc084ccaa71649a20f366159420f1fe5f442d7ce21caae745ba6e2040f4d35408fd67050c7ce215db530879a0835a801226b59820d1263fed136c58 SHA512 762a58cb5c9e9c4ab31f790693b3534d0e8fec6215c3e37db4a41da36ebec7a117044017c596d7631c0105242f50ece72e848e4ac0d332211ef2582fd3b35171 diff --git a/app-editors/vscodium/vscodium-1.84.2.23319.ebuild b/app-editors/vscodium/vscodium-1.84.2.23319.ebuild new file mode 100644 index 000000000000..13fca65036bb --- /dev/null +++ b/app-editors/vscodium/vscodium-1.84.2.23319.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" +} |