app-editors/vscodium-bin: add ebuild for 1.42.1
This commit is contained in:
parent
5048a84e72
commit
43ed3162b7
@ -1 +1,2 @@
|
|||||||
DIST vscodium-bin-1.42.0.tar.gz 83258776 BLAKE2B dd910935cbd0ce341271f40c06c7e178213dcb705d589393ef74ca9635ec7406c2f5482286843fe8c9949c45cfac03b9ce258b3a4a0757759410a4b379df7216 SHA512 8b31690b1344fd24ac22f7fe867a1f85216026ea52fe595b02cb6e66d9328125cef6cd3e94736beb45e4471034fe2ac80b2ac5540efd981896231e1e17472f0f
|
DIST vscodium-bin-1.42.0.tar.gz 83258776 BLAKE2B dd910935cbd0ce341271f40c06c7e178213dcb705d589393ef74ca9635ec7406c2f5482286843fe8c9949c45cfac03b9ce258b3a4a0757759410a4b379df7216 SHA512 8b31690b1344fd24ac22f7fe867a1f85216026ea52fe595b02cb6e66d9328125cef6cd3e94736beb45e4471034fe2ac80b2ac5540efd981896231e1e17472f0f
|
||||||
|
DIST vscodium-bin-1.42.1.tar.gz 83257052 BLAKE2B 5c6d7b029d120ad6a8701f6fa82c5cc12bc16c9a2243623c01fedf7b9d7e93946017cd4c3cde8a54a0fbeec0347af7128de56040e8292fcfa9d4025e77445ced SHA512 4751f4e1589c81878b2e5248cb413967403d1ac42316235d85b668dbc440bee3ff13d2ba5072d255e9e3f4db8477afb66a181a90fe410cf8513ea7f112bf0718
|
||||||
|
59
app-editors/vscodium-bin/vscodium-bin-1.42.1.ebuild
Normal file
59
app-editors/vscodium-bin/vscodium-bin-1.42.1.ebuild
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
# 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="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
RESTRICT="mirror strip bindist"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
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"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user