changeset 475:b01471568f38

new ebuild for vscodium
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 14 Jun 2019 11:42:39 +0200
parents 670fbd1fadf9
children 3ba92cfbb2d8
files app-editors/vscodium/Manifest app-editors/vscodium/vscodium-1.35.1.ebuild
diffstat 2 files changed, 58 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app-editors/vscodium/Manifest	Fri Jun 07 08:01:33 2019 +0200
+++ b/app-editors/vscodium/Manifest	Fri Jun 14 11:42:39 2019 +0200
@@ -2,6 +2,8 @@
 AUX vscodium.png 20146 BLAKE2B 992d0bcfc250ae3e6ab25b9f6270ddfe03168973844763fab254c6bbe9f069aea3bb08a3f004a7be6209066501cc642e319b07e5916df528003d85df7fa8dbe0 SHA512 2bbc1044aa83a7be4acf099e8c196833b6cada6febe2bd49c1e6001f08cac631795814c909e6349d691cf69f45c6076d7a991e6068d5695093340720c5a436b0
 DIST vscodium-1.34.0-x64.tar.gz 68132418 BLAKE2B 2e71b624cf9260675afaa687390d0763c5e682c6f1e0c04afe0739d073b788b5d57cbd398994bd51a201afb66c45788e56d0ee5ec25d81d7ebe88432dc6fea5e SHA512 9432f297380d2c91ffbf24b5f8d565308dfd0c0a84157e1082aea4196631f4f78e72c1721468624d2c18ce8b16f3e01b08cbe787d4cb5d5a55a653db9b0de4a2
 DIST vscodium-1.35.0-x64.tar.gz 68040359 BLAKE2B 3cb7d2a607eedf211ef9b79a6bb26b4afa1b579df94e00ea83382bfad5ac9c0448264a42ab12f79f488c8daf5a286672eb8dfc453990ba4eb570c38b9a4f6895 SHA512 46404a6e5b73625fffebcce0a3f41a36a9dbfe368eeae820595a31395838ec0bfa51d792ebc05ad3b03cbb2d112330be2b509865723bafeec5d22a8186a34ddb
+DIST vscodium-1.35.1-x64.tar.gz 67118371 BLAKE2B c45afeaa66207c3511f6272ba81dc078670d8f24881264c226f7c7507c528fb3489e8d707aaea45134075347518d8cd5109b8dd6c62c934ab25c1fdc502c6cd4 SHA512 df188332b7ed41c5bfdc45ae0519991afe129688656558ca836351c13f744cbdf8a61f107e6f15a58a2397fcc1ede3af6e8a3b1acfb8170fade8763f0edb7536
 EBUILD vscodium-1.34.0.ebuild 1368 BLAKE2B 199b1fdaca4bfb6bc414447c46babf22d9aeafc52c9ed2a892c79f46f62123c80d1a12e30e72ca1a0ed70394863c0b86ea142c748dbb78f6653e8c209a66fc8b SHA512 194fd39532391dd1f961db843f805af1b1712612b28ff4d220ea9d348504cf8caef52d57d00d83473cda3c2375dc9a0a9ec9602b3570663969c01e65b6c9b57c
 EBUILD vscodium-1.35.0.ebuild 1362 BLAKE2B 32a9b4085214f19035f4694af7345a04f921edcb7049f1879ceb269fd66d9c502572a05ec3e633784843df19d5b58c742a05c4ccf7d589994aa8a23b377554f8 SHA512 2d084b17893e88b5c12fbc5b2dbdc0a692e8c2d17b07b6917ce332020152d7d18deddc0482212d252bd1589cfb3a5b7413911c1e52d0904aca575a098f12de19
+EBUILD vscodium-1.35.1.ebuild 1362 BLAKE2B 32a9b4085214f19035f4694af7345a04f921edcb7049f1879ceb269fd66d9c502572a05ec3e633784843df19d5b58c742a05c4ccf7d589994aa8a23b377554f8 SHA512 2d084b17893e88b5c12fbc5b2dbdc0a692e8c2d17b07b6917ce332020152d7d18deddc0482212d252bd1589cfb3a5b7413911c1e52d0904aca575a098f12de19
 MISC metadata.xml 362 BLAKE2B 39630aa08acc184fded8fff0b33271414fa85821700f5b6666eb14ff207a4c924e035c04c2d819daf960770c032879e2fe5cdb0040a10721495060432cad54a1 SHA512 145a66637ab9dd8cd6c2424673f1e775d850a49b0cccf3b8108b1f54489989f5ba9aab6d29e7bd931e5b70517226ae7a22c7486273ea90c314abdea67593c55c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app-editors/vscodium/vscodium-1.35.1.ebuild	Fri Jun 14 11:42:39 2019 +0200
@@ -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}/libnode.so"
+	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"
+}