summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-10-12 13:41:33 -0400
committerMatt Turner <mattst88@gentoo.org>2023-10-12 13:43:34 -0400
commitf018fcb0e1ea801200f8624354c6a869206fc6e1 (patch)
treef68c81a7c71da20bf78413dfc6f39bccbed7b8c2 /app-editors/vscode
parentgui-apps/foot: add 1.16.1, drop 1.16.0 (diff)
downloadgentoo-f018fcb0e1ea801200f8624354c6a869206fc6e1.tar.gz
gentoo-f018fcb0e1ea801200f8624354c6a869206fc6e1.tar.bz2
gentoo-f018fcb0e1ea801200f8624354c6a869206fc6e1.zip
app-editors/vscode: Version bump to 1.83.1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-editors/vscode')
-rw-r--r--app-editors/vscode/Manifest3
-rw-r--r--app-editors/vscode/vscode-1.83.1.ebuild118
2 files changed, 121 insertions, 0 deletions
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest
index c3063130b0e4..a7f2c49e2eb2 100644
--- a/app-editors/vscode/Manifest
+++ b/app-editors/vscode/Manifest
@@ -4,3 +4,6 @@ DIST vscode-1.82.3-arm64.tar.gz 132356391 BLAKE2B 04252655fc0473db6850b946aee1d3
DIST vscode-1.83.0-amd64.tar.gz 135783477 BLAKE2B ab8d74efddad2717a6e189644a2eb2e6e6a8c51bf84150b722847ba9b7022f181f6a7225b3f0f04f345b5dc2690ff4859425b06d52f1db75c716db87a06de1d1 SHA512 4c71a8b340cdfac577dae7c5f6a70e1d556fa516ff42f562c1ec6f8aaa89b101c4751d936fbb7af426429a70e111262c0a6e230584aaf43691556571d1eefad3
DIST vscode-1.83.0-arm.tar.gz 122748258 BLAKE2B 535de1d0d61746b501a4377f482e2b09ad470959217ac96455d99738926b2a9c5df7fe2806daba080d0d6bd22df316258c7f04cfdaf1d9fdc966c4585c325455 SHA512 740fb983903a05cc5ca31cedac096fbfe5356df82f11654523b8fc957a7ea7171db9fa8693a21a5e72aadb31d6c76249dd7311052912aff4a81777a22951b65c
DIST vscode-1.83.0-arm64.tar.gz 133019602 BLAKE2B e11cf5b340d638884ee898040e7cd7791c03e63669a3cdc1efc4efd6542e9ec8a4f0e91d25021763d0bc5530d84c932cd71455561de502cf78b99be5b0d54dda SHA512 35a74ab0cb99825cd652af145bdbed42ccfbb26b43a5e36d87612df8ece7b88020488196535fa8b997d67b09948f8a332f0838b5129cadd396e66080983d3cec
+DIST vscode-1.83.1-amd64.tar.gz 135810621 BLAKE2B c1a9d74efe24f58c46445c6bc714c5a2f8d5237642f958fbed6c540128cf9794faa368e81d074fd357e54e677fce18c77b4f1a2acd2efc0a0ef86ace4bf6521e SHA512 9b5e14ac302ab14b4fb0776836f31f7b9696db5b35987c181a1a344b9268de353d4a91df4dd62aa0b8a3293208f1e898c687a60c46d96e44018f3b94b8ca9d8e
+DIST vscode-1.83.1-arm.tar.gz 122768111 BLAKE2B 92749b01bf5f99b357e84f3910ea23226aa5a2e4071eb52539be8fa3398e2f61395fbedc0e2af5ae8c25af29f8c144f9621e24da5220904d792ae94eea76d6ac SHA512 b46c9a6a2ba80703ac1d0186af4066601d9f4b3a3063e0003cf507ce2dc37e9c4baebe72f90d3c2a92f6c2c4491d527c62a705a816535576cab2524f880a1b5b
+DIST vscode-1.83.1-arm64.tar.gz 133032981 BLAKE2B c02f3147ccf8811730695aff4f6a611b52b706b8974349b8b9ca4a4a8f46dc398809fe32ec79fdf828769d3a6713e080d82312b534f25918cefe32de0994a45f SHA512 8052e551d64754ec38eb6a8edbc14292d95fb0a177a328bc70c8f983c90952af2ad793a45a7001d81bded7410b9b8cced9d3521ce8ad2416df774ab0e110caaf
diff --git a/app-editors/vscode/vscode-1.83.1.ebuild b/app-editors/vscode/vscode-1.83.1.ebuild
new file mode 100644
index 000000000000..ce0d2fa50ab8
--- /dev/null
+++ b/app-editors/vscode/vscode-1.83.1.ebuild
@@ -0,0 +1,118 @@
+# 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"
+IUSE="kerberos"
+
+RDEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ app-crypt/libsecret[crypt]
+ app-i18n/ibus
+ 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-libs/zlib
+ sys-process/lsof
+ x11-libs/cairo
+ x11-libs/gtk+:3
+ x11-libs/libdrm
+ x11-libs/libnotify
+ 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"
+ 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
+ optfeature "keyring support inside vscode" "virtual/secret-service"
+}