mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
app-editors/vscodium: add 1.70.1.22229
Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -4,3 +4,6 @@ DIST vscodium-1.70.0-arm64.tar.gz 117321647 BLAKE2B 9a49aa9d77dd2aec1561ff833295
|
||||
DIST vscodium-1.70.1-amd64.tar.gz 119463559 BLAKE2B 735786acd7796445f66dea016d3024286c5043f5eda635963eb9dcf4fcb0ff27265aacce18d9e2be00f2f7e6ff580d0c6dc83ac91dbdb7ffd934b721c221793a SHA512 115b3f520b53becbd164c868406805e6012b51414d803283d80eb4cf992c2e0fea53af3e1939dcd9cfb1264b13b4a3eb422a89f763f8eb7fbd28ce462f3a6fd6
|
||||
DIST vscodium-1.70.1-arm.tar.gz 101292517 BLAKE2B a2a0abd470988f649d657498ebdb49c1b10ecae4a8797d78da341c526604596680af301a7bb940bcc627e6aaa6fe971a50e4311baf2364fce4eb65779ef835e3 SHA512 33dd3eda80b9a6353e72ed92ee5f2adc3bdc48c49de0fa0829195e695fdfab0cd2fcba9fa1d6a0d6e3eccc3cd4b5c87a86af5e29161105a070f4743a413d7a2a
|
||||
DIST vscodium-1.70.1-arm64.tar.gz 117318425 BLAKE2B 16af0105d270aa706d762f94190838f7a0f5fb9ffe3c1b0eccbdf120d8ff1c21473d871170b252e1a805ed9ce81d35f1bcfbc33cd085b363497f40770fb32457 SHA512 9cb90d5a43aa124bc77cdf2868b45da59fa2c8573333373a6e351f2ed00fbccf7069655e30ce39e7322d8c18bb7edb20818b781bc1d60c3f524f8b37b85a6645
|
||||
DIST vscodium-1.70.1.22229-amd64.tar.gz 119469285 BLAKE2B 0f21c7576a144f20b9744d7192d2186dd49679a8dbe110c904b839a16f486edcda0c6fd6c2bc63abd995e14c56239bc84f95b89ef3a8232a8b429578c9216550 SHA512 4a74ecf5b60b59630814f7e908867d9fbe10622c1bb5b5054fe96c47dab7c5e12044de82c353a679d7779c65f36fff92a10453e39742f9a5ab727baa8821c224
|
||||
DIST vscodium-1.70.1.22229-arm.tar.gz 101292874 BLAKE2B d2cfcdf00a9eb1c65b7426a4e479ba15baeffb39d79622e37655d7814b1c62c072906e96bcf28d306331540fa39140a0f3594a267cc66176e2d7f7b1e81ac543 SHA512 9e607c576f79a59a23ff641742ccd6559318a5a37e047780762c78a0f4c7f632fc477aa733e4805022a77e615e17bfacd2cd99cbf00aa1959211705389126300
|
||||
DIST vscodium-1.70.1.22229-arm64.tar.gz 117342125 BLAKE2B c924b7b9af67613d61ae7a334d422627de7cface80e27da06f5a7be905e1b28d360225f7790917951e350fff315ab2315b5235f6d1f99b8ba54afa584f80e1a8 SHA512 ceff9924e1dc8af7efb77979c67108aa9bf7d48c984da514ab8ef238d1a5690ab6946bc2fa71c8e2d1f4daf8ac7aca78fd7cf210591bace31cbf3ff487b72339
|
||||
|
||||
@@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
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-atk:2
|
||||
app-accessibility/at-spi2-core:2
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/atk
|
||||
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/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/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}{,-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
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user