summaryrefslogtreecommitdiff
path: root/app-editors
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-03 01:32:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-03 01:32:36 +0000
commit92b7880bd28edc591d46c65b2242bbad6106fb39 (patch)
tree0b5c4ff09cb0e02c310fe6c37b2bf391cf932c80 /app-editors
parent7228e7507f59b8f0982c3a68cc5ba8ea35ce1a76 (diff)
gentoo auto-resync : 03:03:2023 - 01:32:36
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/Manifest.gzbin14081 -> 14083 bytes
-rw-r--r--app-editors/vscode/Manifest4
-rw-r--r--app-editors/vscode/vscode-1.76.0.ebuild128
3 files changed, 132 insertions, 0 deletions
diff --git a/app-editors/Manifest.gz b/app-editors/Manifest.gz
index fd4cc8360f6b..4bcdf916e0d9 100644
--- a/app-editors/Manifest.gz
+++ b/app-editors/Manifest.gz
Binary files differ
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest
index 45d04a052c72..47f783b7acf2 100644
--- a/app-editors/vscode/Manifest
+++ b/app-editors/vscode/Manifest
@@ -8,6 +8,10 @@ DIST vscode-1.75.0-arm64.tar.gz 128013515 BLAKE2B 77c2663e01397086e3917dae8e0ec3
DIST vscode-1.75.1-amd64.tar.gz 138940849 BLAKE2B 60e47682ec0073b6a0e3ffa1c9e0f151cc27c88d199afdd7fa97fd835bdbc961817eae8e17f973d0cb20cae072d02754c53f5687d6996dbee420f17332c1f43b SHA512 68498083c022252a4cecf7db505a68e25137eed3451af474cff7a1094340d64b087ca101df8cb5af5649bcd6460e219eb28f1c78604864dd40507c809e6edcc7
DIST vscode-1.75.1-arm.tar.gz 118369140 BLAKE2B cf0a1ce9f9bb3cdd329abfd35b67457909da43c1b5887c08815d358367dc20e4231901dbd97ae854db5b78c15f6488ca0d29357af9e77ec419fc93f1c69b41cb SHA512 f8576c9e037c6ba5488c40b6a2c486a5521e65a73ef214685efa54761b9da2e20839e859f9612b3e3403bc574c87f7634a6cdfb852623c1ce18116c0aba87f23
DIST vscode-1.75.1-arm64.tar.gz 128000146 BLAKE2B 8729178790c06b44c7a626e075cc9071a0489452157ddefcaa3c8c3039360598486d12a57b15a778f4307aa9fc28b2e201d78e28662ef83dfc3562430c63ac05 SHA512 f8b2abba64da24bf0044f7f179ec63aab94b0b52f0a42badd0df81108593aa47cb2ab343dba21ac78e7dc32d9691816a491002e2f534afc2fd2a53714f9da872
+DIST vscode-1.76.0-amd64.tar.gz 133931108 BLAKE2B ab2c5dc571b631fd19cb5457eb74de1c56a83f4e0d65d53b26747a3ef99cdeb164f04f2577bb9f345cd1e88d52c73c21eedb73bbd5d996d161a40d414838475d SHA512 2c1baca4d84dcd1abb5f7e74e1e6c9faa4cc3df83014bae94b2e5c8a1a3909decbc75f707b43562b994e50b08cb00ac1ba5bbb5aee0c26f227b43a590b93529d
+DIST vscode-1.76.0-arm.tar.gz 113679844 BLAKE2B d7b8d828285ead72c4dc7d297ebd1cc5957696d0a156f9ceb82e58efef8bd4fba46b38691b0190d9625548549b30fdfb3e2d837ebe682119d3369e69f964dd22 SHA512 b15ff5cece6773e908834779b8fe8bd42d06cf2b8b41c6acf8819d49711112b2f31e6953067bce5141ba1e5fdceca22881fc4c1751c5a25b9342da97ab4e47a3
+DIST vscode-1.76.0-arm64.tar.gz 123109503 BLAKE2B 141f1de84a64805ed88b003db5ac8d8c603c13fcde94cf3aa3f2dfe8ab6b962d4d106ebb39945490315f4680ea774f530d1dd42a825e6a6bc218238e3aba8670 SHA512 7b602a1f9ca4b29cbf737b550e7befc9a19fc7bf9225b690793987224645d12a7526a2a853e600e766390f857b9fe14b3dc064373f3e66119a37c1079fe42487
EBUILD vscode-1.75.0-r2.ebuild 3378 BLAKE2B ebcda3ce0d1a548988ce2fa1dc541865ef6e034cd8d76853bd4d37f4c94d2dc3f555a5337eb16389a0e4b5dea503bfafc517735d9cbf57e432d4ca8fd4cd4bb5 SHA512 a9f009f5c919b5735d1bf6c8ba126a081c76a3d92cd918a620c8db3721f8b23f173630d7c9c35aeb117b4e859be51d7a3ab75c1001320f15ceaf72333f5dabac
EBUILD vscode-1.75.1-r1.ebuild 3378 BLAKE2B ebcda3ce0d1a548988ce2fa1dc541865ef6e034cd8d76853bd4d37f4c94d2dc3f555a5337eb16389a0e4b5dea503bfafc517735d9cbf57e432d4ca8fd4cd4bb5 SHA512 a9f009f5c919b5735d1bf6c8ba126a081c76a3d92cd918a620c8db3721f8b23f173630d7c9c35aeb117b4e859be51d7a3ab75c1001320f15ceaf72333f5dabac
+EBUILD vscode-1.76.0.ebuild 3378 BLAKE2B ebcda3ce0d1a548988ce2fa1dc541865ef6e034cd8d76853bd4d37f4c94d2dc3f555a5337eb16389a0e4b5dea503bfafc517735d9cbf57e432d4ca8fd4cd4bb5 SHA512 a9f009f5c919b5735d1bf6c8ba126a081c76a3d92cd918a620c8db3721f8b23f173630d7c9c35aeb117b4e859be51d7a3ab75c1001320f15ceaf72333f5dabac
MISC metadata.xml 1058 BLAKE2B cf7606233d99e4429debe5ef824f235f1ff3083ab5553030453e982bfb5860dd5ccecca3792319665835d604b6ff2cb53ebd885bb959236784c62885087750b2 SHA512 961552953336ad9606c9fc004fc3e0fb8d7481a017b6ba5da683db5ba989f58d474ccb4ea3a001851b2cfe705e7fe3f70ba01a14dd1f048523e73af522d50410
diff --git a/app-editors/vscode/vscode-1.76.0.ebuild b/app-editors/vscode/vscode-1.76.0.ebuild
new file mode 100644
index 000000000000..593a70028957
--- /dev/null
+++ b/app-editors/vscode/vscode-1.76.0.ebuild
@@ -0,0 +1,128 @@
+# 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"
+
+RDEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ app-crypt/libsecret[crypt]
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/mesa
+ net-print/cups
+ sys-apps/util-linux
+ 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/bin/code-tunnel
+ /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
+
+ # Disable update server
+ sed -e "/updateUrl/d" -i ./resources/app/product.json || 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,ssh-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
+ fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/node-pty/build/Release/spawn-helper
+ 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"
+ optfeature "keyring support inside vscode" "gnome-base/gnome-keyring"
+}