app-editors/vscodium: add 1.80.2.23209

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2023-07-29 23:48:57 +03:00
parent 313c516844
commit 863155c4e9
2 changed files with 121 additions and 0 deletions
+3
View File
@@ -4,3 +4,6 @@ DIST vscodium-1.79.2.23166-arm64.tar.gz 120833812 BLAKE2B f8cb53aa5faede65b62b17
DIST vscodium-1.80.1.23194-amd64.tar.gz 120915926 BLAKE2B fad2f3146b6777ff7f78c5c4cbfb65976402c3033790a26f3cbee0f5503586fea86764c42294026a139fe8797d41aeedbf966adb2e9c86b65d77b81ef9cdb83d SHA512 4dec8a293d320eb851c7d4257df96ee46871b1314df5176f8cfbd6db1cdb492f5bf1cfe2125c2cd2e4fb69d81ebc21a380f7464857b443c72954be665b36a065
DIST vscodium-1.80.1.23194-arm.tar.gz 109644410 BLAKE2B 90dadf201d9f753ebc05a964b9ebf9dad7f94943fccdacb3b90fac5f51bd3fd91fbf9a7c41b853ecf6527f62265b22d99f746f56fd388f1ab4968a4c365d8977 SHA512 96b75f4c065d35e4e695c8e4813d6412cfd93bae2da27bf091620ba1ca6a4161bf7805865679205b01029b92d7be647defd1a46a7a88f79a45e4b9f9907fcac6
DIST vscodium-1.80.1.23194-arm64.tar.gz 121174305 BLAKE2B 1586eb8aaf4e62ddc1378138033b9d5985bf403f733d11e114ebfeec1f9afa5879a718e1cd1cd8f1c0344a0a8aaaf4ec33bf40c812b96fdbb6656e8fb76fa311 SHA512 eec75079306df5a5985cdabb12d2b65a51be32c2d64001adc03ac4dd172bded3c49faae6bbac8ab88e098cba7c8ceac24e74ad7cb73dd91073f01b3ba19a5265
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
@@ -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
# 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
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"
}