summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-12-17 19:35:31 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-12-17 20:00:17 +0200
commite38815892cee9efa3696aef7a3b175e655e98170 (patch)
tree29503b7c7cab90157bce174f741fd8001181edaa /app-editors/vscodium
parentapp-dicts/myspell-uk: add 6.3.1 (diff)
downloadgentoo-e38815892cee9efa3696aef7a3b175e655e98170.tar.gz
gentoo-e38815892cee9efa3696aef7a3b175e655e98170.tar.bz2
gentoo-e38815892cee9efa3696aef7a3b175e655e98170.zip
app-editors/vscodium: add 1.85.1.23348
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors/vscodium')
-rw-r--r--app-editors/vscodium/Manifest3
-rw-r--r--app-editors/vscodium/vscodium-1.85.1.23348.ebuild114
2 files changed, 117 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index 6f863c523b8e..d86ba671c096 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -1,3 +1,6 @@
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
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"
+}