diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-05 14:08:02 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-05 14:08:02 +0100 |
commit | aa47868356ed14c3fc4d9500eae0469f2250ddb1 (patch) | |
tree | 9b952fb0f94f9cd63ad08573112bd35a596870f0 /app-editors | |
parent | c411f65f26582f4c75d2edbf4fa90a708474ace3 (diff) |
gentoo auto-resync : 05:08:2022 - 14:08:02
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/Manifest.gz | bin | 13904 -> 13908 bytes | |||
-rw-r--r-- | app-editors/vscode/Manifest | 6 | ||||
-rw-r--r-- | app-editors/vscode/metadata.xml | 4 | ||||
-rw-r--r-- | app-editors/vscode/vscode-1.70.0.ebuild | 122 |
4 files changed, 131 insertions, 1 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz Binary files differindex 092590ce7510..08001f3ee57c 100644 --- a/app-editors/Manifest.gz +++ b/app-editors/Manifest.gz diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index e060c77c949a..dd80a91765d3 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -8,6 +8,10 @@ DIST vscode-1.68.1-arm64.tar.gz 111812916 BLAKE2B 64d442ee86ed41025775ebbde8fe67 DIST vscode-1.69.2-amd64.tar.gz 121413876 BLAKE2B 5a410a0bf88d94a1d414d03eac437bbd0c728cc5c43b28d05dc5ade3b40225d3fcd7ff3eb5546835b7e4070e0e14b8267e0777ec157c458544beea448f8755a3 SHA512 b9fd1975a99b6302fda4f8e758f02ba00f1dae5f419eb6a07768ef685ab11592b127b7fdbc117a88da065ef8a4e3181577d651cad5958f4fb4406a85e50639bb DIST vscode-1.69.2-arm.tar.gz 102384679 BLAKE2B f9eb92d6661fdd55a5e6359cb51cd021f77c19fd6a2d1dbe1383131d0818249a26dae87bf30d11385a867535730ea404dd8ac2453d7807799a69369d24fb35d8 SHA512 caa9d50ccbaeb6133c810571f70e6e2136e9574abd7e125e0e07b66036e3076109e8c80fd7461c39ecb7f63c6d79cdfefc1a25f9201f429658fbcc93e48e32be DIST vscode-1.69.2-arm64.tar.gz 116492196 BLAKE2B c179ec2b3b6dec915f3f51808d55fa0da820007aaceed8b4b0608de4fa006c44fb93a042850a7f1f339ac36e6a042a4ab4e0e73a12be0693894b84c1bdeb155b SHA512 4eacc61348da717f2682182f8a99b6e4b15dac77abc8187a01511a58658b9661227d6d1e80ffb5b93cbbfd6c08eb719b34c92a922b9a4285c6dc48aaaf2bf407 +DIST vscode-1.70.0-amd64.tar.gz 119734068 BLAKE2B ed24b84903cc8c9a427315ac4f229de337f1d550cfd573815a32984a2fc731e905b94562da6a163af85e56367b9d307691a48d7c4e2f6bc5adf83fe6f9167fcd SHA512 db4eec2303ed2ca778b6f745dd1569f5e17543b672ec077ffaca5887c03977dbe12284d04e67713758f22556669a13380e4a5f515e98c1c63a5fb91568888881 +DIST vscode-1.70.0-arm.tar.gz 100801066 BLAKE2B 829965520d93d1d165cfc6624922eee0b48a5ed16c40275d63192d025d2f810ed1d85710e19e138178c5bff79d3f5b47f1634bbc6434aecc24e533ed2ffd6357 SHA512 8f7db99d16170e3a4823e2efaa03adba3fa89f2323be628969240db5453aefc922c3cb11575e94e3d89cd8691f7991a6a01c1510cdd66278e95788d578ba4486 +DIST vscode-1.70.0-arm64.tar.gz 114890103 BLAKE2B 17ad2db3748e5650e2e0ae85b9d857f6c981109a32c838442d672e8c0af4d6940e410d90e94580cc64bb2b57469768eff0bbac5844bf8a8b6ec8e26cb84e21bd SHA512 a74e0dffdea57f884bad06986cd31f1cbeafbb67b7ed59e5e96dec633144c8208df5b952e89186145ba2b37990d21e15fdf13109d34057652dd0357645c5adfe EBUILD vscode-1.68.1.ebuild 3121 BLAKE2B 5afdf9f9b4e29cc308a4e3d56b079bcdf7f2f8d7e6b6f46c5881cad6d988cd759c6d0006ba73ba16c111f679de3388fc662caf6968d0e06c284e32406b011414 SHA512 02d74dab0a9df33f37744f95bc97ae824d5d60092f2c41f2b24018260ae31a8c649639a49ac268b931d2412f88c04e4975817add6f29ec86cbd558e2dd8ab233 EBUILD vscode-1.69.2.ebuild 3121 BLAKE2B 5afdf9f9b4e29cc308a4e3d56b079bcdf7f2f8d7e6b6f46c5881cad6d988cd759c6d0006ba73ba16c111f679de3388fc662caf6968d0e06c284e32406b011414 SHA512 02d74dab0a9df33f37744f95bc97ae824d5d60092f2c41f2b24018260ae31a8c649639a49ac268b931d2412f88c04e4975817add6f29ec86cbd558e2dd8ab233 -MISC metadata.xml 947 BLAKE2B d2c522407289299e1398799f6187e1c0d6621dfe29c1dd0e9d88281eafe44f4b4b3a0edad920268d220375f9330f0a62c015fb1e5085decf5ca5e485a92cc204 SHA512 6b27ac42f3d67203c46996388f6700c007a299557808505179cfa42deeb71098bf3a257f23c11835389fd7a59180f3536e420ed6cdb93b274d47e4c84a25f738 +EBUILD vscode-1.70.0.ebuild 3069 BLAKE2B 13fb37b53e99d9534d8e149c79a7833f4c1f2d129879875d0c87d88ae7869bd7c8236237fc86fd2e54dfb7b822e0626ebec484b4ed63dd59e452f750189fd322 SHA512 2903d4582ff3aa2633b38cd1787d27d1e989c7d7dd0b412d3a9cdd5cc9d16f563dfd6fce579048066ba04f5bbc8f19fae5311ae4d28ba29ee2bbf077d65a04bc +MISC metadata.xml 1058 BLAKE2B cf7606233d99e4429debe5ef824f235f1ff3083ab5553030453e982bfb5860dd5ccecca3792319665835d604b6ff2cb53ebd885bb959236784c62885087750b2 SHA512 961552953336ad9606c9fc004fc3e0fb8d7481a017b6ba5da683db5ba989f58d474ccb4ea3a001851b2cfe705e7fe3f70ba01a14dd1f048523e73af522d50410 diff --git a/app-editors/vscode/metadata.xml b/app-editors/vscode/metadata.xml index 70a9316b5281..5e8dfffc3faa 100644 --- a/app-editors/vscode/metadata.xml +++ b/app-editors/vscode/metadata.xml @@ -5,6 +5,10 @@ <email>adel.ks@zegrapher.com</email> <name>Adel KARA SLIMANE</name> </maintainer> + <maintainer type="person"> + <email>arthurzam@gentoo.org</email> + <name>Arthur Zamarin</name> + </maintainer> <maintainer type="project" proxied="proxy"> <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> diff --git a/app-editors/vscode/vscode-1.70.0.ebuild b/app-editors/vscode/vscode-1.70.0.ebuild new file mode 100644 index 000000000000..9eed84dd6b73 --- /dev/null +++ b/app-editors/vscode/vscode-1.70.0.ebuild @@ -0,0 +1,122 @@ +# 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,git-editor}{,-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" +} |