public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Adel KARA SLIMANE" <adel@karaslimane.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-editors/visual-studio-code-bin/
Date: Mon,  5 Apr 2021 20:37:49 +0000 (UTC)	[thread overview]
Message-ID: <1617655064.9cb0a6a520abd70a1ac0dacb3f6accc659d313c4.adel@gentoo> (raw)

commit:     9cb0a6a520abd70a1ac0dacb3f6accc659d313c4
Author:     Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com>
AuthorDate: Mon Apr  5 20:37:44 2021 +0000
Commit:     Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com>
CommitDate: Mon Apr  5 20:37:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9cb0a6a5

app-editors/visual-studio-code-bin: version bump to 1.55.0

Signed-off-by: Adel KARA SLIMANE <adel <AT> karaslimane.com>
Package-Manager: Portage-3.0.18, Repoman-3.0.2

 app-editors/visual-studio-code-bin/Manifest        |  3 +
 .../visual-studio-code-bin-1.55.0.ebuild           | 77 ++++++++++++++++++++++
 2 files changed, 80 insertions(+)

diff --git a/app-editors/visual-studio-code-bin/Manifest b/app-editors/visual-studio-code-bin/Manifest
index db0a36660..f4af6a20f 100644
--- a/app-editors/visual-studio-code-bin/Manifest
+++ b/app-editors/visual-studio-code-bin/Manifest
@@ -1,3 +1,6 @@
 DIST visual-studio-code-bin-1.54.2-amd64.tar.gz 98888733 BLAKE2B a02fe21cbae80d479cebab17a3718b0f8980e5caab6abf6b33c44770a580a9cd4b384f21db367c91d3150ab4e4f299d404b8dc940bf721e773d39c4ba282f822 SHA512 80b9bd88524286715dccdd6afe0508247316a3fedbb35cd71a71ee4c3dff635eafc953879d39b3d9209030aa28a6dcdb80fe33228c22df2829e9997e979c9ab9
 DIST visual-studio-code-bin-1.54.2-arm.tar.gz 90226066 BLAKE2B fa7e076d6ab1168afbe0dad1cfeef752c8787f75e62a6d9140887fd9de7d8e728e8743d5473265a26747118016ad9c2f944242699707a362d4621332eb89e053 SHA512 0ed5c284f7d56ad09be76b7f53b3e8f11d9a74a0aa395b3cc74f4eaae73f3181bd532ccbeeee40bfbf913f516adf6a599ed4f9fe3de65820677e958fe4b6cad4
 DIST visual-studio-code-bin-1.54.2-arm64.tar.gz 103407705 BLAKE2B 0af7c16e0d184b3f836e9b5f4331c7227aebcec0e22ef1733899485faf343df0d3af5a3a333a88c95a0e0e57b611331aae9d9dcba88adf758880baae41fe04b2 SHA512 aca940cb68e664a7c2a6bacfac5f01c748fbaf8ed15f3c633c2f6bc12e1d42524235c7dc153f60e656017229248a7be03c2b3dbe32b69816e89071eb4876fce9
+DIST visual-studio-code-bin-1.55.0-amd64.tar.gz 97525604 BLAKE2B 732b7f0986ee8855cc84eeca3e6a8ead35c38454755146876f670dc5deafb334a4ab2862caa8602d3821ea5011d26f4d8a08d3152814a567b635d604ce149b63 SHA512 f4c159fbee0a22727326fbb692f0b6a6d409e8a15c2472dfe2e6467e440108089cad9b1ceb48aa25c85de6ee2bfe24879862b50c7b1eee810e3c5ef50f972ba3
+DIST visual-studio-code-bin-1.55.0-arm.tar.gz 88836120 BLAKE2B 67e988161b42a57cb67ab03181415c0f65bf3e1e6c036550f7fa15f033c3944357476d4b4bb4473c07ff9820c667a73e5451f280848d794ab9ac15209c67510f SHA512 177b8697a1e1f58aaa28987bf2728eab0d52858451d84b031d44ea9678e38c87a3d5b12837a829303a9f7e8d76c2b71cc48b32a18cf0c04739e036c9b6cff80d
+DIST visual-studio-code-bin-1.55.0-arm64.tar.gz 102041107 BLAKE2B d43a7bc4018ff05a7dc2efdb2e4ba1dd4865897726435a20ef9f12831b0e378918eb7774ac3dafaa474f18e485a66feb572842ec9196f7231f1be5671f1bafdf SHA512 1673c9bc4ea3619d62d5c503366babbd7f3c6a5ce7d0db42c26bd8d428ee961bb669177eec8a29748791023e992504a87bd2db46fbfe93015ecfcf99aae6dcef

