1 |
commit: f6c01ddc3f2c8bef6335f5ff586e92a4fdefc94a |
2 |
Author: Gergely Nagy <ngg <AT> ngg <DOT> hu> |
3 |
AuthorDate: Wed Jun 9 08:04:50 2021 +0000 |
4 |
Commit: Gergely Nagy <ngg <AT> ngg <DOT> hu> |
5 |
CommitDate: Wed Jun 9 08:04:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=f6c01ddc |
7 |
|
8 |
app-editors/visual-studio-code: removed in favor of upstream app-editors/vscode |
9 |
|
10 |
Signed-off-by: Gergely Nagy <ngg <AT> ngg.hu> |
11 |
Closes: https://github.com/gentoo/dotnet/issues/504 |
12 |
|
13 |
.../files/visual-studio-code.desktop | 8 ---- |
14 |
.../files/visual-studio-code.png | Bin 20541 -> 0 bytes |
15 |
app-editors/visual-studio-code/metadata.xml | 8 ---- |
16 |
.../visual-studio-code-1.56.2.ebuild | 53 --------------------- |
17 |
4 files changed, 69 deletions(-) |
18 |
|
19 |
diff --git a/app-editors/visual-studio-code/files/visual-studio-code.desktop b/app-editors/visual-studio-code/files/visual-studio-code.desktop |
20 |
deleted file mode 100644 |
21 |
index 46ee644..0000000 |
22 |
--- a/app-editors/visual-studio-code/files/visual-studio-code.desktop |
23 |
+++ /dev/null |
24 |
@@ -1,8 +0,0 @@ |
25 |
-[Desktop Entry] |
26 |
-Name=Visual Studio Code |
27 |
-Type=Application |
28 |
-Comment=Multiplatform Visual Studio Code from Microsoft |
29 |
-Exec=visual-studio-code %F |
30 |
-TryExec=visual-studio-code |
31 |
-Icon=visual-studio-code |
32 |
-Categories=Development;IDE; |
33 |
|
34 |
diff --git a/app-editors/visual-studio-code/files/visual-studio-code.png b/app-editors/visual-studio-code/files/visual-studio-code.png |
35 |
deleted file mode 100644 |
36 |
index eea08d6..0000000 |
37 |
Binary files a/app-editors/visual-studio-code/files/visual-studio-code.png and /dev/null differ |
38 |
|
39 |
diff --git a/app-editors/visual-studio-code/metadata.xml b/app-editors/visual-studio-code/metadata.xml |
40 |
deleted file mode 100644 |
41 |
index 09d7c7e..0000000 |
42 |
--- a/app-editors/visual-studio-code/metadata.xml |
43 |
+++ /dev/null |
44 |
@@ -1,8 +0,0 @@ |
45 |
-<?xml version='1.0' encoding='UTF-8'?> |
46 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
47 |
-<pkgmetadata> |
48 |
- <maintainer type="person"> |
49 |
- <email>kuzetsa@×××××.com</email> |
50 |
- <name>kuzetsa</name> |
51 |
- </maintainer> |
52 |
-</pkgmetadata> |
53 |
|
54 |
diff --git a/app-editors/visual-studio-code/visual-studio-code-1.56.2.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.56.2.ebuild |
55 |
deleted file mode 100644 |
56 |
index 1ee0a96..0000000 |
57 |
--- a/app-editors/visual-studio-code/visual-studio-code-1.56.2.ebuild |
58 |
+++ /dev/null |
59 |
@@ -1,53 +0,0 @@ |
60 |
-# Copyright 1999-2020 Gentoo Authors |
61 |
-# Distributed under the terms of the GNU General Public License v2 |
62 |
- |
63 |
-EAPI=7 |
64 |
- |
65 |
-inherit eutils desktop |
66 |
- |
67 |
-EXEC_NAME=vscode |
68 |
-DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" |
69 |
-HOMEPAGE="https://code.visualstudio.com" |
70 |
-BASE_URI="https://update.code.visualstudio.com/${PV}" |
71 |
-SRC_URI="${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz" |
72 |
-RESTRICT="mirror strip bindist" |
73 |
- |
74 |
-LICENSE="MIT" |
75 |
-SLOT="0" |
76 |
-KEYWORDS="~amd64" |
77 |
-IUSE="" |
78 |
- |
79 |
-DEPEND="" |
80 |
-RDEPEND="${DEPEND} |
81 |
->=app-crypt/libsecret-0.18.5:0[crypt] |
82 |
->=dev-libs/libdbusmenu-16.04.0 |
83 |
->=dev-libs/nss-3.47.1-r1:0 |
84 |
->=media-libs/alsa-lib-1.1.8:0 |
85 |
->=media-libs/libpng-1.2.46:0 |
86 |
->=net-print/cups-2.1.4:0 |
87 |
->=x11-libs/cairo-1.14.12:0 |
88 |
->=x11-libs/gtk+-2.24.31-r1:2 |
89 |
->=x11-libs/libnotify-0.7.7:0 |
90 |
->=x11-libs/libXScrnSaver-1.2.2-r1:0 |
91 |
->=x11-libs/libXtst-1.2.3:0" |
92 |
- |
93 |
-QA_PRESTRIPPED="opt/${PN}/code" |
94 |
-QA_PREBUILT="opt/${PN}/code" |
95 |
- |
96 |
-pkg_setup() { |
97 |
- if use amd64; then |
98 |
- S="${WORKDIR}/VSCode-linux-x64" |
99 |
- else |
100 |
- # shouldn't be possible with -* special keyword |
101 |
- die |
102 |
- fi |
103 |
-} |
104 |
- |
105 |
-src_install() { |
106 |
- dodir "/opt" |
107 |
- # Using doins -r would strip executable bits from all binaries |
108 |
- cp -pPR "${S}" "${D}/opt/${PN}" || die "Failed to copy files" |
109 |
- dosym "${EPREFIX}/opt/${PN}/bin/code" "/usr/bin/${EXEC_NAME}" |
110 |
- make_desktop_entry "${EXEC_NAME}" "Visual Studio Code" "${PN}" "Development;IDE" |
111 |
- newicon "${S}/resources/app/resources/linux/code.png" "${PN}.png" |
112 |
-} |