changeset 501:f0e3db391f04

new ebuild for vscodium
author Dirk Olmes <dirk.olmes@codedo.de>
date Thu, 19 Mar 2020 08:54:42 +0100
parents 7c5db6a31cf2
children f3ea3b7c6ace
files app-editors/vscodium/Manifest app-editors/vscodium/vscodium-1.43.1.ebuild
diffstat 2 files changed, 58 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app-editors/vscodium/Manifest	Tue Mar 10 15:25:52 2020 +0100
+++ b/app-editors/vscodium/Manifest	Thu Mar 19 08:54:42 2020 +0100
@@ -3,7 +3,9 @@
 DIST vscodium-1.42.0-x64.tar.gz 83258776 BLAKE2B dd910935cbd0ce341271f40c06c7e178213dcb705d589393ef74ca9635ec7406c2f5482286843fe8c9949c45cfac03b9ce258b3a4a0757759410a4b379df7216 SHA512 8b31690b1344fd24ac22f7fe867a1f85216026ea52fe595b02cb6e66d9328125cef6cd3e94736beb45e4471034fe2ac80b2ac5540efd981896231e1e17472f0f
 DIST vscodium-1.42.1-x64.tar.gz 83257052 BLAKE2B 5c6d7b029d120ad6a8701f6fa82c5cc12bc16c9a2243623c01fedf7b9d7e93946017cd4c3cde8a54a0fbeec0347af7128de56040e8292fcfa9d4025e77445ced SHA512 4751f4e1589c81878b2e5248cb413967403d1ac42316235d85b668dbc440bee3ff13d2ba5072d255e9e3f4db8477afb66a181a90fe410cf8513ea7f112bf0718
 DIST vscodium-1.43.0-x64.tar.gz 90559327 BLAKE2B 0b7c9758f459b41bb1c2b8b824662e57fb416494ec675c9aee96d21944e6809e078d4271968a75996a8e99479b06fbcfb754080dc2e2f689a3ca5d18951a46b6 SHA512 fe56d297b57930bb24db1da57f26ec970827d5bae42cf367763e7e3678e771193fd2153ab7b68bf6a5120ce5cb6c5b2f0d57947b7c74caada9a0e9c48da2101b
+DIST vscodium-1.43.1-x64.tar.gz 90573907 BLAKE2B 929c844727d92f24f3d374f14dc68c49ef53c12d79085596f0e647c60a3d867cf3afe2ed5decb95ebe15957779c1bf61d35a68a1c83690f321be9b02d7bf934f SHA512 4abfdb0daff664a3017c8eade69b94196ddb7925fb328dde1d356f6a32578fe83b44fea4ef8e9e824ed726ae6a4ae87c3103197df5093342a226dc96bccdde5c
 EBUILD vscodium-1.42.0.ebuild 1396 BLAKE2B 491b49e34fa0c96db0c37734877f8bedefcae249fdae1659b86a98593a683bac378927423c276e3d9cc54805915a0d22325b692e259a97e8715d513d1aca2a7c SHA512 804b60fb1c8b54cc5fff14d6f77fc0a02c774245cde5aab1ad65727f7572a294d6a2c158771351123b7de2df052c8c46636746eb619ef67589ce9904fa465976
 EBUILD vscodium-1.42.1.ebuild 1396 BLAKE2B 491b49e34fa0c96db0c37734877f8bedefcae249fdae1659b86a98593a683bac378927423c276e3d9cc54805915a0d22325b692e259a97e8715d513d1aca2a7c SHA512 804b60fb1c8b54cc5fff14d6f77fc0a02c774245cde5aab1ad65727f7572a294d6a2c158771351123b7de2df052c8c46636746eb619ef67589ce9904fa465976
 EBUILD vscodium-1.43.0.ebuild 1396 BLAKE2B 491b49e34fa0c96db0c37734877f8bedefcae249fdae1659b86a98593a683bac378927423c276e3d9cc54805915a0d22325b692e259a97e8715d513d1aca2a7c SHA512 804b60fb1c8b54cc5fff14d6f77fc0a02c774245cde5aab1ad65727f7572a294d6a2c158771351123b7de2df052c8c46636746eb619ef67589ce9904fa465976
+EBUILD vscodium-1.43.1.ebuild 1396 BLAKE2B 491b49e34fa0c96db0c37734877f8bedefcae249fdae1659b86a98593a683bac378927423c276e3d9cc54805915a0d22325b692e259a97e8715d513d1aca2a7c SHA512 804b60fb1c8b54cc5fff14d6f77fc0a02c774245cde5aab1ad65727f7572a294d6a2c158771351123b7de2df052c8c46636746eb619ef67589ce9904fa465976
 MISC metadata.xml 362 BLAKE2B 39630aa08acc184fded8fff0b33271414fa85821700f5b6666eb14ff207a4c924e035c04c2d819daf960770c032879e2fe5cdb0040a10721495060432cad54a1 SHA512 145a66637ab9dd8cd6c2424673f1e775d850a49b0cccf3b8108b1f54489989f5ba9aab6d29e7bd931e5b70517226ae7a22c7486273ea90c314abdea67593c55c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app-editors/vscodium/vscodium-1.43.1.ebuild	Thu Mar 19 08:54:42 2020 +0100
@@ -0,0 +1,56 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils pax-utils
+
+DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
+HOMEPAGE="https://code.visualstudio.com"
+SRC_URI="
+	amd64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-x64.tar.gz )"
+RESTRICT="mirror strip"
+
+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/${PN}"
+	make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
+	doicon "${FILESDIR}/${PN}.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"
+	fperms +x "/opt/${PN}/resources/app/extensions/git/dist/askpass.sh"
+	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"
+}