app-editors/vscodium-bin: Add 1.44.1 + arm and arm64 support

Package-Manager: Portage-2.3.89, Repoman-2.3.20
This commit is contained in:
Xenhat Hex 2020-04-15 16:35:56 -04:00
parent deeebe54c7
commit eaa0f38781
No known key found for this signature in database
GPG Key ID: 03FE57ED1424AB4D
2 changed files with 63 additions and 0 deletions

View File

@ -3,3 +3,4 @@ DIST vscodium-bin-1.42.1.tar.gz 83257052 BLAKE2B 5c6d7b029d120ad6a8701f6fa82c5cc
DIST vscodium-bin-1.43.0.tar.gz 90470255 BLAKE2B 3980f08814625d887f0194d162e6bae80d98456f59dccf3df2f4b672f73173a67ee91405e494cd06b552f81a9f71a7c17586630a07ca2e0b3079375871f09772 SHA512 1cfa3b7c21bd1875423241fe92e11236a9b30b2a26e8191808bfe2949ee7cc24aa8ce8c7bc75e10958f3c1fa5947be2a848a1f1aa4875921451aef073aac5b8f
DIST vscodium-bin-1.43.2.tar.gz 90575258 BLAKE2B 1432faa9aa3a66f83c3bdf2bcffae3cf733cecddb38c83f0b822c0677b193128ec4a957a39ddcc39faf2c10eb2437f22c2d6eac53a417d5ed71d1847cfb79698 SHA512 856c30d6daa1ffaa484d56063160d96ad739de649e1a5c7c9d594b89fa8bbe4794d986086da40c275f4cb756b24576101e8621b1a120655d117576611e1cc626
DIST vscodium-bin-1.44.0.tar.gz 90738217 BLAKE2B 213703df0984bbc35914248920cb39d5cbd900239986ffc956918820405279b05f529cb8562a6e8f8532391ba6d4a027f0f3014c9d84d8cb701b90b055bdd74b SHA512 c5a5be360c34f4e6a3d43317989570b7181a421ec9dc3d10416d589d461303dee0a870dd76fc5487f670bb5f62915c84362e8054d61c2f8f82479a0296ebc046
DIST vscodium-bin-amd64-1.44.1.tar.gz 89267598 BLAKE2B d3cd73fcc2acf3b06f6f7dc85c7a0eab24e9640bade8285b65e4c318715c179bc10e77691ef08e68be622cb533042d5a4956a9da4079b2cab1b325903ba45907 SHA512 181a8f42c5ef0b9bd961591a5803be26d5d1488c457f2bce31707232f2a55a59f2a8ac616e736fa8ed4ac8ad9b52ee94cefba984e8e8aab03ed6e23d52b61433

View File

@ -0,0 +1,62 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
DESCRIPTION="Open Source Software Binaries of VSCode"
HOMEPAGE="https://github.com/VSCodium/vscodium"
SRC_URI="amd64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> vscodium-bin-${ARCH}-${PV}.tar.gz )
arm? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-arm-${PV}.tar.gz -> vscodium-bin-${ARCH}-${PV}.tar.gz )
arm64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> vscodium-bin-${ARCH}-${PV}.tar.gz )"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 "
IUSE="libsecret"
DEPEND="
>=media-libs/libpng-1.2.46:0
>=x11-libs/gtk+-3.0:3
x11-libs/cairo
x11-libs/libXtst
"
RDEPEND="
${DEPEND}
>=net-print/cups-2.0.0
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
libsecret? ( app-crypt/libsecret[crypt] )
"
QA_PRESTRIPPED="
opt/${PN}/code
"
S="${WORKDIR}"
src_install() {
pax-mark m code
insinto "/opt/${PN}"
doins -r *
dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin"
make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE"
newicon "resources/app/resources/linux/code.png" codium-bin.png
fperms +x "/opt/${PN}/codium"
fperms +x "/opt/${PN}/bin/codium"
fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg"
insinto "/usr/share/licenses/${PN}"
}
pkg_postinst() {
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
elog ""
elog "Upstream renamed the binary from vscodium to codium."
elog "remember to update your aliases and shortcuts"
}