changeset 455:2835714bab47

update vs code ebuild
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 07 Mar 2018 08:00:18 +0100
parents 175c21f9bfe2
children f09173893b9b
files app-editors/visual-studio-code/Manifest app-editors/visual-studio-code/visual-studio-code-1.20.1.ebuild
diffstat 2 files changed, 66 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app-editors/visual-studio-code/Manifest	Thu Dec 14 11:12:12 2017 +0100
+++ b/app-editors/visual-studio-code/Manifest	Wed Mar 07 08:00:18 2018 +0100
@@ -2,4 +2,7 @@
 AUX visual-studio-code.png 30538 SHA256 6f778f383747af9b53a934ce9ba95fe6be0c9cf1fe5da97dc925787a432544fa SHA512 fabb74b9ab860d8003798ea85db2a3c79c1b683897acc5b580884a8946fa060276f8cdf459a9fb5fd9a560094b250838a3dfa2e5e5f8032601a155466dffa160 WHIRLPOOL 1f9a7a5919384d738841b639ef7ec842a8e5ab86e98c8942536234bd471c449fb34f057ac9ee73cb72b6bdadd451d81c09612644672fdd571a73d989b884cd31
 DIST visual-studio-code-1.18.1-amd64.tar.gz 64846354 SHA256 913783d9f318861c0945f21aeb2f04278dc6c64564c9cfc24d757962b377f640 SHA512 2428a8f6eac7b12d74191bf250b6e2dcecf8a2f829aaf718600bdfd8b060e6cc3f59532c3c823ee3005dd67db28c08aca925aa2afcf94d865f6577c62d36f7a6 WHIRLPOOL 8b645001830278d0d40d8c7e88fd2a9b5ec24b8b5e645bc193468b3ee540cc799f5994bfb2716a9cc96ee57a4dd2f0a8bc8a5f8ea70302f7a6c2c4fb4790c7e0
 DIST visual-studio-code-1.18.1-x86.tar.gz 65859677 SHA256 f1b0c32cd46b3a10039978a338ee741f99b8ca06062ca04624bcaf89af06fa8d SHA512 c1282d4ace39173b7a25caafcc6f578f53f0c7511fdb4810afdc9dde4059e9e188c2ba48e02f40adc7f0a2bc714ea71c791f531b4cb069f665ef00e5ec42f901 WHIRLPOOL b56e5d2234c0f282ecf69aed712a6c149676ab3c84598937871748baa413ba2ba0982325c81f47446a7c4c25c9589ede96b6a555d609b7e4fcecc49a7646074e
+DIST visual-studio-code-1.20.1-amd64.tar.gz 65805135 SHA256 3562d23f5a0735bef55baadafc04815404170c24c99dc4254f7a9cb0bbc7a067 SHA512 7d56ae1117024b525f11a4fdee94cd191c419e13919034a2097b19299212f70450fdc71f9bc66437e4ba6c1895fd90e11a2c619d823830fda165bca8bbad9040 WHIRLPOOL e74e6e3611e8b710ad12168f222a534e05413c339c6f14eeda6886d0d345ff175bf6b5201108d1a6d5f213326cc5cb9d71726630195e011994ca81dae7e59f38
+DIST visual-studio-code-1.20.1-x86.tar.gz 66820122 SHA256 56ab95667b2cddd6a4fee2ad373ccb87fbfa3038a946eab39b31d1750afacc3f SHA512 f2ca95bf960eecf7a443e5369479f08b67bf2e6653885be7fa8309d2cd845ea175e40f48bb3beeb1b3c0b245bb7ba1d3bbde045b870bfb84fa3923db7f96f8c7 WHIRLPOOL 65576670fd550a4bb0274c39098ebb9491959275576d4318f60cf8e20ff2d1c22d696fa9be92ba84acf3fb6d705d8692f08ed19ef9a0e2df50eb4b1e99ebb23b
 EBUILD visual-studio-code-1.18.1.ebuild 1554 SHA256 9bdb6e6cae41cc53928c5496e56300eb24c06e753154d44914f5241e5c0a4f75 SHA512 fb13215cdee9c31e88e2847c90d8f8408912b7e556f399a8ed5f75a3cbc4ffed9fe337eef24716ca2682a2dc199845761756264eaa0462951748ac16f632785a WHIRLPOOL f22275b14b56781c38b89f8c9cb4e5b485e8a1500e165f4382a315621bda761c155c570cb22dc82ec8227444e4ccf10baf55990695cad16377e83da960780cd9
+EBUILD visual-studio-code-1.20.1.ebuild 1554 SHA256 9bdb6e6cae41cc53928c5496e56300eb24c06e753154d44914f5241e5c0a4f75 SHA512 fb13215cdee9c31e88e2847c90d8f8408912b7e556f399a8ed5f75a3cbc4ffed9fe337eef24716ca2682a2dc199845761756264eaa0462951748ac16f632785a WHIRLPOOL f22275b14b56781c38b89f8c9cb4e5b485e8a1500e165f4382a315621bda761c155c570cb22dc82ec8227444e4ccf10baf55990695cad16377e83da960780cd9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app-editors/visual-studio-code/visual-studio-code-1.20.1.ebuild	Wed Mar 07 08:00:18 2018 +0100
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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"
+BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
+SRC_URI="
+	x86? ( ${BASE_URI}/linux-ia32/stable ->  ${P}-x86.tar.gz )
+	amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
+	"
+RESTRICT="mirror strip bindist"
+
+LICENSE="EULA MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="
+	>=media-libs/libpng-1.2.46
+	>=x11-libs/gtk+-2.24.8-r1:2
+	x11-libs/cairo
+	gnome-base/gconf
+	x11-libs/libXtst
+"
+
+RDEPEND="
+	${DEPEND}
+	>=net-print/cups-2.0.0
+	x11-libs/libnotify
+	x11-libs/libXScrnSaver
+	app-crypt/libsecret[crypt]
+"
+
+QA_PRESTRIPPED="opt/${PN}/code"
+QA_PREBUILT="opt/${PN}/code"
+
+pkg_setup(){
+	use amd64 && S="${WORKDIR}/VSCode-linux-x64" || S="${WORKDIR}/VSCode-linux-ia32"
+}
+
+src_install(){
+	pax-mark m code
+	insinto "/opt/${PN}"
+	doins -r *
+	dosym "/opt/${PN}/bin/code" "/usr/bin/${PN}"
+	make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
+	doicon ${FILESDIR}/${PN}.png
+	fperms +x "/opt/${PN}/code"
+	fperms +x "/opt/${PN}/bin/code"
+	fperms +x "/opt/${PN}/libnode.so"
+	fperms +x "/opt/${PN}/resources/app/node_modules/vscode-ripgrep/bin/rg"
+	insinto "/usr/share/licenses/${PN}"
+	newins "resources/app/LICENSE.txt" "LICENSE"
+}
+
+pkg_postinst(){
+	elog "You may install some additional utils, so check them in:"
+	elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
+}