aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@riseup.net>2021-05-15 17:22:26 +0200
committerMaciej Barć <xgqt@riseup.net>2021-05-15 17:22:51 +0200
commita240c66c0e9478b31a44e02d0584559bc8ee8883 (patch)
tree0fdd278e1bd99a8262236a4263381b38448e8b2d /app-editors
parentgui-apps/wdisplays: Change upstream developer and version bump to 1.1 (diff)
downloadguru-a240c66c0e9478b31a44e02d0584559bc8ee8883.tar.gz
guru-a240c66c0e9478b31a44e02d0584559bc8ee8883.tar.bz2
guru-a240c66c0e9478b31a44e02d0584559bc8ee8883.zip
app-editors/vscodium-bin: bump to 1.56.0
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/vscodium-bin/Manifest3
-rw-r--r--app-editors/vscodium-bin/vscodium-bin-1.56.0.ebuild102
2 files changed, 105 insertions, 0 deletions
diff --git a/app-editors/vscodium-bin/Manifest b/app-editors/vscodium-bin/Manifest
index 59bc8282d..933601641 100644
--- a/app-editors/vscodium-bin/Manifest
+++ b/app-editors/vscodium-bin/Manifest
@@ -1,9 +1,12 @@
DIST VSCodium-linux-arm64-1.53.2.tar.gz 103889450 BLAKE2B 12d62008e59cb0735f16cce47c712f732d50c68aec57efcae08effa0a2fa31055103bc361ba8c39309478aa64b655d8493babb6dded28858e97e4cbd2b11fe84 SHA512 109dc4e5bd41d93ca0b751c6c25a2a30feac7b5bb89bd17d47dd8cd8611285355b309c44cbe7f166465c96ab35a2a9b7fc8b593933bb18dda33a45044f48fd87
DIST VSCodium-linux-arm64-1.54.3.tar.gz 107389829 BLAKE2B 32b420212a572ae47a045b6a4dfafc5ebc8f412b79209cf7e339457e7e841bff874cab1eff69dbb9c00cebd750bc0ab76979978c702108480a28a01cdf4278f8 SHA512 79970167db09dbf4f986c488c44929c5f5f8da21634a5b9fcc5676d04c9302946e4cd54b295560b95fa56fb3aef424a11140d53b597e8ebf2a90a0a34aa44a13
DIST VSCodium-linux-arm64-1.55.2.tar.gz 104776830 BLAKE2B 3cca6fe615c60087b3ce3ca204dbf80d5966c0905ea74b652cc283bdb81085845c32b3d155c1970107862e7506216d27e80b0a17f84dad1b0537d907a93a9831 SHA512 60f7e2758ead186fa435fc43b9e2a2b926f75bc819abc420c1bfef092fb92831b53336dd0893dca50cc1b1236bb1377bf77b8149a3a9048e3e9d118132a211c2
+DIST VSCodium-linux-arm64-1.56.0.tar.gz 113355897 BLAKE2B 84546b1b24c33669e88707395f6eb613cbc7834208f6913f76e8edb7bdf6f4c31ff957474952d9d15077f57d71d8305ae1107f901dc7ff2f2cf918b997e3e115 SHA512 c5e0f59b84dd2ec26bf845d71d09b0bbb411da309a3f1fb6f02caf096f87c659497da6342267639bdf36de6b08ca3a7d1c75cbead54482498f828a5bf9f6522d
DIST VSCodium-linux-armhf-1.53.2.tar.gz 88825934 BLAKE2B 97502ce2cf5a08bd2c989e7b933d95baad0d1b6a193d7affb8245c73a33a2d9c99594ab06f3643a1dc8ffb78ec53578265301bd4529448d1144d9a53976b4f06 SHA512 4a2c824e21a5ec486d08bedff4a67efa853e0b89a2ffcebe7137b7d8c37b565c5acb7f60faec279dd2f7e00348f1363544cfcda7e628f57adbff4d4ee14c4292
DIST VSCodium-linux-armhf-1.54.3.tar.gz 92332075 BLAKE2B dc040e01b7527daa5fa93cc87b62f075146d00798ab4a947097eb2fa7b4807be73a7ee376a6cbb6f53bce6612cde6da602a4139751d33be7375f5ec410693f54 SHA512 a7deac6f62b902917a31161dffe73f9b33b79e6515e1f9bc6c04258f1f953535d6ace3f381ede89b1f85607d3b88e77b204ad06392b1e1a98f6723927b2cbb5a
DIST VSCodium-linux-armhf-1.55.2.tar.gz 89723577 BLAKE2B c83067fab7cc61422e2310be568bce625ee5de9f9318987a08408a2ccdc8746d90ef4b2d8a76e8a80599e6bccaed4b096c97c83bd42d833aef4af7063fbce757 SHA512 cac16dd43eb876d475ff058075b3c5b490ea06b9f83c2a1871b6dad6b1d782f453e6b8a77df93c4863be34f34e04811754656946fd8649ea4cd4605f29745ab6
+DIST VSCodium-linux-armhf-1.56.0.tar.gz 96680915 BLAKE2B e11a1b7788b148c9f1a8d0268f6b2f593f169197d051df747357dffc0e01be19b5f3765a8177f0c11e4c80febd2bbf4daaa083a8b053fcb44d8adbd59d1e2e11 SHA512 ecfcd9faf0cd17801ae809518a59cc0855f064ca96e6adc9e720821c0fe7d3be185c38891ce1d91c6ffb5298e714ad806f173747727d9c143d4559e6b5861d79
DIST VSCodium-linux-x64-1.53.2.tar.gz 99377369 BLAKE2B 5a33fc4fa099736a053cb27741841cce6037bab486a09b4f130333ff67858e873bbe962c4a775b440d1586f29b1f4edc0a27caa713aab69aac2fdd226ffb9a17 SHA512 47ecbf45820e54e49e3bcc358bc07c1ec0c5d03e508ef71cf132be85e0316ee75f41afdc5191a096e9ead27e53a5b39fbe55bc1a9aca15e67e2c17f11edef43c
DIST VSCodium-linux-x64-1.54.3.tar.gz 102894738 BLAKE2B 5709828dc3edd8cd53a1031b2c46e29228af96b646e0438095d51f1508f6ec6a54b2e195075903db71dffde0f5d7ce99b572357c823c1a3c4ba19ca367c70f73 SHA512 be5a56d3d675ed585ec719a2cf98e70a485fc262b0a37ee2f1245c4e301465b28c4fa5242a624fedea2a7202070031ab864b4cbdcdcfb118faa8c746c53c3dd6
DIST VSCodium-linux-x64-1.55.2.tar.gz 100272283 BLAKE2B 66394747f7965e79f32eecdbb25365cc21b14d8f8c896e0d78c00d5119953f67a22ddcfa50b232e34cad3b411a46149165f30a0bf667a29b9298a6dc3e1a55a5 SHA512 668c9593d8a76605cf7479d2e6fb36704c6e9ba38c3ed82ec5ce158b9c91689003f9fe42943c76eab0075ec0cee69a715431f588d9b689f32c838ee40cd47c68
+DIST VSCodium-linux-x64-1.56.0.tar.gz 108030620 BLAKE2B b354b50e33fc0fc0cfff625d548746d9fda2a49d35911c4a63a8e8654b8ae8e77ba4e1fe76f78ae8396544d3821030088e7ada256e022d86ab4dc4152824c3ff SHA512 1f0673b046c825cfc4b47f9e1834dff7f2841fa0745eb322988e01ce156c87f7c10d9aeafd1ab5773c567d68e3f306899193e7af8a912f6e8357c50aebc67e69
diff --git a/app-editors/vscodium-bin/vscodium-bin-1.56.0.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.56.0.ebuild
new file mode 100644
index 000000000..63e77f890
--- /dev/null
+++ b/app-editors/vscodium-bin/vscodium-bin-1.56.0.ebuild
@@ -0,0 +1,102 @@
+# 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
+ )
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+IUSE="libsecret"
+
+RDEPEND="
+ app-accessibility/at-spi2-atk
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/libpng:0/16
+ net-print/cups
+ x11-libs/cairo
+ x11-libs/gtk+:3
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst
+ x11-libs/libnotify
+ x11-libs/libxkbcommon
+ x11-libs/libxkbfile
+ x11-libs/pango
+ libsecret? ( app-crypt/libsecret[crypt] )
+ amd64? ( sys-apps/ripgrep )
+ arm64? ( sys-apps/ripgrep )
+"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="
+ /opt/vscodium/chrome-sandbox
+ /opt/vscodium/codium
+ /opt/vscodium/libEGL.so
+ /opt/vscodium/libGLESv2.so
+ /opt/vscodium/libffmpeg.so
+ /opt/vscodium/libvk_swiftshader.so
+ /opt/vscodium/libvulkan.so
+ /opt/vscodium/libvulkan.so.1
+ /opt/vscodium/resources/app/extensions/node_modules/esbuild/bin/esbuild
+ /opt/vscodium/resources/app/node_modules.asar.unpacked/*
+ /opt/vscodium/swiftshader/*
+ /opt/vscodium/swiftshader/libEGL.so
+ /opt/vscodium/swiftshader/libGLESv2.so
+"
+
+src_prepare() {
+ default
+
+ # Remove libsecret (controlled via USE=libsecret)
+ if ! use libsecret; then
+ rm -r "resources/app/node_modules.asar.unpacked/keytar" || die
+ fi
+
+ # 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"
+ else
+ # On other arches we don't unbundle rg, so we have to make it executable
+ fperms +x /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
+}