diff options
-rw-r--r-- | app-editors/vscodium-bin/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vscodium-bin/vscodium-bin-1.53.1.ebuild | 75 |
2 files changed, 78 insertions, 0 deletions
diff --git a/app-editors/vscodium-bin/Manifest b/app-editors/vscodium-bin/Manifest index 86b8d22af..d805c6557 100644 --- a/app-editors/vscodium-bin/Manifest +++ b/app-editors/vscodium-bin/Manifest @@ -1,6 +1,9 @@ DIST VSCodium-linux-arm64-1.52.1.tar.gz 99006948 BLAKE2B 933e5b283e011873b7da60a838e7778d8ff1cf69006e5bf370fdeba7aa6709c2b8ea427936d353c75c0331d1a78defb7c0983d73d59c71163cde6ca32cf1ac32 SHA512 e96c79b1176a07f6cbd1a1d30d4a4d0d66d519d854bc0aa0e24e9baa4b0f6fe959e12b4888330188210957763febc644601f958b635deaa7e900f55f0eb5550f DIST VSCodium-linux-arm64-1.53.0.tar.gz 103943330 BLAKE2B 0a21141faf6d36a7021714f53bf3ccda09e747bf493f0beb4e28e62a33f29299ef5705231069741579be5748144e4d597e818935cef883ac0d34eb4be9501c5e SHA512 fa0373ca303a6a03cf6e0b9dab6d8127b58e9f3dcd6363b99c401206726cd9eea3ac7b9bca37cc25ad388b4c4333679591bc93a19494ffc07d29172117967835 +DIST VSCodium-linux-arm64-1.53.1.tar.gz 103872235 BLAKE2B 6c6cba021047f7e52b2dbfe754e4835ac2948a2bbdd56844d801a10fb97be421a6f411ebe5c619b5ac7dba66e4df785fdf133ec058d914c60befe825e314ea1b SHA512 40362151925df2be4ce8e71d7288fe3f7186e94b96904095a1b2c19a3643b911f86f289b3ff2c35749fe8a760fcfc272200793da2280ee1a37b8aa3ab335f1e3 DIST VSCodium-linux-armhf-1.52.1.tar.gz 85288104 BLAKE2B 3df56d4708f44e5029a9cfed05185957951ead696885f16e8d3da8587f812f9e088e37e2b355157989a0e272661f367a1bd2d70cfbc7953a1f07f166b7b8292d SHA512 ffd5b2b476896d4aed67ed0bd157ca14819f493534c9e15eba247998becb06042c6c0caa88ee2db7e76529da252dac57c43c86371430b57a5819ce392cdcdcb5 DIST VSCodium-linux-armhf-1.53.0.tar.gz 88824725 BLAKE2B 1664b45e747eb288788b7ea7816ca26e6ce28da6bb73929ba81d68a1d646a950312f1939dd0bdf2919bf0cce4de3fed00538c448724412077aa905eecaf38068 SHA512 44112551c22b591f326eb2fe1f1fb53aafdb3bd9b8e987494cf0dd2f2684d0e10841e0e5f7f148581c0f0d87f725c496de9198b7859692ec32a92d33b8160367 +DIST VSCodium-linux-armhf-1.53.1.tar.gz 88817109 BLAKE2B 62774e0597fd318451deca29edf1b8c85fc25b2b039298129a96b75faffd50c1c263ff22bcab7ae3c445b90fdf39f0830ded6f176fb504eb9db28b09bbc68aa4 SHA512 ec8832656133e224da6bc100a06eebb3c7613026c6f558817f422ccbe44e7f6721a650cf4fc985ca74f5ca9b7b28fb48706d3f74bfd3dff69875ce58639126b9 DIST VSCodium-linux-x64-1.52.1.tar.gz 96026417 BLAKE2B 0d06ddef0de3af3d22de4757bd5b81742cdfb6605192c61374857fdacfd8df374adf180aaa1f31f0397ead97e7f668320125ef1f806c71689348ac4a3c8bab8d SHA512 9a60f6821e7a796eaca842817fd3853c8099d74418ccabeacabed01c4f7b46b49c52bb11a032c317c27e3cef7ef2c49d2cf967ca2d2d79013790994a6aa9159f DIST VSCodium-linux-x64-1.53.0.tar.gz 99375183 BLAKE2B 451a49ef357d4a23b419e2d3d19c0215002f2d722cc05e0461d189c942200954f9064989d60770e1bf95c8c86153d4b833918587e664836696d96ea640531144 SHA512 36964c259ea826729ddd8993e88580dfcf54301bd103c9656f12c7cdf3fe5f815ad324779cdb0615a6d259935bc58a787426493790a72619575aaa330a779198 +DIST VSCodium-linux-x64-1.53.1.tar.gz 99374765 BLAKE2B f99bef342689e718df8c2f79f8429383653816c71fef59fc2b4d048860efb8bb68ebc40bb052ce56d86e150e3dbfc4cd600b6bbf54642df888e7da77969067b1 SHA512 0911b512da2deb4777ec7e11f4e8066b184331218b00c3c54f785be5acfd139ef8e68140da36842dd8afc4563b7c93127382d2062e79b317c9d1d74ad9bc6834 diff --git a/app-editors/vscodium-bin/vscodium-bin-1.53.1.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.53.1.ebuild new file mode 100644 index 000000000..862b3ce54 --- /dev/null +++ b/app-editors/vscodium-bin/vscodium-bin-1.53.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop pax-utils xdg + +MY_PN="${PN/-bin}" + +DESCRIPTION="Free/Libre Open Source Software Binaries of VSCode" +HOMEPAGE="https://vscodium.com" +SRC_URI=" + amd64? ( + https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz + ) + arm? ( + https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz + ) + arm64? ( + https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz + ) +" + +RESTRICT="bindist strip test" +LICENSE="MIT" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64" +IUSE="libsecret" + +RDEPEND=" + app-accessibility/at-spi2-atk + dev-libs/nss + media-libs/libpng:0/16 + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/libnotify + x11-libs/pango + libsecret? ( app-crypt/libsecret[crypt] ) + amd64? ( sys-apps/ripgrep ) + arm64? ( sys-apps/ripgrep ) +" + +S="${WORKDIR}" + +src_prepare() { + default + + # Unbundle ripgrep on amd64 & arm64 + if use amd64 || use arm64; then + rm "resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" || die + fi +} + +src_install() { + pax-mark m codium + insinto "/opt/${MY_PN}" + doins -r * + dosym "../../opt/${MY_PN}/bin/codium" "usr/bin/codium" + + domenu "${FILESDIR}/codium.desktop" + domenu "${FILESDIR}/codium-url-handler.desktop" + + fperms +x /opt/${MY_PN}/{,bin/}codium + fperms +x /opt/${MY_PN}/chrome-sandbox + fperms -R +x /opt/${MY_PN}/resources/app/out/vs/base/node + + if use amd64 || use arm64; then + dosym "../../../../../../../usr/bin/rg" "${EPREFIX}/opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" + fi + + dodoc resources/app/LICENSE.txt resources/app/ThirdPartyNotices.txt + newicon resources/app/resources/linux/code.png ${MY_PN}.png +} |