diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-11-04 18:05:53 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-11-04 18:05:53 +0200 |
commit | 7dcde4d157acaa2dce63818c2566dbb256d57abd (patch) | |
tree | 1e3b97fd7df7b4065ff3426551658a2d36cdb0ba /app-editors/vscodium | |
parent | app-editors/vscode: add 1.84.0 (diff) | |
download | gentoo-7dcde4d157acaa2dce63818c2566dbb256d57abd.tar.gz gentoo-7dcde4d157acaa2dce63818c2566dbb256d57abd.tar.bz2 gentoo-7dcde4d157acaa2dce63818c2566dbb256d57abd.zip |
app-editors/vscodium: add 1.84.0.23306
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.84.0.23306.ebuild | 115 |
2 files changed, 118 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 4fca9bdc766b..c688d2e50327 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -4,3 +4,6 @@ DIST vscodium-1.82.3.23277-arm64.tar.gz 122784303 BLAKE2B b4a2e69176d66f3a2a2b30 DIST vscodium-1.83.1.23285-amd64.tar.gz 122374995 BLAKE2B bc2a0ad348e7f0ca1ec75f82e92e4933b8f2a92a8587cc9da1f49db1ce317d54b90b656f6f5bb14cde219dff0ceee3cd9c99856af83f08e9f6c01614b325a776 SHA512 aa0ede11b25d6838e117ab679efc047c83d45f584352fd54dc098adc7e5c48341237ab9c1001e96b3e0d05a4d5bd382693634a901cda5c68064903c1d1bd9c91 DIST vscodium-1.83.1.23285-arm.tar.gz 111010049 BLAKE2B df414ae8f29794ff0c9bb647dae860d3f48f9a6c441696a360e61605d93e6df8dec949db139eccf867a2d34ae411c0b6f54ef2ceb6dc78088eca3947ab856623 SHA512 595f267881932d5b3b95e860d79f72120c017384c3b486a679a7505156096aad1597c4954e46aae4c65dc9650c47f277ffa872373116ba7f6d99d8010871566d DIST vscodium-1.83.1.23285-arm64.tar.gz 122760275 BLAKE2B 8201036ab1e2ae3194813a8374ae17216478523d81ab4ccd769196a9edca180c79cd4831ca9266776e8ba9e57fb256c8bead15ba088c89b6ffbd0bb98d675cfa SHA512 7dd3885def2d007960e4e958b8bb01aa88d8cc3e92d0aa0b26c612e094f46c2d62a26cd072efc826885c9b505885def00d4f9b390f3769780022658c8378e13b +DIST vscodium-1.84.0.23306-amd64.tar.gz 122367391 BLAKE2B c733718cd3690b7d888d9c3fa2065793de772af075f81468b0e850073dfa60b9c44f5f0adf9737bf57a7cb8a6c05a3733b35e6679d60e2922ee77181c88362ed SHA512 3142f6b38a2f9208163baa4fb419946acd2cbc0fdc75029ac34bbe852d40b70b29b3ae89b07d0545f15d9c3ff74988a049d91a746911c3719716161cbf203887 +DIST vscodium-1.84.0.23306-arm.tar.gz 110987487 BLAKE2B a89faaf60cb7be961759bdcff81bb4151c879bf89e4b6b51016fb2501ba3c961074d1a834b8172086d5f3b15e7e96822f5393446dc81b2032766eca83478ec7b SHA512 c1a14372a732a4062a07894cc094f33daa6381814f19ac444cb60e31cbeeee33b1aac413e391cc3bd3d4aade0474fd8d0a93319e64fe652781b905e2b20d04cf +DIST vscodium-1.84.0.23306-arm64.tar.gz 122742053 BLAKE2B 5fdb61dd123ee369f082fb5129ae4164c84001ff825f9e1f88e5809c13fa9fa4dc0626f139447d4c4775c942a9473c0259a28f642af601e306d305a9724a2cec SHA512 385c7bed64131d6721435e27b9e5d858b7aa09edcaf08f2fcf71988370b042f42005180c707259e5705afe0c7cfb5e8d14034e43bb7e71f1ef3ef29039db5427 diff --git a/app-editors/vscodium/vscodium-1.84.0.23306.ebuild b/app-editors/vscodium/vscodium-1.84.0.23306.ebuild new file mode 100644 index 000000000000..78e14ca15c70 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.84.0.23306.ebuild @@ -0,0 +1,115 @@ +# 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-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" +} |