summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-03-11 07:52:16 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2023-03-11 07:58:50 +0200
commit6ad03a966b9e60f0bcedd2bdfe54db75c2aba41d (patch)
treee7a4f59d13ddcc78481288ff547f8e083d121806 /app-editors/vscodium
parentapp-editors/vscode: drop 1.75.0-r2, 1.75.1-r1 (diff)
downloadgentoo-6ad03a966b9e60f0bcedd2bdfe54db75c2aba41d.tar.gz
gentoo-6ad03a966b9e60f0bcedd2bdfe54db75c2aba41d.tar.bz2
gentoo-6ad03a966b9e60f0bcedd2bdfe54db75c2aba41d.zip
app-editors/vscodium: add 1.76.1.23069
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.76.1.23069.ebuild119
2 files changed, 122 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index d49bc1daea8f..510932050dfd 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -4,3 +4,6 @@ DIST vscodium-1.75.0.23033-arm64.tar.gz 114924184 BLAKE2B 47d979df3eadee60e5ea6d
DIST vscodium-1.75.1.23040-amd64.tar.gz 121851555 BLAKE2B 827942e3a6b903e943fbd7200c8ae1e10e2ee3e8a05592a5dbe6677171935499bdb497aa1d76b175c0a8a4dc699ee2559c8768d83b2133ab3e337313bcbe70ec SHA512 9192915d87d55b5835dee70d10e03f6ad110075b1b32809f78cd18a7d9fefb36b3440e14c0c17dd826995a04789517c21e08e0d72a0418923f1dadf2d5ce6d22
DIST vscodium-1.75.1.23040-arm.tar.gz 103879786 BLAKE2B 2f9d0cbdc474a248a7dbd3339a9af87f88ad477a14934a2c4ca3ae5235607a79dbf9d797b669df7a8127dbfb3081bc1612b4d899d69e95faa8a7a011a1030b21 SHA512 373c7097582d4540ac1479bbb9da53b6b13288dc5ce61fd11d952f7eb289d456bf57f8c2e16d1a3532738d082857e9abebbded1142ad36f6c6ac67e25cd1a6e7
DIST vscodium-1.75.1.23040-arm64.tar.gz 114920913 BLAKE2B 9758ce3c71621eeb9d4975d7e1c57cb079f15b6794c320df682e2748d7fd5cc4ec5dd2dbe94e16e2c6f6e7617e333dfb08d0a80dfcd9c78b01ec9c38e800491c SHA512 3baf3abd004c67c197204e92de50fc6d056926686dd921368d63c90d216c83ae15529f3f25ddc6c20deb812823f9181ddbae3b80936ff2a441a1d51e42678a03
+DIST vscodium-1.76.1.23069-amd64.tar.gz 120798858 BLAKE2B d499b75a5c24e9aa68a5fc358bcb98fb67a67b2383cfebe0b9ae4170876fd675cde66d855f581f6cd5b4c745a03a15e345af7532510d640b4ac65b0af2413906 SHA512 a2e37eba3ec70e35f344c2cb552cd75c5d5e67ec9159ac48709d631e5324d19e9cab08f69ffc8ae1fa782aad515be6af661464dfa72ea1f18da752d1d0b48127
+DIST vscodium-1.76.1.23069-arm.tar.gz 102842431 BLAKE2B 9ede508310c87948a67c8f07f4f15f4b2e2466c3f659c1a291cb20a76a784964d7174a1003b10523779c75eb0850e2e272aa7e3a02497937136f32c138b8ebd1 SHA512 f5b99f1bd9338c69c69b9643a5c5e6ade5a3df237ac042a9fc7fdbba402244516e54ab636235a1867c6594a52a33b4af32622e70511491caac7d014b42c8e51d
+DIST vscodium-1.76.1.23069-arm64.tar.gz 113874748 BLAKE2B 8dd6d97571dd084ffa40662ce6f3788cb7f09bdc8fefdce15d2987f3819ffdf42762e4b2106b71c3fc4e02943be9c62ab12355a8e30ad405848cdc7b115780cf SHA512 92ba83d125f8d28ccbf06f3dd7219c08ab1d40630ae32f0620aee731340d957cf79b7e5c4068745d77d1d425e9ff64ec0cc859016882edc93cd553fd59fc9983
diff --git a/app-editors/vscodium/vscodium-1.76.1.23069.ebuild b/app-editors/vscodium/vscodium-1.76.1.23069.ebuild
new file mode 100644
index 000000000000..5c5cdb4f3682
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.76.1.23069.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
+
+DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode"
+HOMEPAGE="https://vscodium.com/"
+SRC_URI="
+ amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz )
+ arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.tar.gz )
+ arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz )
+"
+
+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
+
+ # Disable update server
+ sed -i "/updateUrl/d" "${S}"/resources/app/product.json || die
+
+ # Install
+ pax-mark m codium
+ insinto "/opt/${PN}"
+ doins -r *
+ fperms +x /opt/${PN}/{,bin/}codium
+ 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/codium" "usr/bin/vscodium"
+ dosym "../../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" "gnome-base/gnome-keyring"
+}