commit:     7ebd5df9ddd7e4e8c53f385eed97c9be4141f94a
Author:     Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Wed Mar  9 09:28:51 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  9 18:26:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ebd5df9

app-editors/vscodium: version bump to 1.65.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.65.1.ebuild | 113 ++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index 2a512cd0ca15..234697a4f3d2 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -7,3 +7,6 @@ DIST vscodium-1.63.2-arm64.tar.gz 112417892 BLAKE2B 
08c44c7dfa75c11f548e1b29b621
 DIST vscodium-1.64.2-amd64.tar.gz 113590369 BLAKE2B 
0e222e126d099e4af446c1c229f1ef7967b6836b6f4e85a440adc768b3bd7662a710e23d4f3da61ed9a45adf328805876fe20012e94f97a9fd92cbc89704f425
 SHA512 
45c7a22c499abbdae8305e241533f99ecc48d504c73ba1a43a669ba8aafad8aac60e1383e45882ff4dff7a97b232c172e0b3d89def00e85fc1d37e209d80f162
 DIST vscodium-1.64.2-arm.tar.gz 96564908 BLAKE2B 
5e8b974e179639231cfba996ff9a4d0203e597f1be0b58766f9f532516e4a8d0eca390a90f2366f5db66a8d12b64f72f301490f07d01ec6b5c66516ad26695f5
 SHA512 
b2e986ca7ebc021bd147a0c9fb3cd46833f5b65e01ec07bf26d577cca35a6998666409ab7c0bad5351de3c5d7e5e9c91d029d6b05e149261397d183ac06d57ea
 DIST vscodium-1.64.2-arm64.tar.gz 111168123 BLAKE2B 
015163f9129e95cce5cb4df255cfa4bd69271362ba3782ed234e982ec849490cc4e15f8e8ed1dd1d942fb908026d93010f21a902b3c10b036e2a926d82893dc9
 SHA512 
7507080e2ac7bd4649fd87a52480900de229fe3c93df26d381ca34b472ddaa38852b5b8d14f06d4c9ee07d8f2fb3381b63c9c25b7e384d0da090e10a31f77df1
+DIST vscodium-1.65.1-amd64.tar.gz 110792660 BLAKE2B 
d00ddadd32799fd907bc414d9a71272c7c6e5919d480639dfd8bc5ffa8d4bf87b774df873be01305ab72925f69fdb436e131f79353512e465b2ab58496923c82
 SHA512 
7ff15ad83a8e26aa0cb518ed0b23dd73f9796f5edc0f4146f4b11939aef7e9f5d79636215315c5799ad885d8113dea07796a15913c75ca28319f4e4a3f552de5
+DIST vscodium-1.65.1-arm.tar.gz 93770006 BLAKE2B 
9c497360da8bdf7350ff38a0f4df4a75919cf92bc1917d0b60d8bb76bf1838fdd0a8faa3f83ca4125055ee3c1051c4a0a67aafa63798d930abaa4603040a4239
 SHA512 
c0c73063326ad59f87b9d64042efba887c72430e90786e663af330231079b14fba9aa1e16f0ba1f351a9b58924445000c77b3a4229f4ab217ffee0948519a294
+DIST vscodium-1.65.1-arm64.tar.gz 108368235 BLAKE2B 
c5f1b29f494bf16c931c3a6c4e68c81c73c16479e5cf4075a8356dd87c04c806971c7dc3f12df26eebcfcfe48fd5d6c68d6ee483ff4bb429d4b192eb54357a13
 SHA512 
c523527081f29e6053ac700c5c2ab9bc2b9c2bed59a93361b92b375254ee0c09e46a73261b03e37fd75474f536ad70b06cb63900d6c4151d543556e5648abaf6

diff --git a/app-editors/vscodium/vscodium-1.65.1.ebuild 
b/app-editors/vscodium/vscodium-1.65.1.ebuild
new file mode 100644
index 000000000000..bcd5b8fdae5d
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.65.1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2022 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