diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-09-18 22:00:24 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-09-18 22:00:24 +0300 |
commit | a47deb20fb1753c3dc7db4107f779a0afa27aee9 (patch) | |
tree | e0e027f91f05658ebf3e75425e12056f0cf96da4 /app-editors/vscodium | |
parent | app-text/sigil: add additional USE=plugin recommended deps (diff) | |
download | gentoo-a47deb20fb1753c3dc7db4107f779a0afa27aee9.tar.gz gentoo-a47deb20fb1753c3dc7db4107f779a0afa27aee9.tar.bz2 gentoo-a47deb20fb1753c3dc7db4107f779a0afa27aee9.zip |
app-editors/vscodium: add 1.82.2.23257
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors/vscodium')
-rw-r--r-- | app-editors/vscodium/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vscodium/vscodium-1.82.2.23257.ebuild | 109 |
2 files changed, 112 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 40c56274de94..bcc7c7acbcac 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -4,3 +4,6 @@ DIST vscodium-1.82.0.23250-arm64.tar.gz 122765625 BLAKE2B 0c5ea5d8bbb0890b1484c5 DIST vscodium-1.82.1.23255-amd64.tar.gz 122378820 BLAKE2B 76f9bdc38b4803fd37527ce91ac00512fad3a7b68824782a0126dcdde26b790f063e719ded50bdb6ffc656cd6505f3787772d4a77d9dc07cee3f8652674c979f SHA512 af5839687d9880ca1ee350421c8065a736dba7e3dc465470535156805f29eb0cd8ca2024660ec52aaa899e9bb435cc8b05d65d37544d113a5c34f119e144d603 DIST vscodium-1.82.1.23255-arm.tar.gz 111001076 BLAKE2B 81665f6e38e692f19ae417691de87519f3922249d7ffbdac7f20ee07567e4503f0491a9e9d8d2b4e230fb3a87a27d28865cbb27a3ec511a471108393dbb8b5dd SHA512 043f1942b783fb05b8a6da02d9918e24f46b12366901f1dd3bd3c57e1d1a91152d40aa1d2578cdcbf7623f83f1ba90ea938f45a7993aa0b917243891bcfff541 DIST vscodium-1.82.1.23255-arm64.tar.gz 122773280 BLAKE2B b07573a00a5d151e195fe7640b8c4faae9fb352794a21479256d0cfd715d0663ad250bd54e1c4049e0f56b66cca57abb8965328ea9bd9116be3be7553d16c91e SHA512 76e62d81bca0fa5046ba9dd7153360b37ffd075f52a36196aa8a66afb340eb451167b7b3b6eead542d318dc235ceb8aec5c85b87d8831f6eb7a3a2cf9e85f982 +DIST vscodium-1.82.2.23257-amd64.tar.gz 122400212 BLAKE2B 89fc60f5e0497c9cca3addd24ba93a2d693aa5b32af07c5c4024cc5bf5aa7a7cc7edeb834d496ad213ffe1de74ed88d72d178957f43a1643bd12908179dd6597 SHA512 93dae286a111b9b2d38c845f261da49c3bddfc9276694259a2e39442fb703ba85393dd432d0a284c807bc0688735923bd5f9e797e7bc8487533b4d1503c09861 +DIST vscodium-1.82.2.23257-arm.tar.gz 111018269 BLAKE2B cb46eb4754f68e4118bda7a123896b095cc3b745fa7607209d86446d7748735e854716f84932740f315469b4a09a63832c3e69e36d18c5df9b7cb3796a03d4f9 SHA512 952e19703abd7636640334fb9cc031c0d1dad3469b046bc7c4722ea9cd60617059319ef765f48b200b772e65dfcd4a19aa78c2b8d763722ab0d1a89099b990b1 +DIST vscodium-1.82.2.23257-arm64.tar.gz 122786317 BLAKE2B bf89a52ec44a8fc01305adefeaadbcd3fc11029b18b994633d408389b31545c10ccbfac1e18c93e1ad9e59c7d0a17cf3eca0486c149714515a7a086262e32764 SHA512 d747679f34cad51c44a2acd55aa0a23fb0fbe1a33e017e398b5becf36d4bcc438f82fc24845977a2d3836f5bae5d10dabfaa4ba878cd86991282d18053593694 diff --git a/app-editors/vscodium/vscodium-1.82.2.23257.ebuild b/app-editors/vscodium/vscodium-1.82.2.23257.ebuild new file mode 100644 index 000000000000..a5fc09b2ca4c --- /dev/null +++ b/app-editors/vscodium/vscodium-1.82.2.23257.ebuild @@ -0,0 +1,109 @@ +# 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}" + +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="kerberos" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + 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 + 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" +} |