summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-10-12 13:43:01 -0400
committerMatt Turner <mattst88@gentoo.org>2023-10-12 13:43:35 -0400
commitecf378d4ab04ccfe66bad5bf900788717993922b (patch)
treebcef84b94bf80b6751f64c7cd71d436c7d0e6816 /app-editors/vscodium
parentapp-editors/vscode: Version bump to 1.83.1 (diff)
downloadgentoo-ecf378d4ab04ccfe66bad5bf900788717993922b.tar.gz
gentoo-ecf378d4ab04ccfe66bad5bf900788717993922b.tar.bz2
gentoo-ecf378d4ab04ccfe66bad5bf900788717993922b.zip
app-editors/vscodium: Version bump to 1.83.0.23283
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-editors/vscodium')
-rw-r--r--app-editors/vscodium/Manifest3
-rw-r--r--app-editors/vscodium/vscodium-1.83.0.23283.ebuild114
2 files changed, 117 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index dbbfaa2b5077..52422c75b710 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -7,3 +7,6 @@ DIST vscodium-1.82.2.23257-arm64.tar.gz 122786317 BLAKE2B bf89a52ec44a8fc01305ad
DIST vscodium-1.83.0.23277-amd64.tar.gz 122376313 BLAKE2B 98c36ce5d49e74397b96589bbe2993e213c584a4d71a01050b15cd78b1bd103af9ed743b7c383ee85d892623ddfbc1d082d26251b3a44bb462f2033fb4ddcd22 SHA512 baea03240a667689aba508a96a482877974e2cc1c7c1ab60b5e47867f21f69921113743d31dcbcdd158755123f59b0730d2454be3b86e8af2cccd734651f08a2
DIST vscodium-1.83.0.23277-arm.tar.gz 111010787 BLAKE2B 3a55d6f3824b5f8eedd3fa493a2db99eee490503ce97c1081deef1fe5b9dd4dadce0603cf166647a876b7db0af31145a2c8882798feff951ea1981943fa99756 SHA512 e3c8be1195576b75d6f8243d75b2c11e677f10888d8aea74025032fd7f785433987b146817fd2c8a7f52823bed3c3de4de53552403c8054c9ab4588bd685067e
DIST vscodium-1.83.0.23277-arm64.tar.gz 122765714 BLAKE2B 99a5ea23beb57f7e3383fa8af862f11d01cdf79efe6d2bea33a18267ef59f89de83262ee0e39f501525b68cb417bda2647f2a1531643dba2f1234629ff3197bb SHA512 2bec58bceb156c8ae7af2656c3b2954579ba42aea7c7a59ffbb98570046549a3b4d63395c729f5a7e223de880a4df539b2e5afcaf7508e7106f7b6af34a9cca3
+DIST vscodium-1.83.0.23283-amd64.tar.gz 122372769 BLAKE2B 50c136100ccd55c012454817baa1db6f110aa62e317a3008a9ab36430756b13e330ba7ea483a481eb18e3ebd733018751b7706b6bcabf6ebc15b14d045a05c90 SHA512 022f63f8189914447c58e632bcf1957c64ccfd94c8a48ee1e266fc64f6882a8f5f5831a310b7e7b31ff4ca2967c6779c4cbfa78313610fd281c04ba189948f4c
+DIST vscodium-1.83.0.23283-arm.tar.gz 111002625 BLAKE2B 429d421444839e2ba431835a1cb73bd3e7dfd3e141ae58cdb5b6a1cfaebcb2be8d1f7f8ea81763c6f4aa1bf3db19f9da45cdbf75f5ea36afe20ac5d50d816457 SHA512 fc5057240932b42b0e4dd8c8e518efc42afaecdeefc05fb71f78a537d80d864b9dc8b125b795c9ab5d5eb78f3ad0cadefcbc168d9ac2e89fb2f914e3b96406d3
+DIST vscodium-1.83.0.23283-arm64.tar.gz 122766239 BLAKE2B d8e0caf282592e2246f9be0f25079f16bccf0a7514208522ea6b09894f77c92bc55d1109b28727aa505d26ec532c66f8e89eec3a01bea09786ddc61db51a15d7 SHA512 60f64b948400cb1345bca7162728bc576cd8b9202a82647d4ac158dd7be268029fe15c84f60c4a21530d20628676bf0f86c3c218febf8c0c9a21c852ed0555d0
diff --git a/app-editors/vscodium/vscodium-1.83.0.23283.ebuild b/app-editors/vscodium/vscodium-1.83.0.23283.ebuild
new file mode 100644
index 000000000000..1adcd7d096d3
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.83.0.23283.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}"
+
+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]
+ app-i18n/ibus
+ 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
+ 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"
+}