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: Fri,  5 Apr 2024 11:38:16 +0000 (UTC)	[thread overview]
Message-ID: <1712317088.f19a7b3e8cc30b2a02c42b4066a26e7f27938c24.arthurzam@gentoo> (raw)

commit:     f19a7b3e8cc30b2a02c42b4066a26e7f27938c24
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  5 11:36:25 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Apr  5 11:38:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f19a7b3e

app-editors/vscode: add 1.88.0

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

 app-editors/vscode/Manifest             |   3 +
 app-editors/vscode/vscode-1.88.0.ebuild | 132 ++++++++++++++++++++++++++++++++
 2 files changed, 135 insertions(+)

diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest
index 271d8105b460..4b4db7639d68 100644
--- a/app-editors/vscode/Manifest
+++ b/app-editors/vscode/Manifest
@@ -1,3 +1,6 @@
 DIST vscode-1.87.2-amd64.tar.gz 140710466 BLAKE2B 576be13495b91cbb0a0e9033a3872a311293a1dfc579d52e9eedd28ffbc40d4949e420e7b5439263b6ecce3f2b175247647732e6057f98367eb294b9aa8a8945 SHA512 c9f4a1cccf7df1cc152b41f77f9fed8752aacd848060464165a12f161d2df88cbae8ba447f43ca0285777e6e05125e79d054557fbe4b26e660a9544ba9a26c75
 DIST vscode-1.87.2-arm.tar.gz 126088523 BLAKE2B bf319c10c244387ec5f1f4fa21951b497bed1757e51fa90f54e50376f991daff54b2dba9bb410d27183c4598c187d12ed45794ad32b97c83fb2173d9fac2dc09 SHA512 a41a9f200cecc3dbe7c30c13b3d3a8c564dd3f526dd7969c1c6d83313ce1bdd052a94295897a4f2c5810b7a6bf36255234523477990c0db821d6913c50eda6a2
 DIST vscode-1.87.2-arm64.tar.gz 137662384 BLAKE2B af725963c3dc71d50efa5ff3cc7a3995a45a9d2846f736b1a26c02b2c9b7f1567831a75bb4896398c45f9cb5fcadf6e7d17114b50065155d9f80d8015ce25d1d SHA512 b99be940c5d5ebc8c39e1c52eaa49930bffcbaae41bd071e8aca2d1b08ff14c2ce8fda75f8f2e74a495ca59218045643ec91e7b2c4fe4b2ffeaaf33fddb5ed7c
+DIST vscode-1.88.0-amd64.tar.gz 142821004 BLAKE2B 77a683594fe68b95c2525b1fc6095f5ada366e17113ef324f6e3bf4ebe9b1e2f642bdca1c59a284538b5e868840e4a075ab6bc899a6687a773e1f7001363c956 SHA512 56c8f8e3b84e1332c094b65fe66b1d73e5bf15312d49dcd9dce43f722c71522bbd538c333c9cb6c48151d54ed71d0bcf4ba724a6977a0610ff7f40728ba310eb
+DIST vscode-1.88.0-arm.tar.gz 128137355 BLAKE2B 84264085419b461b6ab50096c8c1f07945b22bb32afcd03e26e340259052889cfe333244ae387ebbdc236b18081e7f7ac3fd02421614e7877cd0bfa6e7dbc088 SHA512 65a3765327b61233f36f856ae674e516a5049e4013c08e7be37fdf6e8c529b3c3910bac31f0c4e0998f96c03b5ac61d0aac98b9d1f3cfc53b302697ab41257d1
+DIST vscode-1.88.0-arm64.tar.gz 139085528 BLAKE2B 7f002d28e92f1b372f488616cd9e1c7169c3bd3d07b47ec448a9adc2cc87e829bd1d5a067c40b4792bef93e3daee9b4457104e6dd527f36505615af00a86138c SHA512 7ce8ab674c16de100041ea2bdbb0fa4033c1b28154a67e6ee1b8cb68063b60f5d5ed3bc95c311081a78f1ee29e504aa7977564a43e76576709dcf2213d7acdf0

diff --git a/app-editors/vscode/vscode-1.88.0.ebuild b/app-editors/vscode/vscode-1.88.0.ebuild
new file mode 100644
index 000000000000..f803279f6a02
--- /dev/null
+++ b/app-editors/vscode/vscode-1.88.0.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2024 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}"
+
+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"
+IUSE="egl kerberos wayland"
+RESTRICT="mirror strip bindist"
+
+RDEPEND="
+	>=app-accessibility/at-spi2-core-2.46.0:2
+	app-crypt/libsecret[crypt]
+	app-misc/ca-certificates
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/libcanberra[gtk3]
+	media-libs/libglvnd
+	media-libs/mesa
+	net-misc/curl
+	sys-apps/dbus
+	sys-libs/zlib
+	sys-process/lsof
+	x11-libs/cairo
+	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/libXScrnSaver
+	x11-libs/pango
+	x11-misc/xdg-utils
+	kerberos? ( app-crypt/mit-krb5 )
+"
+
+QA_PREBUILT="*"
+
+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/ThirdPartyNotices.txt || die
+
+	# Disable update server
+	sed -e "/updateUrl/d" -i ./resources/app/product.json || die
+
+	if ! use kerberos; then
+		rm -r ./resources/app/node_modules.asar.unpacked/kerberos || die
+	fi
+
+	# Install
+	pax-mark m code
+	mkdir -p "${ED}/opt/${PN}" || die
+	cp -r . "${ED}/opt/${PN}" || die
+	fperms 4711 /opt/${PN}/chrome-sandbox
+
+	dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode"
+	dosym -r "/opt/${PN}/bin/code" "usr/bin/code"
+
+	local EXEC_EXTRA_FLAGS=()
+	if use wayland; then
+		EXEC_EXTRA_FLAGS+=( "--ozone-platform-hint=auto" "--enable-wayland-ime" )
+	fi
+	if use egl; then
+		EXEC_EXTRA_FLAGS+=( "--use-gl=egl" )
+	fi
+
+	sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
+		"${FILESDIR}/code-url-handler.desktop" \
+		> "${T}/code-url-handler.desktop" || die
+
+	sed "s|@exec_extra_flags@|${EXEC_EXTRA_FLAGS[*]}|g" \
+		"${FILESDIR}/code.desktop" \
+		> "${T}/code.desktop" || die
+
+	domenu "${T}/code.desktop"
+	domenu "${T}/code-url-handler.desktop"
+	newicon "resources/app/resources/linux/code.png" "vscode.png"
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	optfeature "desktop notifications" x11-libs/libnotify
+	optfeature "keyring support inside vscode" "virtual/secret-service"
+}


             reply	other threads:[~2024-04-05 11:38 UTC|newest]

Thread overview: 171+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-05 11:38 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-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-06  7:35 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=1712317088.f19a7b3e8cc30b2a02c42b4066a26e7f27938c24.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