diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-11-11 08:25:56 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-11-11 08:40:43 +0200 |
commit | f9eadfa39ba3fc8cc87522f49091c8b538e32089 (patch) | |
tree | 0dc3368843e44fecdca4351160a34e014182ef30 /app-editors/vscodium | |
parent | dev-python/contourpy: Remove old (diff) | |
download | gentoo-f9eadfa39ba3fc8cc87522f49091c8b538e32089.tar.gz gentoo-f9eadfa39ba3fc8cc87522f49091c8b538e32089.tar.bz2 gentoo-f9eadfa39ba3fc8cc87522f49091c8b538e32089.zip |
app-editors/vscodium: add 1.73.1.22314
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.73.1.22314.ebuild | 121 |
2 files changed, 124 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 8b46cf4be4fa..270ff1ea88f9 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -4,3 +4,6 @@ DIST vscodium-1.72.2.22289-arm64.tar.gz 112762927 BLAKE2B 0e1eee14f65eb438f0ecbc DIST vscodium-1.73.0.22306-amd64.tar.gz 119821329 BLAKE2B 89da99e0d2f7484d24a0606d80f3208b4ae44db726e094a4db25029e3dc2ad8ccb5c6bb12366ff6bd82b9621926ed8cf1b30d3177a677fa5981e47f8a4f73f45 SHA512 b2064d77055ea18b4cfe9cd445c6c4423b82e453b6e479ed6f3c00855c6690bb3b1796b046c7c59ea838c29e2141e3fcdbb83f3f7465342bce2bba84a9880247 DIST vscodium-1.73.0.22306-arm.tar.gz 101863338 BLAKE2B a635be308af59f567a699a606511d75454605caa9e299b5d854998b8ae537669cdaf79888447484e223fb6d4e56a30ef8f0cddba605f96961eddde1383418fb2 SHA512 882c770fef8940f33de387ebb70de03ba2569e5d89f19ffca4bd079ca9a953bce957ec5650337b9c4b7f30b7fb656b41e69061a147f531244acfa5ba76e3197c DIST vscodium-1.73.0.22306-arm64.tar.gz 112892547 BLAKE2B 81cbaa37d557d2e67eab2857afb08ebdde3a8ffee6814000994fe4c7d9871fbff5d4c57e8f46d70b7b45c70d9910a49f9c45af157f499031a1f6fe0254fbc75c SHA512 b4467bb2d8254f8c7fa51c2ed299a2d38e5c1a92aa6d19a3d268e0ca0c029f48b982ff1aa652a5336e42ebbb6f88bc611bf69bb143112520b1846e6f9a2064ff +DIST vscodium-1.73.1.22314-amd64.tar.gz 119819615 BLAKE2B 5937f0cdb22098eef709c84ca1f9efd9a7af094e8d1a236385d79ccba7499224b7097429b8ecdbb17ee7b879790557fd069bda1094c9dd3a5cd3ae34b92b6e73 SHA512 ab92cdceebbf6352b9c0f882f79d2c3d4c2d7ee301b7942dd703ad02406b9fcec9bdac3eb2c46cc921b21d5170780404f72b961a33a91fcbfa630daa29da7262 +DIST vscodium-1.73.1.22314-arm.tar.gz 101865243 BLAKE2B b414e5a07b8dd1b64e260227abc6771a864c7604161e7df6a7c4ed865fbda8f500f4d0734d0b87e13e6f0a9ea5a5a93ece551c0ce1cc7a320c71b9a12ebc7dfc SHA512 4f1c03941922b6e5e0c8c846a2f9a7435ed697b83006841492d9622901e83b5b39812a6c8c053fc856ec92060bbb0fab3509f34c5dc147cd4a35f651efa79fa0 +DIST vscodium-1.73.1.22314-arm64.tar.gz 112895655 BLAKE2B 78889f118f2c6eccd14a365c7224775ba1e078eb9c65feffc8919493d06e36f4abf007b5596b354eebd1c0ae94cdaa4e11acf0add494d38d82bf334adfc5ec36 SHA512 c7bd117dcbbe03117befe73e112fffd3c754ca921e3b37b3b4fd78b0e1689201c5e7cd39ad206a7dd157565664536d493701bc583d870b28d01d9abd18016e96 diff --git a/app-editors/vscodium/vscodium-1.73.1.22314.ebuild b/app-editors/vscodium/vscodium-1.73.1.22314.ebuild new file mode 100644 index 000000000000..64ee4a6f829e --- /dev/null +++ b/app-editors/vscodium/vscodium-1.73.1.22314.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils xdg optfeature + +DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" +HOMEPAGE="https://vscodium.com/" +SRC_URI=" + amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz ) + arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.tar.gz ) + arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz ) +" + +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="" + +RDEPEND=" + || ( + >=app-accessibility/at-spi2-core-2.46.0:2 + ( app-accessibility/at-spi2-atk dev-libs/atk ) + ) + 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 +" + +QA_PREBUILT=" + /opt/vscode/bin/code-tunnel + /opt/vscodium/chrome_crashpad_handler + /opt/vscodium/chrome-sandbox + /opt/vscodium/codium + /opt/vscodium/libEGL.so + /opt/vscodium/libffmpeg.so + /opt/vscodium/libGLESv2.so + /opt/vscodium/libvk_swiftshader.so + /opt/vscodium/libvulkan.so* + /opt/vscodium/resources/app/extensions/* + /opt/vscodium/resources/app/node_modules.asar.unpacked/* + /opt/vscodium/swiftshader/libEGL.so + /opt/vscodium/swiftshader/libGLESv2.so +" + +S="${WORKDIR}" + +src_install() { + # Cleanup + rm "${S}/resources/app/LICENSE.txt" || die + + # Disable update server + sed -i "/updateUrl/d" "${S}"/resources/app/product.json || die + + # Install + pax-mark m codium + insinto "/opt/${PN}" + doins -r * + fperms +x /opt/${PN}/{,bin/}codium + fperms +x /opt/${PN}/chrome_crashpad_handler + fperms 4711 /opt/${PN}/chrome-sandbox + fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor}{,-empty}.sh + fperms -R +x /opt/${PN}/resources/app/out/vs/base/node + fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg + dosym "../../opt/${PN}/bin/codium" "usr/bin/vscodium" + dosym "../../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" "gnome-base/gnome-keyring" +} |