diff options
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/Manifest.gz | bin | 13940 -> 13942 bytes | |||
-rw-r--r-- | app-editors/vscodium/Manifest | 4 | ||||
-rw-r--r-- | app-editors/vscodium/vscodium-1.85.1.23348.ebuild | 114 |
3 files changed, 118 insertions, 0 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz Binary files differindex 34396b4d1158..0fa014987203 100644 --- a/app-editors/Manifest.gz +++ b/app-editors/Manifest.gz diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index fb7d909c5a87..f0513e5da777 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -5,5 +5,9 @@ AUX vscodium.desktop 481 BLAKE2B 89f335edd1f7d0256f95eb96d335c2359d8fd984a29bdc3 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 +DIST vscodium-1.85.1.23348-amd64.tar.gz 121836227 BLAKE2B beded9bfcf6ee03d58275c522495d43773676451a183c1bc6f5e8e3d3ebaba1ea2ec43638cb03e59cf261fb77eaddefe4c01bd2288f225b3c371a13045a8563a SHA512 d29a2f3f7460d95b15036b82aace1ab9c130bb48650f7be3074a833470ed15300b6891fae20af29b1c02e853eea875194114dd93504bb7ea50184faac836cffd +DIST vscodium-1.85.1.23348-arm.tar.gz 110358274 BLAKE2B 38380ce42203a4833d6b84e166617a06f8b8bd4151b0148e9f3c0639a9a84aa5c956f772b6253273020e7fe371c4badb5b07ecc574d8e62ae12e8d6900293a84 SHA512 48065ebf3e1c789ea4fb3d7726098ff5d3f160be5895f09721fdb42c60ff0bdb8332a2eb6dc1dfa509c9482633ae3772123df0cea1eb870be1a4097499549594 +DIST vscodium-1.85.1.23348-arm64.tar.gz 122135794 BLAKE2B 4055913bb21c464167537f9f7eaa1dfc00d3ba012fa6dc5fa234c1a738f760d5b2b06ed8846caaf0ea1e31b023f9dfee01852c62844617ce87669bffd4fbcccd SHA512 fe121cd2590bff9b531aebc48323548ded533cba2314fe15492203457fd0f2137c59045b720fa58cdbce32e3017c0deafad020099df330be6705988c90a38499 EBUILD vscodium-1.84.2.23319.ebuild 2478 BLAKE2B 4e71f84b90267acfca80c80e05faa82e912eff082d759847bfbe9f7ff587da2a0b2c2ccaa0c8b8f8fd57261bc063e8ac07d5e0fe465706bf9c79835e8d0909c4 SHA512 31bc55bb1e0e3febd4a41aeafa5a74358d8720c0aa1950b79493ba002fc11604f5422e83b125c21da5a3dcb8e285219bd520d461b9e531cf3f68322bf72f65c4 +EBUILD vscodium-1.85.1.23348.ebuild 2479 BLAKE2B 2e340aadc3dd3e82af1c19641dfb83b3cb8353c424f26db88de90026846dc56cccbcbf104db4600629fb5c0c4b3a1602ed98765a422a81132b9dfed2c27f7164 SHA512 fc1a275bdc126620bc454842c799076e0cd5a08eda2a13caa6ed1c87dbcfae3ea0d694361f047907daa705a6686249891e2e96009c532f155593ad21c592dc7c MISC metadata.xml 1302 BLAKE2B ff0c1f72c2394f21e13b89831493df562ca15114fa5006262f794d3f2580deaad01d7e01f87481dcc75cc5044c8b4950955dcc3dbecbc8cfc7a6ceafaf078fb6 SHA512 8ec965d8544c2ab31e3c2f2f3c879b084126880603681fef5e5158af1bc1f2f79351b68284f6a101d486893f968594e1537df1eedeacdebffdf51de7a38ccb25 diff --git a/app-editors/vscodium/vscodium-1.85.1.23348.ebuild b/app-editors/vscodium/vscodium-1.85.1.23348.ebuild new file mode 100644 index 000000000000..050d31616210 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.85.1.23348.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" +} |