commit:     2c131017648e3182593cd33a7eb62bd1a172cf8c
Author:     Matt Jolly <Matt.Jolly <AT> footclan <DOT> ninja>
AuthorDate: Thu Aug 12 08:27:20 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug 12 11:56:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c131017

app-editors/vscodium: version bump: 1.59.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Matt Jolly <Matt.Jolly <AT> footclan.ninja>
Closes: https://github.com/gentoo/gentoo/pull/21940
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

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

diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index 94641de34ea..7fd2338bf5b 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -4,3 +4,6 @@ DIST vscodium-1.57.1-arm64.tar.gz 113062013 BLAKE2B 
8befda9f99183097963842fd86e5
 DIST vscodium-1.58.2-amd64.tar.gz 109733827 BLAKE2B 
0ada13724f2d4255a9ce58d0fd47415f2f5b4adfed144dae884914888df1f9bb735472e378fc2d4dd74fd1168c3361ad4e945a48607aeb3e095658a7b3e0df2c
 SHA512 
dd98dbd88e64e526f78624e2e42bd116a689174d801412f7750c895794b0658b20b9451d336d0837f4030c11ce35368fb3dd0ade078bac393ada813c912a9a8d
 DIST vscodium-1.58.2-arm.tar.gz 98395232 BLAKE2B 
74bb7a07f9d6a9f107cd74a1a593e7770d67d1f0b2e4b809dab420c8b17fe3902a05a26caf59e2474afdfd01a2d65b0889f2d4298cdf512cfa44df8321a8e65a
 SHA512 
58a08f2a5be9c42410772b97d5456d75044454ace5de92e03ac5bd7ff2dcef284e1e747869752f548bb1237e248981e06a9f9a9b6be99f8e8a50cf52fe6dd2c4
 DIST vscodium-1.58.2-arm64.tar.gz 115052512 BLAKE2B 
d1047b34bf6132f47b7423e35a7cb92b98cbac782db1a086c068d0bd60fcc59c16852f18451ac860c8e8940fce08e6e7671fed3db3e19f7c80e34411865c7b5b
 SHA512 
d34b53f9679006c30f2f422a8311a336eea778995fc8dc7cb0c24ecc02c88bbb2cd442f426fa88afd78f7175c16ce6c9f912eaa900d76fa25081824f91cabe0f
+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

diff --git a/app-editors/vscodium/vscodium-1.59.0.ebuild 
b/app-editors/vscodium/vscodium-1.59.0.ebuild
new file mode 100644
index 00000000000..ce542357645
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.59.0.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