commit:     ed0f83539b35c7f5a763f2fe15fa2832438ea8bc
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Wed Feb  9 13:39:33 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Feb  9 20:20:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0f8353

app-editors/vscodium: version bump to 1.64.1

Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-editors/vscodium/Manifest               |   3 +
 app-editors/vscodium/vscodium-1.64.1.ebuild | 113 ++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index 7e928a4247ca..167f352b3833 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -7,3 +7,6 @@ DIST vscodium-1.62.3-arm64.tar.gz 112387259 BLAKE2B 
cc063392c4531269c0fbcbbda289
 DIST vscodium-1.63.2-amd64.tar.gz 114325091 BLAKE2B 
2d05da02b67c52ec151611ef159f6c1f26f920c990e770630fbf59614f2f7982b3157855abc802b876ed49f513dc87ea387c39078c78375a59fdee0c276786be
 SHA512 
13d309ac1427db6e924d667eb4f66c690f2bf26ae1dc307c22d76aceef5e1a997d57dd0f6458b40b7e0c88babe7bd3fe85b0efc2849aa672e8dc006cb09bc337
 DIST vscodium-1.63.2-arm.tar.gz 97849895 BLAKE2B 
eae617edfe6bddeb4b4795c668006ffa299dca2cb22d92d1611a51e599993ad0435dd975faa408e169bec4fe0fc87c19702850de6dee2bee9c5339211e2afa7a
 SHA512 
8f24876638f6b784fe08e53682e076c3fdfeee73971ab2f9657de5827d8bff86bea83c48e5d5e571e1a08fd184bc8b4937e90b51eb9679799f5c76868d43704e
 DIST vscodium-1.63.2-arm64.tar.gz 112417892 BLAKE2B 
08c44c7dfa75c11f548e1b29b621352a6054f8caed33d8456fcfe722b41283a4986167ff507055f284cb3202508754752412af005fcd8bd4fc405a7d124664f1
 SHA512 
cbf44d86ced1b48e1d5d17b8c77713e8c9a2bfc6cf8a4029b12ee382c42fc8ebd9cd2d79daf4042de23c96f47e08241c1b93e1f9eba0a0a962d8212c3b84ebe6
+DIST vscodium-1.64.1-amd64.tar.gz 113589381 BLAKE2B 
445b1312faa9f2ee7916937745658cf5a529b2507be069bc8d428898abd3edcc0f2fbc8835a1692a9f61431c491296c2e29acea9125ab9ae483630af0befbddc
 SHA512 
b51febd8baadbff23aeec63a810795c908e86a41b00b48140823f8f334cf59f31725c90b19ce8cfe746f8a241b18e062cc605e6d229c7b351eb9d9cd8b93030b
+DIST vscodium-1.64.1-arm.tar.gz 96571329 BLAKE2B 
7a4df99db5ce47e4a130e88df1a680a02d3ab1c81490d6c4b3579570003d6cec9eb124f3bd1b31023718e0c605a3796d55156e74edccb11094dd69b6df246402
 SHA512 
d99d81c8357e0bda7017abffc641d0c7011a7bcd3b09f4674c98f6fabeb0c929edbed08b24dbcb39a15644424c5ce42ada36f111ba46473331c5d6b64d94e071
+DIST vscodium-1.64.1-arm64.tar.gz 111165669 BLAKE2B 
064d6e4e3d242e6cbec5e3f49935d1922692177fcbd495b91a0c606f1001a92491863292fcc25a408ef4a5f56f78aba678ab0584d18e0e688536ebd406e22ed3
 SHA512 
558d96011ec0dcbb1b93daa49ccaf3531f17255f6fad89d5166ff885a5635bc156ff5a456bdc628dbb61929f661a1e243d63626b771f4634a21555974e870199

diff --git a/app-editors/vscodium/vscodium-1.64.1.ebuild 
b/app-editors/vscodium/vscodium-1.64.1.ebuild
new file mode 100644
index 000000000000..fa9e88353987
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.64.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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:2
+       app-accessibility/at-spi2-core:2
+       app-crypt/libsecret[crypt]
+       dev-libs/atk
+       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/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/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 755 /opt/${PN}/resources/app/extensions/git/dist/askpass.sh
+       fperms 755 /opt/${PN}/resources/app/extensions/git/dist/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
+       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";
+}

Reply via email to