From 076a488336b6c9f6a24ad613c978f8ed2d37bf61 Mon Sep 17 00:00:00 2001 From: Adel KARA SLIMANE Date: Wed, 13 Apr 2022 23:43:07 +0200 Subject: app-editors/vscode: version bump to 1.66.2 Signed-off-by: Adel KARA SLIMANE Signed-off-by: Arthur Zamarin --- app-editors/vscode/Manifest | 6 +- app-editors/vscode/vscode-1.66.1.ebuild | 131 -------------------------------- app-editors/vscode/vscode-1.66.2.ebuild | 131 ++++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+), 134 deletions(-) delete mode 100644 app-editors/vscode/vscode-1.66.1.ebuild create mode 100644 app-editors/vscode/vscode-1.66.2.ebuild (limited to 'app-editors/vscode') diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index f815a887e9ad..404b1ab5066d 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -4,6 +4,6 @@ DIST vscode-1.64.2-arm64.tar.gz 107090187 BLAKE2B 15587ce30f15c393f78d5ea554da51 DIST vscode-1.65.2-amd64.tar.gz 109564124 BLAKE2B 5b842253ed6438019de5f114f951651adc1773db93b408d3fec59b781ff32c0fb66f0e80ff0c02b6306ae46f541d55667f37d50ccf64709e810bf5e952af543e SHA512 1b5fd6c42966e66f963cb63a289414d3733cb64c051c36ad5a43481ccbd24996e99b58738b23be25a51890eb95593b7a2f224d61c3a21ea3195baed4f57cc761 DIST vscode-1.65.2-arm.tar.gz 90793512 BLAKE2B 8e29cd51635408280a9f3e36cc7d8a0925feee6a2239352b9a44075454ae36d7b784be2ecf9eb310440e416511a0d38b801ae41bfae400edd06345f960d66b29 SHA512 9c10a9a6ed82d321228b41202ab1584d580596bea9aa9759db6500e41f1979d1e9e1fa3e3af4fd86bdbbd0844ec528a499dbeb2eee988bb87b549073f0d112de DIST vscode-1.65.2-arm64.tar.gz 104431396 BLAKE2B 17251a994ba15b9293b4bebbc8b34b8351bf5d15ea047d8789492839ab902d9802afcd94c6a805f26be505c9f05077c395c6a5c73a8f3614668c042400e3f4b0 SHA512 7365d8bec81bbd8bf72d6073cfd9034b8afca7309044863a921b190aadbb8fe16d5b58f98beab7d24d77c1077c60a1761a68a12e01ea974855608006973ec739 -DIST vscode-1.66.1-amd64.tar.gz 115616634 BLAKE2B 9637f33068e4f34d1dc313bc353a722ff46c8be266a58ad03bd007bb5e815bfe1984bc799cd9d0c9eaef87e321f5f4f8f3e3c1eaa8ca1fc6d0b78e5002aa3ac7 SHA512 3a0e41f527b17ad845477f36e0a3b783e07b57fa0f3ac3be5d7387ff0b95f8cef2ce2ab427f971d357d607342645b642c3efc56fd3bbd440ace9e09b8e4b5778 -DIST vscode-1.66.1-arm.tar.gz 96710597 BLAKE2B d2d58d1257a6fa396f460c10df314d2e62b6a9e6abe65a6f5158569da9ee88c2e96ce9a66ba9c9bcdd6843c2a0c24dd50f4be2e0d59a6890c6d53f523a0b3475 SHA512 91234db83bc918feff912d1a0cad4ce2de11f5731583fd9b74bd62451a389882c81e02f2cd7d3c409fa6e92185ec33499e46f3914c7f35581489c8e13c59f864 -DIST vscode-1.66.1-arm64.tar.gz 110611219 BLAKE2B 4928a9e0b874b9b0032c0ee9021fa1aef857a882ad9c0664a9d3096ac27aa5cc763b1c3332ac8714df8018a4e35cec5afe754c12ac3305aee345c2d2d78a41f0 SHA512 a6dfd0d909aa677c4c0ac78c7bb08f637f43fbc20eedd0768fb9673478c9fff4470d0dda1f0311d84873da6fc1dac55206ac7ebce19f939ce74de1cf03b19c01 +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 diff --git a/app-editors/vscode/vscode-1.66.1.ebuild b/app-editors/vscode/vscode-1.66.1.ebuild deleted file mode 100644 index 27f47914fd32..000000000000 --- a/app-editors/vscode/vscode-1.66.1.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# 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" - - if has_version -r ">=gui-libs/wlroots-0.15"; then - elog - elog "The wayland backend of vscode crashes with >=gui-libs/wlroots-0.15" - elog "This will be fixed upstream in a later release" - elog "Please run the xwayland version for now, on wlroots based DEs." - elog "For more information, see https://bugs.gentoo.org/834082" - fi -} diff --git a/app-editors/vscode/vscode-1.66.2.ebuild b/app-editors/vscode/vscode-1.66.2.ebuild new file mode 100644 index 000000000000..27f47914fd32 --- /dev/null +++ b/app-editors/vscode/vscode-1.66.2.ebuild @@ -0,0 +1,131 @@ +# 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" + + if has_version -r ">=gui-libs/wlroots-0.15"; then + elog + elog "The wayland backend of vscode crashes with >=gui-libs/wlroots-0.15" + elog "This will be fixed upstream in a later release" + elog "Please run the xwayland version for now, on wlroots based DEs." + elog "For more information, see https://bugs.gentoo.org/834082" + fi +} -- cgit v1.2.3-65-gdbad