From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B2E5F138334 for ; Fri, 8 Nov 2019 06:14:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A539CE0ABE; Fri, 8 Nov 2019 06:14:27 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B570E0ABE for ; Fri, 8 Nov 2019 06:14:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B96D434CA53 for ; Fri, 8 Nov 2019 06:14:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2348826C for ; Fri, 8 Nov 2019 06:14:16 +0000 (UTC) From: "Mikhail Pukhlikov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikhail Pukhlikov" Message-ID: <1573193647.412be7b6ca817ae63a14d51f96eaf51b9f806512.cynede@gentoo> Subject: [gentoo-commits] repo/proj/dotnet:master commit in: app-editors/visual-studio-code/ X-VCS-Repository: repo/proj/dotnet X-VCS-Files: app-editors/visual-studio-code/visual-studio-code-1.40.0.ebuild X-VCS-Directories: app-editors/visual-studio-code/ X-VCS-Committer: cynede X-VCS-Committer-Name: Mikhail Pukhlikov X-VCS-Revision: 412be7b6ca817ae63a14d51f96eaf51b9f806512 X-VCS-Branch: master Date: Fri, 8 Nov 2019 06:14:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 573e5344-6dc7-490d-adf8-c697ff96b167 X-Archives-Hash: 31e57e9fcc43179633d260d2e6c638c4 commit: 412be7b6ca817ae63a14d51f96eaf51b9f806512 Author: Christian Groschupp groschupp org> AuthorDate: Thu Nov 7 21:20:27 2019 +0000 Commit: Mikhail Pukhlikov gentoo org> CommitDate: Fri Nov 8 06:14:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=412be7b6 app-editors/visual-studio-code: bump to 1.40.0 Closes: https://github.com/gentoo/dotnet/pull/450 Signed-off-by: Mikhail Pukhlikov gentoo.org> .../visual-studio-code-1.40.0.ebuild | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/app-editors/visual-studio-code/visual-studio-code-1.40.0.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.40.0.ebuild new file mode 100644 index 0000000..d0579ad --- /dev/null +++ b/app-editors/visual-studio-code/visual-studio-code-1.40.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit eutils desktop + +EXEC_NAME=vscode +DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" +HOMEPAGE="https://code.visualstudio.com" +BASE_URI="https://vscode-update.azurewebsites.net/${PV}" +SRC_URI="${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz" +RESTRICT="mirror strip bindist" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=gnome-base/gconf-3.2.6-r4:2 +>=media-libs/libpng-1.2.46:0 +>=x11-libs/cairo-1.14.12:0 +>=x11-libs/gtk+-2.24.31-r1:2 +>=x11-libs/libXtst-1.2.3:0" + +RDEPEND="${DEPEND} +>=app-crypt/libsecret-0.18.5:0[crypt] +>=net-print/cups-2.1.4:0 +>=dev-libs/libdbusmenu-16.04.0 +>=x11-libs/libnotify-0.7.7:0 +>=x11-libs/libXScrnSaver-1.2.2-r1:0" + +QA_PRESTRIPPED="opt/${PN}/code" +QA_PREBUILT="opt/${PN}/code" + +pkg_setup() { + if use amd64; then + S="${WORKDIR}/VSCode-linux-x64" + elif use x86; then + S="${WORKDIR}/VSCode-linux-ia32" + else + # shouldn't be possible with -* special keyword + die + fi +} + +src_install() { + dodir "/opt" + # Using doins -r would strip executable bits from all binaries + cp -pPR "${S}" "${D}/opt/${PN}" || die "Failed to copy files" + dosym "${EPREFIX}/opt/${PN}/bin/code" "/usr/bin/${EXEC_NAME}" + make_desktop_entry "${EXEC_NAME}" "Visual Studio Code" "${PN}" "Development;IDE" + newicon "${S}/resources/app/resources/linux/code.png" "${PN}.png" +}