public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vscode/
Date: Thu,  6 Apr 2023 07:35:39 +0000 (UTC)	[thread overview]
Message-ID: <1680766533.7df9a9bf9c2d3d4d6f8724e467b82bd6aabd4826.arthurzam@gentoo> (raw)

commit:     7df9a9bf9c2d3d4d6f8724e467b82bd6aabd4826
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  6 07:34:04 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Apr  6 07:35:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7df9a9bf

app-editors/vscode: add 1.77.1

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-editors/vscode/Manifest             |   3 +
 app-editors/vscode/vscode-1.77.1.ebuild | 128 ++++++++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)

diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest
index 4a1aa49de680..1ca098d27d41 100644
--- a/app-editors/vscode/Manifest
+++ b/app-editors/vscode/Manifest
@@ -4,3 +4,6 @@ DIST vscode-1.76.2-arm64.tar.gz 123093592 BLAKE2B 13ddee4fd48570a049ded9e9d5b0a1
 DIST vscode-1.77.0-amd64.tar.gz 125008638 BLAKE2B 545f8eb3d8961526885acb5250152e31f8f96315c3ab715002b021146506fff61e3daeb46bc369e02611617d0276356558b42c80ed0f14cccc7723b48e4d38e0 SHA512 56442a9cdffcbfcade75d09b92bf1730507a71aef7813e4ef5edbd97cca640e0f5dee505be60895c42f15aaf926621f2e277bbe3e57fac25cc9a2728c5d366b4
 DIST vscode-1.77.0-arm.tar.gz 112127072 BLAKE2B 289a92169267235f2d59313de251d6aea99bef9b58e5a8b9cb1b71f09a30c1f5102dde7dbecaef26698cbfcf92c4aea0758b6d887c92e41b00007b89a57216e2 SHA512 b7d2a7ae9ba228d44d65177c7cd0923de4848bd5d06243ec4ac11133362259271322e07e5c9485786ac6508fc06f3f9239c25f32b5cc872fde58443866c45900
 DIST vscode-1.77.0-arm64.tar.gz 121710946 BLAKE2B 3e37925b306e92b533f4a7f61b058825c586e8217eb402f0bceff02a5ae783d71229fa578b2530eb95bdae38123524a6807d5316450a240d290ee02e86eb02e9 SHA512 a3c16cebd8d77c0c5196004c618211251a142a992929f788bf14be0e23c16a5d8dcc9ba2c21ba67b5080546ed221c8552d35b991cff237818d1afbe8709ca04b
+DIST vscode-1.77.1-amd64.tar.gz 124991721 BLAKE2B ed24ea4d09a4f4f2a0c09220a955417dbcbc35ec16e9f23f64c6e5e305b4e262957ab0f545c583a9100dc0d74ffc45c62f3f101b3df58e041693f1cd5b215dc4 SHA512 b7411a965cc7296f58ed64a879dcbfe564f85420dc8e06155b79b5835241a312ba156fcfbe11ae83f6575844b605e10adb61798735b64a05ed61747a78bba390
+DIST vscode-1.77.1-arm.tar.gz 112116717 BLAKE2B ed11be05071f55b2072bbaa01e6d8e84e203166ba8fdda203335c05388a165714987792e12fdb11324c74e0df87f16807fe1c6a2f930032a0b0e2a021039630d SHA512 319cb73c33630a930957615d4355b91762210946f53dd5f5ee3446a21f0362a7c0a632739d1b1845604ba8c6475d8677cce3062ade67b7dede7032b26237e67a
+DIST vscode-1.77.1-arm64.tar.gz 121688526 BLAKE2B 193aa9cc07896548a6560d3beef37885708412c96763ae7cb83f0b6211e8da8c127b93078948f6920a2c81a03fb8c51818d7964d4176be621a81d947aa7bf031 SHA512 630dab3e7e8b898bd27b308f62fce46aada883b75d89873495568cad5030c6430e5d425321cc6c7b35ce4326079db1fa86b6a43663129ec53d4224de7bb90ae8

