summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-08-09 20:25:33 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-08-09 20:25:33 +0300
commitb59d5952eb020b77669b3110c2245374a0c26114 (patch)
tree8452c1bbfd9034bc7fa7a08e9bee4a302fd7b8ac /app-editors/vscodium
parentmedia-video/qmplay2: sync live (diff)
downloadgentoo-b59d5952eb020b77669b3110c2245374a0c26114.tar.gz
gentoo-b59d5952eb020b77669b3110c2245374a0c26114.tar.bz2
gentoo-b59d5952eb020b77669b3110c2245374a0c26114.zip
app-editors/vscodium: add 1.81.0.23216
Closes: https://bugs.gentoo.org/910327 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors/vscodium')
-rw-r--r--app-editors/vscodium/Manifest3
-rw-r--r--app-editors/vscodium/vscodium-1.81.0.23216.ebuild119
2 files changed, 122 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index 141448e3b1e6..6f3b24c058e1 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -4,3 +4,6 @@ DIST vscodium-1.80.1.23194-arm64.tar.gz 121174305 BLAKE2B 1586eb8aaf4e62ddc13781
DIST vscodium-1.80.2.23209-amd64.tar.gz 120916482 BLAKE2B 720a99ed9799974f1f7e229bd7f7983e198613d32c01ec6d383a4e5d611ac52075f262ba25381550b1a85fbcf503b049c938e2eebf446ee550e523238fe2ed1c SHA512 7e4f18f60f5b7e20aba3623e771f8b07a75f9c5a8457908a249ac95a07eb94074cf4cd2b030e2dc93aa7f384027e3e2575ff2235c02bfda0a6053701e0cece36
DIST vscodium-1.80.2.23209-arm.tar.gz 109649095 BLAKE2B 9bdfbe35f3f7ce7d601b2a578aa8041038c84f3477e9fc8365c25d03e1b06bf1d5223f41709f21aa9061f46a847928a5de1494001bb59c7814453e29b395efac SHA512 e0da9fec1cf2cef101d559103c9744497505dd1200a066ec093f61d82affe0a05ff5541859d75972cc50f3f476d46d94b07f4a847d33899f25afa856f9e05dcb
DIST vscodium-1.80.2.23209-arm64.tar.gz 121174217 BLAKE2B f574330e0c1577962b3e1c8d6d65166997f3d13e06d6c1aae88a8769ae1c2eb015c4f597020d170b6bef6c5d605a9c528e5619c0aa55f0c0920d5f5b5d93266a SHA512 d87784654089da1ace841787afb40ce9209476ed4033436c8907ce46f472c5305b045b62abb6ec0318d79b0b771d9c9322466a03bc6edaaf1438aaeaba7838cc
+DIST vscodium-1.81.0.23216-amd64.tar.gz 121108447 BLAKE2B 870d78973d41e2bc3db58bc434a32271f9ed0217ddd21b865d2449350e7a210b2c1f3c79721e342db3c45ad1f3c4572ba074085711e29d537f48b70a8036782b SHA512 11dfc76c158298437726041ac1cee9ace222fab1b0941040575987abc6a4bfcdd7d13bc815000aabfad07ecfafb9678be628240d4733abb35269fae8244d5b24
+DIST vscodium-1.81.0.23216-arm.tar.gz 109853494 BLAKE2B 163c836af778521e141f30a908d859d7e364f9f3160596026ab91f8d13a904e30ea29954ddd69306a70d1cb87195f3e8a61fd5e15c524a0fd2cfbc09916a5b59 SHA512 6c887cb528390e7de174e933e81267902e0b17f75babe098fa6b8fbca1a06b5ff5f0c099d5ece49e6c82233ad77971963d3786cb7aa6a2113884529c8683ec2e
+DIST vscodium-1.81.0.23216-arm64.tar.gz 121397635 BLAKE2B 6c87bbbe4c9ca08b48330a35cd0bb2f0d0385a48e857d2b5a595da56a18c96a8ec4f4ec8364b74b4eca87cf33fd847fd06e173cd5e0524d12c968b86f8f6198b SHA512 b761a4fe4883baf8b8bd0038bfde959150e15a207239fffd17377213364c0f44c9b323bc3d5de5acad46a6aebd282bc2d9e72abc56bdebb0617cba86d2207977
diff --git a/app-editors/vscodium/vscodium-1.81.0.23216.ebuild b/app-editors/vscodium/vscodium-1.81.0.23216.ebuild
new file mode 100644
index 000000000000..dcb3f9ea3ae4
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.81.0.23216.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop pax-utils xdg optfeature
+
+# Usage: arch_src_uri <gentoo arch> <upstream arch>
+arch_src_uri() {
+ echo "${1}? (
+ https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-${2}-${PV}.tar.gz
+ -> ${P}-${1}.tar.gz
+ )"
+}
+
+DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode"
+HOMEPAGE="https://vscodium.com/"
+SRC_URI="
+ $(arch_src_uri amd64 x64)
+ $(arch_src_uri arm armhf)
+ $(arch_src_uri arm64 arm64)
+"
+
+RESTRICT="strip bindist"
+
+LICENSE="
+ Apache-2.0
+ BSD
+ BSD-1
+ BSD-2
+ BSD-4
+ CC-BY-4.0
+ ISC
+ LGPL-2.1+
+ MIT
+ MPL-2.0
+ openssl
+ PYTHON
+ TextMate-bundle
+ Unlicense
+ UoI-NCSA
+ W3C
+"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64"
+IUSE=""
+
+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/vscodium/chrome_crashpad_handler
+ /opt/vscodium/chrome-sandbox
+ /opt/vscodium/codium
+ /opt/vscodium/libEGL.so
+ /opt/vscodium/libffmpeg.so
+ /opt/vscodium/libGLESv2.so
+ /opt/vscodium/libvk_swiftshader.so
+ /opt/vscodium/libvulkan.so*
+ /opt/vscodium/resources/app/extensions/*
+ /opt/vscodium/resources/app/node_modules.asar.unpacked/*
+ /opt/vscodium/swiftshader/libEGL.so
+ /opt/vscodium/swiftshader/libGLESv2.so
+"
+
+S="${WORKDIR}"
+
+src_install() {
+ # Cleanup
+ rm "${S}/resources/app/LICENSE.txt" || die
+
+ # Install
+ pax-mark m codium
+ mkdir -p "${ED}/opt/${PN}" || die
+ cp -r . "${ED}/opt/${PN}" || die
+ fperms 4711 /opt/${PN}/chrome-sandbox
+
+ dosym -r "/opt/${PN}/bin/codium" "usr/bin/vscodium"
+ dosym -r "/opt/${PN}/bin/codium" "usr/bin/codium"
+ domenu "${FILESDIR}/vscodium.desktop"
+ domenu "${FILESDIR}/vscodium-url-handler.desktop"
+ domenu "${FILESDIR}/vscodium-wayland.desktop"
+ domenu "${FILESDIR}/vscodium-url-handler-wayland.desktop"
+ newicon "resources/app/resources/linux/code.png" "vscodium.png"
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ elog "When compared to the regular VSCode, VSCodium has a few quirks"
+ elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md"
+ optfeature "keyring support inside vscode" "virtual/secret-service"
+}