diff --git a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.0.ebuild b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.0.ebuild
new file mode 100644
index 000000000..df36d0b55
--- /dev/null
+++ b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop eutils pax-utils xdg
+
+DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
+HOMEPAGE="https://code.visualstudio.com"
+SRC_URI="
+	amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
+	arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
+	arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )"
+
+RESTRICT="mirror strip bindist"
+
+LICENSE="MIT Microsoft-VSCode"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+IUSE=""
+
+RDEPEND="
+	app-accessibility/at-spi2-atk
+	app-crypt/libsecret[crypt]
+	dev-libs/nss
+	media-libs/libpng:0/16
+	x11-libs/cairo
+	x11-libs/gtk+:3
+	x11-libs/libnotify
+	x11-libs/libXScrnSaver
+	x11-libs/libXtst
+	x11-libs/pango"
+
+QA_PRESTRIPPED="*"
+
+QA_PREBUILT="
+	opt/${PN}/code
+	opt/${PN}/libEGL.so
+	opt/${PN}/libffmpeg.so
+	opt/${PN}/libGLESv2.so
+	opt/${PN}/libvk_swiftshader.so
+	opt/${PN}/libvulkan.so
+	opt/${PN}/swiftshader/libEGL.so
+	opt/${PN}/swiftshader/libGLESv2.so"
+
+pkg_setup() {
+	if use amd64; then
+		S="${WORKDIR}/VSCode-linux-x64"
+	elif use arm; then
+		S="${WORKDIR}/VSCode-linux-armhf"
+	elif use arm64; then
+		S="${WORKDIR}/VSCode-linux-arm64"
+	else
+		die "Visual Studio Code only supports amd64, arm and arm64"
+	fi
+}
+
+src_install() {
+	pax-mark m code
+	insinto "/opt/${PN}"
+	doins -r *
+	fperms +x /opt/${PN}/{,bin/}code
+	fperms +x /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/code" "usr/bin/code"
+	domenu "${FILESDIR}/code.desktop"
+	domenu "${FILESDIR}/code-url-handler.desktop"
+	dodoc "resources/app/LICENSE.rtf"
+	newicon "resources/app/resources/linux/code.png" "visual-studio-code.png"
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	elog "You may want to install some additional utils, check in:"
+	elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
+}


             reply	other threads:[~2021-04-05 20:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-05 20:37 Adel KARA SLIMANE [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-15 13:01 [gentoo-commits] repo/proj/guru:dev commit in: app-editors/visual-studio-code-bin/ Ross Charles Campbell
2021-05-08 22:46 Ross Charles Campbell
2021-04-22 17:18 Adel KARA SLIMANE
2021-04-22 17:18 Adel KARA SLIMANE
2021-04-19  7:40 Andrew Ammerlaan
2021-04-18 15:47 Andrew Ammerlaan
2021-04-18  2:55 Theo Anderson
2021-04-17 18:06 Adel KARA SLIMANE
2021-04-13 11:25 Andrew Ammerlaan
2021-03-13  4:24 Ross Charles Campbell
2021-03-05  2:00 Ross Charles Campbell
2021-02-12  6:32 Ross Charles Campbell
2021-02-10  5:07 Ross Charles Campbell
2021-02-08  0:14 Ross Charles Campbell
2021-02-07 23:21 Ross Charles Campbell
2021-02-04 21:52 Ross Charles Campbell
2021-01-04  4:23 Ross Charles Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1617655064.9cb0a6a520abd70a1ac0dacb3f6accc659d313c4.adel@gentoo \
    --to=adel@karaslimane.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox