summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel KARA SLIMANE <adel.ks@zegrapher.com>2022-05-07 21:43:45 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2022-05-08 21:35:34 +0300
commit7bf4c072fc01ae88ba30163d7567135a6320081e (patch)
tree4687fc75e51f2ba3836b028e73ed4f2cf13bcef0 /app-editors/vscode
parentnet-analyzer/ospd-openvas: use upstream config and systemd service (diff)
downloadgentoo-7bf4c072fc01ae88ba30163d7567135a6320081e.tar.gz
gentoo-7bf4c072fc01ae88ba30163d7567135a6320081e.tar.bz2
gentoo-7bf4c072fc01ae88ba30163d7567135a6320081e.zip
app-editors/vscode: version bump to 1.67.0
The wlroots issue related to Electron is fixed in this release Closes: https://bugs.gentoo.org/834082 Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors/vscode')
-rw-r--r--app-editors/vscode/Manifest3
-rw-r--r--app-editors/vscode/vscode-1.67.0.ebuild123
2 files changed, 126 insertions, 0 deletions
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest
index 404b1ab5066d..05c67ae55b21 100644
--- a/app-editors/vscode/Manifest
+++ b/app-editors/vscode/Manifest
@@ -7,3 +7,6 @@ DIST vscode-1.65.2-arm64.tar.gz 104431396 BLAKE2B 17251a994ba15b9293b4bebbc8b34b
DIST vscode-1.66.2-amd64.tar.gz 115605903 BLAKE2B db6161e5e387c58b63c86bdc6e1c2383cc977c4ff23f0e26894d7c176b3c0ff29d7dd60f18f535894030a8ca323b598bbe421e05c4ecdbfdaac57a9a378956e5 SHA512 cbf99e949a637f518f431d62b2119c13630d2be87a681892a7be40bcdc19f6fd1a4c9e9955a07d215aadce57a6acbf1ed5d146193119eeec78e2a7878d708619
DIST vscode-1.66.2-arm.tar.gz 96713615 BLAKE2B cafc1575c81e27471f382d73a10ee3fa960bd5617536965e135acfad1ef227ef2ead9283085458595fdaa239ac4dec57b572fba44a3ad4b5eb125794491c22a7 SHA512 0ab6acd5f02d2201548de6082ab67fcb13f6157b775cd89fef33f493e61b092f4381a06248795572e893d7a6adcfe966c9ab246d587c7a3512385c728e5ec07c
DIST vscode-1.66.2-arm64.tar.gz 110613144 BLAKE2B e2d3139f7779152a52e34c740f4c95c065fd004624c6e8628cd2562ee2791871e0ca0654f1e30c7c3effd67865560878c8d40773a106a30aef5358ebb28a1908 SHA512 f664c1a8fa72bb659fe30269d0207d79e1da406e7fb65bcc7385c07a06677d752583d9b5e04c185c571bb669b530f663dd8686a65f8a721a73fc9a2e02308869
+DIST vscode-1.67.0-amd64.tar.gz 115660810 BLAKE2B 38991593e43a08591028a708373816048d82b606cc8127c68a63664dfa9d42d4eb323e1d0ced0f9b362044e05b70e431f34686a8383f752dbe08d148967869fe SHA512 d35ddc1a5d5516b1200854a7b0b8d8b64abc3f42786fe16aa69c26ebb4e70fe6a299546b87093c5e2a8ec42db653eb5efc7ee782e3207ccad40b77c1ab5b8ccd
+DIST vscode-1.67.0-arm.tar.gz 96738850 BLAKE2B 2546f26add7560f466e0220cceb263e890993b7de7b52e337831bd0c0260c1dccec0f267899bfa7c73d7a8e0c02f40bd02639434a4d5093c233da34f92022fc8 SHA512 5178e34dbad5613e50330c1a39776037119fa3ba85b3771e4862c849c2a1e2b32655dbafe27a72dca35b9d6b2f29d0768ffed6ad4da11d257bb7015c148015e1
+DIST vscode-1.67.0-arm64.tar.gz 110641639 BLAKE2B f443ba2391105893d4e5175f6213d1dd1df1ad3b870bccf87f9854e1d8fe58da3a7acab6f52f1a177177f627534f48a3fcb01a1698da00854ed5918ec7c0baac SHA512 15e3dcc752980155b337bcf4c4e319843ee12a982f55167c1ab49105006a90856ed72abcc12a3d5368f90be33b4a8117543456e6dff07655cc5ef52ea5eb2e16
diff --git a/app-editors/vscode/vscode-1.67.0.ebuild b/app-editors/vscode/vscode-1.67.0.ebuild
new file mode 100644
index 000000000000..8ab1bd247c0a
--- /dev/null
+++ b/app-editors/vscode/vscode-1.67.0.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop 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 )
+"
+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-atk:2
+ app-accessibility/at-spi2-core:2
+ app-crypt/libsecret[crypt]
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/mesa
+ 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/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
+
+ # 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.sh
+ fperms 755 /opt/${PN}/resources/app/extensions/git/dist/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
+ 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"
+}