summaryrefslogtreecommitdiff
path: root/app-editors/vscodium
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-04 15:14:18 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-04 15:14:18 +0000
commitf5f1e7d30401ef31b8776c96a80cf5caae0a4e81 (patch)
treecf79465586b83d032475fad7f33894f6cf4efd1f /app-editors/vscodium
parent0bb8253b38dc8638a46b66ba909c1bfd1054e1ef (diff)
gentoo auto-resync : 04:11:2022 - 15:14:18
Diffstat (limited to 'app-editors/vscodium')
-rw-r--r--app-editors/vscodium/Manifest4
-rw-r--r--app-editors/vscodium/vscodium-1.73.0.22306.ebuild121
2 files changed, 125 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index 0c889f46628f..f005a0f9853b 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -11,7 +11,11 @@ DIST vscodium-1.72.1.22284-arm64.tar.gz 112752546 BLAKE2B 897b15f8ce4cb36c2ff32a
DIST vscodium-1.72.2.22289-amd64.tar.gz 119678278 BLAKE2B cac30b199b729c7b1c5714671ebba8aa6ea18544bf8c7402cd78f7741be62ee09a2960eb2ef454058a1235e3a50b08471d98400eae3b2187672ea3cb771b3fe3 SHA512 999759e28ae8d388753f41b1025cdd5e0ee3fe0a58121529ea65aa8f07da9d6cd9f4a3a0fc5e577a296a97df087e321c47c3d4d87f78722deb68822388eb9554
DIST vscodium-1.72.2.22289-arm.tar.gz 101721510 BLAKE2B db6aeb776caca658056ce14f8d63a185853f0836aa7922e7f73cd54fbce77e19b658acb866d524457127f9082fb1a792fa92d41233013941b00088a5e679a66f SHA512 d9f69d2e234126532f1c45d0c0ff0fb7ca8b5ea54db18373e063e098824a7519c6074a9862ae8a9a2beae4697129d816a7509273bbb18da5d8023adccfb6e279
DIST vscodium-1.72.2.22289-arm64.tar.gz 112762927 BLAKE2B 0e1eee14f65eb438f0ecbc51684434512c812fb99b430bf84fd933986471afd80179bfed75db2297a0405d9a8be6d733a835befe328d48800db0e61d4600bb8f SHA512 a6d0c3ab25f94a6d84a1f0dc95d5dc8841d822940e2e7fea04ccfc87807f2d69fd44a74fee671715586b3c282f222d729e3134e482cd9b6c40943e6efbb0c251
+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
EBUILD vscodium-1.72.0.22279-r1.ebuild 3141 BLAKE2B f8f5b25c497036a9c6a9ad5036a0d9fc2aa023999f744fad1031e0f5f337e34018170fe3cc9a8e19f9180dcee7e641b10ef96bc91dc5e86d7e2cfb0fe6e3a8fc SHA512 465df4a73d9f6d1777bf274bd297210237b9ae2b87346f5da03f19104a76a4be38e4cbf669427fb4ccbeaab085daf8c4d3151e899618fb84bf6385f731ead18e
EBUILD vscodium-1.72.1.22284.ebuild 3141 BLAKE2B f8f5b25c497036a9c6a9ad5036a0d9fc2aa023999f744fad1031e0f5f337e34018170fe3cc9a8e19f9180dcee7e641b10ef96bc91dc5e86d7e2cfb0fe6e3a8fc SHA512 465df4a73d9f6d1777bf274bd297210237b9ae2b87346f5da03f19104a76a4be38e4cbf669427fb4ccbeaab085daf8c4d3151e899618fb84bf6385f731ead18e
EBUILD vscodium-1.72.2.22289.ebuild 3141 BLAKE2B f8f5b25c497036a9c6a9ad5036a0d9fc2aa023999f744fad1031e0f5f337e34018170fe3cc9a8e19f9180dcee7e641b10ef96bc91dc5e86d7e2cfb0fe6e3a8fc SHA512 465df4a73d9f6d1777bf274bd297210237b9ae2b87346f5da03f19104a76a4be38e4cbf669427fb4ccbeaab085daf8c4d3151e899618fb84bf6385f731ead18e
+EBUILD vscodium-1.73.0.22306.ebuild 3170 BLAKE2B 229d10766c369e33955575a4edcf76cd8c1877c29a1fb6987031324ee18c1bb0085b5fd613f65cec059475ad711612201fcc77136a92609a4f52c73c4726b4ed SHA512 c9910eacdaa82d10856f9dd180df883cb3a5a0ca57643f56424180ad256da46c3578184d180d36da15381842852c2f0f91cc48fc894e74e4bd17bf503647f5e3
MISC metadata.xml 1302 BLAKE2B ff0c1f72c2394f21e13b89831493df562ca15114fa5006262f794d3f2580deaad01d7e01f87481dcc75cc5044c8b4950955dcc3dbecbc8cfc7a6ceafaf078fb6 SHA512 8ec965d8544c2ab31e3c2f2f3c879b084126880603681fef5e5158af1bc1f2f79351b68284f6a101d486893f968594e1537df1eedeacdebffdf51de7a38ccb25
diff --git a/app-editors/vscodium/vscodium-1.73.0.22306.ebuild b/app-editors/vscodium/vscodium-1.73.0.22306.ebuild
new file mode 100644
index 000000000000..64ee4a6f829e
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.73.0.22306.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"
+}