commit:     3baa9e8a0a603627b26ca8565fd9be988b04d0d6
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Fri Aug 20 09:49:15 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug 26 06:42:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3baa9e8a

app-editors/vscodium: bump to 1.59.1

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-editors/vscodium/Manifest               |  3 +
 app-editors/vscodium/vscodium-1.59.1.ebuild | 95 +++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index 7fd2338bf5b..2fdb0890bb1 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -7,3 +7,6 @@ DIST vscodium-1.58.2-arm64.tar.gz 115052512 BLAKE2B 
d1047b34bf6132f47b7423e35a7c
 DIST vscodium-1.59.0-amd64.tar.gz 110180828 BLAKE2B 
255d5eead47fe5e98d887a9066a968bb59f2e674b273ce9b2b9232eac99c11b0411f68e2bd4da89c9de3fca7496c188ebf087b5dc70e5158c4d1aa876c9795ab
 SHA512 
1bd48d67a8dc0c4f9097abf8f4975823849cbd3e4ac2038c1ea2a2121ccfa189857d3da068e1b07cd6fc36d6009e89d1b21de9f4ea30b02ccbc44355d2a82f92
 DIST vscodium-1.59.0-arm.tar.gz 100782150 BLAKE2B 
afa0b417cd818a2b0538da22600a9277f6bc2052e1707d36575d881742401b16c1b60ea0b6649997f10afe511f4800065955533df97f06f8c4bee4ff47357795
 SHA512 
e537f296581f30b7ce0824ed0549e68947cbac31f1c082b24d7f96d9fb8f014f38257e6d94c11d4e3342fe3b26a620ca3f38254644a3e1af9437ddf11cd7c016
 DIST vscodium-1.59.0-arm64.tar.gz 115352552 BLAKE2B 
64843ceb0d366d3f942dc2a7dc8ac463169c41b3212f5575271ed84323e91d364372f5aaddb0394abcf7b5dd0f14fa1a24cabcc8b356dc63a4862f6193d3b704
 SHA512 
8a02818cffe3627b0a6846289b2b0baf34e3e36ea3f5bdc1a8166f2a6c47c1ea965fc280ce633b5ef629f64d6f90cc3826156c143a2e066a31bd9255677fc1a8
+DIST vscodium-1.59.1-amd64.tar.gz 110191208 BLAKE2B 
e7cc44d690fb0f3c25e0ef39198784ac651bcdc13e84918d44fdfb99b48d918dae8a1c7b9129b482cbe34e98a26bd44d9eb47d5df5daf73fdcffae7b5482b506
 SHA512 
401df889b5dea5c045fccb3d93fa5f5bcfaeb162977e434498e7600f67efb877c64effac7371f29f51e297c713640df2cad1f4db9540797f7146608e4d8f530b
+DIST vscodium-1.59.1-arm.tar.gz 100781835 BLAKE2B 
36f463f93b03afc9a191aebaf96cc6eb9c43feb0274a167cca6a983d85381821e10c9cdcba3f384a09d431bb3c4b55fcdd248b9ce93614ac3ddf2129c80f6f87
 SHA512 
3df672daa85b838bc45a4cb4da3e9001a008ff66ce469f6b9f25d066bdbfaad951f4e8e392cde59fa90024d3977f707b2c5d1d079797803caa538ddc56133b73
+DIST vscodium-1.59.1-arm64.tar.gz 115349031 BLAKE2B 
9762a344b490ea0278cbb36e0f27a5d62417b8b356b08c62bc1577a4c959f5c65997676a4c8555832bd62ec6af4c3ce253a1c277881cf0430e0af15d56071201
 SHA512 
b47c2718889cc6bacb79fd73e3e4090a94078768992ca0bb2be77030266d547ad8c8d884deaa7d3925e4c94e74ed3bda8a5fca678459dfd6e64c3d2a752ee9c0

diff --git a/app-editors/vscodium/vscodium-1.59.1.ebuild 
b/app-editors/vscodium/vscodium-1.59.1.ebuild
new file mode 100644
index 00000000000..ce542357645
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.59.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop pax-utils xdg
+
+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="mirror 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-atk
+       app-crypt/libsecret[crypt]
+       dev-libs/nss
+       media-libs/alsa-lib
+       media-libs/libpng:0/16
+       net-print/cups
+       x11-libs/cairo
+       x11-libs/gtk+:3
+       x11-libs/libnotify
+       x11-libs/libxkbcommon
+       x11-libs/libxkbfile
+       x11-libs/libXScrnSaver
+       x11-libs/libXtst
+       x11-libs/pango
+"
+
+QA_PREBUILT="
+       /opt/vscodium/codium
+       /opt/vscodium/libEGL.so
+       /opt/vscodium/libffmpeg.so
+       /opt/vscodium/libGLESv2.so
+       /opt/vscodium/libvulkan.so*
+       /opt/vscodium/chrome-sandbox
+       /opt/vscodium/libvk_swiftshader.so
+       /opt/vscodium/swiftshader/libEGL.so
+       /opt/vscodium/swiftshader/libGLESv2.so
+       /opt/vscodium/resources/app/extensions/*
+       /opt/vscodium/resources/app/node_modules.asar.unpacked/*
+"
+
+S="${WORKDIR}"
+
+src_install() {
+       # Cleanup
+       rm "${S}/resources/app/LICENSE.txt" || die
+
+       # Install
+       pax-mark m codium
+       insinto "/opt/${PN}"
+       doins -r *
+       fperms +x /opt/${PN}/{,bin/}codium
+       fperms 4711 /opt/${PN}/chrome-sandbox
+       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"
+       domenu "${FILESDIR}/vscodium.desktop"
+       domenu "${FILESDIR}/vscodium-url-handler.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";
+}

Reply via email to