diff options
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/Manifest.gz | bin | 13912 -> 13904 bytes | |||
-rw-r--r-- | app-editors/vscode/Manifest | 4 | ||||
-rw-r--r-- | app-editors/vscode/vscode-1.84.1.ebuild | 118 |
3 files changed, 122 insertions, 0 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz Binary files differindex 216ada61f3a2..d43a8700e61c 100644 --- a/app-editors/Manifest.gz +++ b/app-editors/Manifest.gz diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest index df7d6863d058..3a12b22681aa 100644 --- a/app-editors/vscode/Manifest +++ b/app-editors/vscode/Manifest @@ -8,6 +8,10 @@ DIST vscode-1.83.1-arm64.tar.gz 133032981 BLAKE2B c02f3147ccf8811730695aff4f6a61 DIST vscode-1.84.0-amd64.tar.gz 135705913 BLAKE2B 3013fe6d6131237325dccf1de5ba53fe8de670098eb4d944e129faaa382f1e79d95480493f9cd55096ba5213685bf6d872bcf0cfe4d463abdb1872c33b8b3a8e SHA512 d86670e67b245c156b751a30253460c9b535de3a8387cf0e0f121861a05958974eaf20537c7c2beb36e2da048d0bef8e3163c541c30dc7eacfe5dcfceb59ac92 DIST vscode-1.84.0-arm.tar.gz 122691456 BLAKE2B 9c89e96c50ffc317a56d066f0a81d5ff5b7e3e4ad53b2aef1bb2839d8d8ad861862bd81a131156843995fd97ada24c38100115f290881045fb7419801a44bc2e SHA512 8e64bf19e03fd6f62665037dba3164d5ac262a8f0cb18aca3372b4251f949f1a466e469e9d33a8df8771974564551ab86da3841f279c0a775c9630ab8e806a2f DIST vscode-1.84.0-arm64.tar.gz 132914793 BLAKE2B 6d8f1206f8feb8aff3dfb8e2e9f34deeb4814de854da5b77eddff1e0666ed5a26ede2ebff1990f4e5a02a030e7a7ad66f90b46eec8dafae8f162d9172fed036f SHA512 03fcf66e821227b52e0f0e3aedc364335b8bb86bdc1083ba00e1baf2a06021a8b4a37902ff9f7a783d8281c5c3dc9b060ce9308883191aba0d200b22c2996670 +DIST vscode-1.84.1-amd64.tar.gz 135727521 BLAKE2B a0b6ab48842ec3359f0dd29244346edba4b1468a97daffa7247655509a2bffe80a7fe642180ce13ced1b7dbbe64b3bb43fb386e6094d60ae84278743890602d1 SHA512 2768a706d6acbd9f723d9b3da7a15ddead82f4c01b6ae69762713b9ad0beaa9b74df66041263b8853b1e97ce4cd9178230df21e71639136f035177fc660e9a28 +DIST vscode-1.84.1-arm.tar.gz 122669562 BLAKE2B f0b6201ca18fc2ca8eb4ae20784d742ce841ee2672cbe39087350b031a16b9a0c6db0edb1e5cd54f969537c40d9b290a6da5d4dd9be268255b34cefef865c37b SHA512 2d5b0048c8865e536540e55d445676fa10ee391a6cf175173c40801c8ca6c5bd3b945aca2f8c89bd11b6284fcb2745a6bf7dae4008c41c09f9c760d9fbb28843 +DIST vscode-1.84.1-arm64.tar.gz 132919962 BLAKE2B 354c03703f9238f8141d1e710fc6d14554f73c3f5cf1b1847fc9ad8bd508beab75b2c8d227b0b05d8b54a22a0f0662f60aad6e5669af70c59d42485f2cb570a2 SHA512 709cc5f413e9250206d59fb6dd2a73d0444bc4338b75f8150f1dec30aa73b2f169422acb517485be37eaa9c82976ebfe7edd0011ab7341c625717d867eded62d EBUILD vscode-1.83.1-r1.ebuild 2634 BLAKE2B 43313f11568110b9600e748bb0c3796a4f80e1127b2be3c33511e4aa5289e9cd7d123e31f5806d69c7d71ee21aa9a145b4d1204a849a928e25aa47f24d82b07a SHA512 ac66706ad608ad775d771acdef27dc94f2f2a9c9a2b007ac608c456ef559888dea2c4a72a33eec073671d04f97c8000cc6a27c195084a72473f26222f7c56466 EBUILD vscode-1.84.0.ebuild 2634 BLAKE2B 43313f11568110b9600e748bb0c3796a4f80e1127b2be3c33511e4aa5289e9cd7d123e31f5806d69c7d71ee21aa9a145b4d1204a849a928e25aa47f24d82b07a SHA512 ac66706ad608ad775d771acdef27dc94f2f2a9c9a2b007ac608c456ef559888dea2c4a72a33eec073671d04f97c8000cc6a27c195084a72473f26222f7c56466 +EBUILD vscode-1.84.1.ebuild 2634 BLAKE2B 43313f11568110b9600e748bb0c3796a4f80e1127b2be3c33511e4aa5289e9cd7d123e31f5806d69c7d71ee21aa9a145b4d1204a849a928e25aa47f24d82b07a SHA512 ac66706ad608ad775d771acdef27dc94f2f2a9c9a2b007ac608c456ef559888dea2c4a72a33eec073671d04f97c8000cc6a27c195084a72473f26222f7c56466 MISC metadata.xml 1058 BLAKE2B cf7606233d99e4429debe5ef824f235f1ff3083ab5553030453e982bfb5860dd5ccecca3792319665835d604b6ff2cb53ebd885bb959236784c62885087750b2 SHA512 961552953336ad9606c9fc004fc3e0fb8d7481a017b6ba5da683db5ba989f58d474ccb4ea3a001851b2cfe705e7fe3f70ba01a14dd1f048523e73af522d50410 diff --git a/app-editors/vscode/vscode-1.84.1.ebuild b/app-editors/vscode/vscode-1.84.1.ebuild new file mode 100644 index 000000000000..1bd03ac61a39 --- /dev/null +++ b/app-editors/vscode/vscode-1.84.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-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-apps/dbus + 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" +} |