diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-04-06 10:35:14 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-04-06 10:35:33 +0300 |
commit | 8675cb720c0371732accc7c78b41fd010bc0fb70 (patch) | |
tree | 1f829d5d4921caa263cf6d6ce99df31f61bcb65e /app-editors/vscodium | |
parent | app-editors/vscode: add 1.77.1 (diff) | |
download | gentoo-8675cb720c0371732accc7c78b41fd010bc0fb70.tar.gz gentoo-8675cb720c0371732accc7c78b41fd010bc0fb70.tar.bz2 gentoo-8675cb720c0371732accc7c78b41fd010bc0fb70.zip |
app-editors/vscodium: add 1.77.1.23095
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.77.1.23095.ebuild | 119 |
2 files changed, 122 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index 82a6b532c8bb..73bb7881bc53 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -4,3 +4,6 @@ DIST vscodium-1.76.2.23074-arm64.tar.gz 113874910 BLAKE2B bb517ac6b7d41a392fec67 DIST vscodium-1.77.0.23093-amd64.tar.gz 111008654 BLAKE2B b53d8c9c27b05244a6b52bc9cba0daf79f405d3fd9ac05b954fc5d1534758c5e05298dd7d6d4a474e806932a5921e7049de6ea32824a6f3fdd27bb08cdbe73a9 SHA512 148002f0a0467c0f704c268738994f16ca4f85efbc7ef1bb87f3f5b2c1c14f47487d1ff3e188963c1cee3e72f99a5de8d5a5d20fd19fd5466c809cafb22d4838 DIST vscodium-1.77.0.23093-arm.tar.gz 100637834 BLAKE2B 29e696742ceb83a9620740ca17a5cb1d0b58bc47147f1882a843f97aff29d8c9606df6e8e25dc3b09e699b1c8b4b2844efe871726b6bff40e1f50589d4620d74 SHA512 5a1a42901e98892ca1db28b914531c4c83bc5be6e4d7ddc950d1f04a4f3b6ae555b36e864a2ab03a41d850adc87b376f8637842dbf64d02b021953aec0e2d470 DIST vscodium-1.77.0.23093-arm64.tar.gz 111842188 BLAKE2B 38a671476162a63124268c71e32ab3dfbcb43f77daab69491a6c88d436e03684a7c4b5b0ba55823175f31163821237dff1b72cc8706d2aa977ad291f2af04e64 SHA512 139cd1cb5b29fb7c8c7d0c4c51c568ad9ae738be7bea603455178e8f960ce88d473583e312d4ef710897317af02fcf6c92415ae2e8ceba271b68616bab49039b +DIST vscodium-1.77.1.23095-amd64.tar.gz 110994738 BLAKE2B 239e10f4523833909739852e776ecf3dc17f630e91b7d3a37c0789790c6c31d0b6b51e665b0bda80b233940ee6d63cea82611893550af680a5c5e9552288bf7b SHA512 59a8449e46cde8b973d3bbbf50c2d82c5abf8734575f4b9c9f61879cb862e298eab7639b06e52367083a3cdfc55394fc3d5cbe4505bb923b0688404e4351a08e +DIST vscodium-1.77.1.23095-arm.tar.gz 100602248 BLAKE2B 6d87450074fbe85ccb20905b253d6b844c14d42c291166db95a4930a2e630958a078569cc7629a3af6893eea63323b1c841e4d733628c6b9a9073255412719c0 SHA512 f5146cacc51f7a68282d5c378568b7912d3ccaacf2909fa58db35b41db91b52c9af68cca9ea58e05725b0bd45f13cb6eeeb70a14af7ca04cba4348494d5e703f +DIST vscodium-1.77.1.23095-arm64.tar.gz 111826114 BLAKE2B c13aa8de9f5b02bc220f441bde2b8b4471073efc3d668056a73488bb2b1cd51742ac1c9294e5502cadf3310a2527218ae85b87a1dc75f870edb243c5997a62e9 SHA512 6d6fe3b7f23190e305b088f0a7699fb2b847778b2181f23aa115c29c45b00de7d67fcc8cbf554da3c481baac7f7539a85c040b97ba0e39a42cfab1331bff180a diff --git a/app-editors/vscodium/vscodium-1.77.1.23095.ebuild b/app-editors/vscodium/vscodium-1.77.1.23095.ebuild new file mode 100644 index 000000000000..5c5cdb4f3682 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.77.1.23095.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2023 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-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,ssh-askpass}{,-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 + fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/node-pty/build/Release/spawn-helper + 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" +} |