repo/gentoo:master commit in: app-editors/vscode/

"Arthur Zamarin" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1787150232.ab241070697d37b07eee60f1481250c5af1db621.arthurzam@gentoo>
commit:     ab241070697d37b07eee60f1481250c5af1db621
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 19 13:23:13 2026 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 19 14:37:12 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab241070

app-editors/vscode: add 1.134.0

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

 app-editors/vscode/Manifest              |   3 +
 app-editors/vscode/vscode-1.134.0.ebuild | 161 +++++++++++++++++++++++++++++++
 2 files changed, 164 insertions(+)

diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest
index 4c6339184c3f..6ba4b2dbfd56 100644
--- a/app-editors/vscode/Manifest
+++ b/app-editors/vscode/Manifest
@@ -7,3 +7,6 @@ DIST vscode-1.132.0-arm64.tar.gz 336526738 BLAKE2B 8f7099aa124695bee76ab56e39702
 DIST vscode-1.133.0-amd64.tar.gz 347821409 BLAKE2B aa8b6f29e0ba933aa81d35cd62a075ff40e65856ea6a35f30791cdb22f6851543cd4f751dda703ed7166470727337006714d214b5a4f0a24239a90435b814ca7 SHA512 0842cdfbab35df009e5d2f3398bd0d6cf73730bff3dad55c5e9e3b36640070f9367970ad9a031dd6f4ede6b6509c5767e8ae183b5520defc792c7bf26abfae6a
 DIST vscode-1.133.0-arm.tar.gz 219187109 BLAKE2B 7404a466d90c3cb38018e2afe399885c0acae86c13f56de63970cc3011444f35cbdf9a53219b2a9a477b87aa61f2f9a186ba35fd7beeeefabcbeab6fcce73e89 SHA512 6aafc582ed64b5f4474d982acd9fa7ecbbe29a2012120003d31d497892f39881cad23ad770537b927b94f0da821bd0d37e45a321bccb475f4f1015b4f930dd08
 DIST vscode-1.133.0-arm64.tar.gz 333918536 BLAKE2B 4989b94b38d9d508a783957411487965a46d4b97273cc7c48fce1d60703ad9da330be68e7dda20c987e42d44593422eabecaedadd7c0496bc1aa99ffbc76bfa5 SHA512 d0573f62c0f4d57ee254e19e1f25cc601ddd55220c6a3cc6dfdded6ffe87f150eee53f4aea09c36e703db24743b0af9059ea7aa85591f9b1be2b86f2ebccfaff
+DIST vscode-1.134.0-amd64.tar.gz 346310331 BLAKE2B 60b2a33afa63d197182ecbe41abed7ad1eef952d7b736ceb52c183feb40558a785e37ed6d36a395d0f7c2b37365e9f37782f7323b471ac8a5ea6cdae65ff0399 SHA512 aedc140fb6d45c9338f05fa87c3fac7ceefe177c5b53b91e4fdd230942b580e058423e7ba50e05dec1ccf37e04a19d4e03054de9a4f8b0ef6cbd3b490dd99a43
+DIST vscode-1.134.0-arm.tar.gz 219623931 BLAKE2B 949e896b8a6c74c61508fe7d2a115afe03bb7261a393c05a194f66c1edc6c14c8385e7551609142be595242c799d2477a4da58f2dd14718613557f5e5d1eba93 SHA512 028095b975902b11e43f0cebc26f33794921b003c2c4de1fc5bffb5a2285d0ba9f8f9115169170a7172259c84a404e9bf7cf44f9460e8b17ae294e2c677923e6
+DIST vscode-1.134.0-arm64.tar.gz 332813962 BLAKE2B 79312ce26081e4c59203c1447d83ae4b3a59818301fc3a762247f528814ac8c0ee4ac8202ccae8a17a3b1806a5dd8e3dfa51c30a3c90f098e46aebee43ec54e9 SHA512 c192ba0950600ecb37d3f314fc666ed9fa56322f8e9d9d1cc272d481458b1730f7fa3effbaa2b35b9b19cc0ed4b63057d42a16955cb33a61ae320b68d2aad78d

diff --git a/app-editors/vscode/vscode-1.134.0.ebuild b/app-editors/vscode/vscode-1.134.0.ebuild
new file mode 100644
index 000000000000..9cf66870460a
--- /dev/null
+++ b/app-editors/vscode/vscode-1.134.0.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_LANGS="af am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
+	hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
+	sv sw ta te th tr uk ur vi zh-CN zh-TW"
+
+inherit chromium-2 desktop optfeature pax-utils shell-completion 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 )
+"
+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 wayland webkit"
+RESTRICT="mirror strip bindist"
+
+RDEPEND="
+	|| (
+		sys-apps/systemd
+		sys-apps/systemd-utils
+	)
+	>=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/libglvnd
+	media-libs/mesa
+	net-misc/curl
+	sys-apps/dbus
+	virtual/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
+	webkit? (
+		net-libs/libsoup:3.0
+		net-libs/webkit-gtk:4.1
+	)
+"
+
+QA_PREBUILT="*"
+
+src_unpack() {
+	default
+	mv "${S}"/VSCode-linux-* "${S}/vscode" || die
+}
+
+src_configure() {
+	default
+	chromium_suid_sandbox_check_kernel_config
+}
+
+src_prepare() {
+	default
+	pushd "vscode/locales" > /dev/null || die
+	chromium_remove_language_paks
+	popd > /dev/null || die
+}
+
+src_install() {
+	cd vscode || die
+
+	# Disable update server
+	sed -e "/updateUrl/d" -i ./resources/app/product.json || die
+
+	if ! use webkit; then
+		rm -r ./resources/app/extensions/microsoft-authentication || 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"
+
+	# Install metainfo
+	insinto /usr/share/metainfo
+	doins "${FILESDIR}/code.appdata.xml"
+
+	# Install MIME type definitions
+	insinto /usr/share/mime/packages
+	doins "${FILESDIR}/code-workspace.xml"
+
+	# Install completions
+	newbashcomp resources/completions/bash/code code
+	newzshcomp resources/completions/zsh/_code _code
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+	optfeature "desktop notifications" x11-libs/libnotify
+	optfeature "keyring support inside vscode" "virtual/secret-service"
+	optfeature "Live Share" dev-libs/icu
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.