diff --git a/app-editors/vscode/vscode-1.77.1.ebuild b/app-editors/vscode/vscode-1.77.1.ebuild
new file mode 100644
index 000000000000..593a70028957
--- /dev/null
+++ b/app-editors/vscode/vscode-1.77.1.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop pax-utils xdg optfeature
+
+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 )
+"
+S="${WORKDIR}"
+
+RESTRICT="mirror strip bindist"
+
+LICENSE="
+	Apache-2.0
+	BSD
+	BSD-1
+	BSD-2
+	BSD-4
+	CC-BY-4.0
+	ISC
+	LGPL-2.1+
+	Microsoft-vscode
+	MIT
+	MPL-2.0
+	openssl
+	PYTHON
+	TextMate-bundle
+	Unlicense
+	UoI-NCSA
+	W3C
+"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	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/util-linux
+	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/vscode/bin/code-tunnel
+	/opt/vscode/chrome_crashpad_handler
+	/opt/vscode/chrome-sandbox
+	/opt/vscode/code
+	/opt/vscode/libEGL.so
+	/opt/vscode/libffmpeg.so
+	/opt/vscode/libGLESv2.so
+	/opt/vscode/libvk_swiftshader.so
+	/opt/vscode/libvulkan.so*
+	/opt/vscode/resources/app/extensions/*
+	/opt/vscode/resources/app/node_modules.asar.unpacked/*
+	/opt/vscode/swiftshader/libEGL.so
+	/opt/vscode/swiftshader/libGLESv2.so
+"
+
+src_install() {
+	if use amd64; then
+		cd "${WORKDIR}/VSCode-linux-x64" || die
+	elif use arm; then
+		cd "${WORKDIR}/VSCode-linux-armhf" || die
+	elif use arm64; then
+		cd "${WORKDIR}/VSCode-linux-arm64" || die
+	else
+		die "Visual Studio Code only supports amd64, arm and arm64"
+	fi
+
+	# Cleanup
+	rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
+
+	# Disable update server
+	sed -e "/updateUrl/d" -i ./resources/app/product.json || die
+
+	# Install
+	pax-mark m code
+	insinto "/opt/${PN}"
+	doins -r *
+	fperms +x /opt/${PN}/{,bin/}code
+	fperms +x /opt/${PN}/chrome_crashpad_handler
+	fperms 4711 /opt/${PN}/chrome-sandbox
+	fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor,ssh-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
+	fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/node-pty/build/Release/spawn-helper
+	dosym "../../opt/${PN}/bin/code" "usr/bin/vscode"
+	dosym "../../opt/${PN}/bin/code" "usr/bin/code"
+	domenu "${FILESDIR}/vscode.desktop"
+	domenu "${FILESDIR}/vscode-url-handler.desktop"
+	domenu "${FILESDIR}/vscode-wayland.desktop"
+	domenu "${FILESDIR}/vscode-url-handler-wayland.desktop"
+	newicon "resources/app/resources/linux/code.png" "vscode.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"
+	optfeature "keyring support inside vscode" "gnome-base/gnome-keyring"
+}


             reply	other threads:[~2023-04-06  7:35 UTC|newest]

Thread overview: 171+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-06  7:35 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 17:56 [gentoo-commits] repo/gentoo:master commit in: app-editors/vscode/ Arthur Zamarin
2024-11-05 20:23 Arthur Zamarin
2024-10-17  6:53 Arthur Zamarin
2024-10-10 18:12 Arthur Zamarin
2024-10-10 18:12 Arthur Zamarin
2024-10-08 18:52 Arthur Zamarin
2024-10-06 19:35 Arthur Zamarin
2024-09-12 17:29 Arthur Zamarin
2024-09-07 15:01 Arthur Zamarin
2024-08-29 17:21 Arthur Zamarin
2024-08-16  7:28 Arthur Zamarin
2024-08-16  7:28 Arthur Zamarin
2024-08-09 15:08 Arthur Zamarin
2024-08-09 15:08 Arthur Zamarin
2024-08-01 19:15 Arthur Zamarin
2024-07-20 12:38 Arthur Zamarin
2024-07-20 12:38 Arthur Zamarin
2024-07-12  6:02 Arthur Zamarin
2024-07-03 20:04 Arthur Zamarin
2024-06-27 10:35 Arthur Zamarin
2024-06-27 10:35 Arthur Zamarin
2024-06-13 17:42 Arthur Zamarin
2024-06-13 17:42 Arthur Zamarin
2024-06-06 16:29 Arthur Zamarin
2024-05-10  8:36 Arthur Zamarin
2024-05-10  8:36 Arthur Zamarin
2024-05-03  7:14 Arthur Zamarin
2024-04-19  5:52 Arthur Zamarin
2024-04-19  5:52 Arthur Zamarin
2024-04-11 17:56 Arthur Zamarin
2024-04-05 11:38 Arthur Zamarin
2024-03-30 10:57 Arthur Zamarin
2024-03-13  8:26 Arthur Zamarin
2024-03-12  6:41 Arthur Zamarin
2024-03-08  9:44 Arthur Zamarin
2024-02-28 19:55 Arthur Zamarin
2024-02-18  5:37 Arthur Zamarin
2024-02-18  5:37 Arthur Zamarin
2024-02-08 17:30 Arthur Zamarin
2024-02-07 13:59 Joonas Niilola
2024-02-07 13:59 Joonas Niilola
2024-02-01 15:03 Arthur Zamarin
2024-01-18 18:29 Arthur Zamarin
2024-01-14 20:27 Arthur Zamarin
2023-12-13 19:28 Arthur Zamarin
2023-12-13 19:28 Arthur Zamarin
2023-12-13 19:28 Arthur Zamarin
2023-12-07 19:25 Arthur Zamarin
2023-11-12  6:57 Arthur Zamarin
2023-11-09 20:54 Arthur Zamarin
2023-11-07 10:11 Arthur Zamarin
2023-11-04 16:06 Arthur Zamarin
2023-11-04 16:06 Arthur Zamarin
2023-10-21 16:10 Joonas Niilola
2023-10-13 14:03 Arthur Zamarin
2023-10-12 17:44 Matt Turner
2023-10-07  4:54 Arthur Zamarin
2023-10-04 18:50 Arthur Zamarin
2023-10-04 18:50 Arthur Zamarin
2023-10-02 18:35 Arthur Zamarin
2023-09-18 20:40 Arthur Zamarin
2023-09-14 18:36 Arthur Zamarin
2023-09-14 18:36 Arthur Zamarin
2023-09-09  5:54 Arthur Zamarin
2023-09-09  5:54 Arthur Zamarin
2023-08-22 18:13 Arthur Zamarin
2023-08-11  6:22 Arthur Zamarin
2023-08-11  6:22 Arthur Zamarin
2023-08-04 11:15 Arthur Zamarin
2023-08-04 11:15 Arthur Zamarin
2023-07-29 20:49 Arthur Zamarin
2023-07-29 20:49 Arthur Zamarin
2023-07-14  6:48 Arthur Zamarin
2023-07-14  6:48 Arthur Zamarin
2023-07-07 19:05 Arthur Zamarin
2023-07-07 18:13 Arthur Zamarin
2023-06-16 13:50 Arthur Zamarin
2023-06-13 18:23 Arthur Zamarin
2023-06-13 18:23 Arthur Zamarin
2023-06-09 17:14 Arthur Zamarin
2023-06-03 16:14 Arthur Zamarin
2023-05-17 20:06 Arthur Zamarin
2023-05-11 18:42 Arthur Zamarin
2023-05-09 18:32 Arthur Zamarin
2023-05-04 15:42 Arthur Zamarin
2023-04-29 15:36 Arthur Zamarin
2023-04-26 13:49 Arthur Zamarin
2023-04-20 18:27 Arthur Zamarin
2023-04-03 18:37 Arthur Zamarin
2023-04-03 18:37 Arthur Zamarin
2023-03-15 18:34 Arthur Zamarin
2023-03-11  5:58 Arthur Zamarin
2023-03-11  5:58 Arthur Zamarin
2023-03-02 19:14 Arthur Zamarin
2023-02-17 19:08 Arthur Zamarin
2023-02-17 19:08 Arthur Zamarin
2023-02-04 20:18 Arthur Zamarin
2023-02-03 20:46 Arthur Zamarin
2023-01-12 17:38 Arthur Zamarin
2023-01-12 17:38 Arthur Zamarin
2022-12-23  7:30 Arthur Zamarin
2022-12-16 14:07 Arthur Zamarin
2022-12-15 18:02 Arthur Zamarin
2022-12-13 20:40 Arthur Zamarin
2022-11-09 19:50 Arthur Zamarin
2022-11-09 19:50 Arthur Zamarin
2022-11-04  8:39 Arthur Zamarin
2022-10-14 19:56 Arthur Zamarin
2022-10-12 19:45 Arthur Zamarin
2022-10-12 19:45 Arthur Zamarin
2022-10-10  8:18 Arthur Zamarin
2022-10-08 19:45 Arthur Zamarin
2022-10-08 19:45 Arthur Zamarin
2022-09-16 15:18 Arthur Zamarin
2022-09-16 10:47 Arthur Zamarin
2022-09-16 10:47 Arthur Zamarin
2022-09-02 15:18 Arthur Zamarin
2022-08-20 14:13 Arthur Zamarin
2022-08-20 14:13 Arthur Zamarin
2022-08-18 18:41 Arthur Zamarin
2022-08-18 16:33 Arthur Zamarin
2022-08-12  6:39 Arthur Zamarin
2022-08-12  6:39 Arthur Zamarin
2022-08-05 12:33 Arthur Zamarin
2022-08-05  6:44 Arthur Zamarin
2022-08-05  6:44 Arthur Zamarin
2022-07-23  9:13 Joonas Niilola
2022-07-21  8:42 Joonas Niilola
2022-07-21  8:42 Joonas Niilola
2022-07-12 16:33 Arthur Zamarin
2022-06-17  6:07 Arthur Zamarin
2022-06-17  6:07 Arthur Zamarin
2022-05-19 16:46 Arthur Zamarin
2022-05-19 16:46 Arthur Zamarin
2022-05-12 16:09 Arthur Zamarin
2022-05-08 18:35 Arthur Zamarin
2022-05-08 18:35 Arthur Zamarin
2022-04-15  5:27 Arthur Zamarin
2022-04-10 18:08 Arthur Zamarin
2022-04-07 16:59 Arthur Zamarin
2022-04-02 12:06 Arthur Zamarin
2022-04-02 12:06 Arthur Zamarin
2022-03-11 17:23 Arthur Zamarin
2022-03-09 18:26 Arthur Zamarin
2022-03-09 18:26 Arthur Zamarin
2022-02-11 12:52 Arthur Zamarin
2022-02-09 20:20 Arthur Zamarin
2022-02-09 20:20 Arthur Zamarin
2022-01-02 19:51 Arthur Zamarin
2021-12-16  3:12 Sam James
2021-12-16  3:11 Sam James
2021-12-16  3:11 Sam James
2021-11-24 15:23 Joonas Niilola
2021-11-12 13:04 Joonas Niilola
2021-11-07  4:15 Sam James
2021-11-07  4:15 Sam James
2021-10-24  3:57 Sam James
2021-10-24  3:57 Sam James
2021-10-24  3:57 Sam James
2021-10-02 13:34 Joonas Niilola
2021-09-18  9:50 Joonas Niilola
2021-08-26  6:42 Joonas Niilola
2021-08-26  6:42 Joonas Niilola
2021-08-12 11:56 Joonas Niilola
2021-07-15 23:36 Zac Medico
2021-07-14 14:59 Joonas Niilola
2021-06-26 19:14 Zac Medico
2021-06-26 18:45 Zac Medico
2021-06-15 13:03 Joonas Niilola
2021-05-27  8:34 Joonas Niilola

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=1680766533.7df9a9bf9c2d3d4d6f8724e467b82bd6aabd4826.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --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