1 |
commit: 719917d39f0916f2feb3e80f7279dab21e1aa477 |
2 |
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com> |
3 |
AuthorDate: Sat Nov 6 10:21:01 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 7 04:15:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719917d3 |
7 |
|
8 |
app-editors/vscode: remove old version |
9 |
|
10 |
Bug: https://bugs.gentoo.org/822135 |
11 |
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
app-editors/vscode/Manifest | 3 - |
15 |
app-editors/vscode/vscode-1.59.1.ebuild | 105 -------------------------------- |
16 |
2 files changed, 108 deletions(-) |
17 |
|
18 |
diff --git a/app-editors/vscode/Manifest b/app-editors/vscode/Manifest |
19 |
index 1eb365579dd..6e04c3560fb 100644 |
20 |
--- a/app-editors/vscode/Manifest |
21 |
+++ b/app-editors/vscode/Manifest |
22 |
@@ -1,6 +1,3 @@ |
23 |
-DIST vscode-1.59.1-amd64.tar.gz 106142213 BLAKE2B eed73d0e98ea0275ed005586f18e14b3671a4dea301f44f469798bae3c298d8eb7e819c896957f9a1cd3e978ce171ff9d3a7433ede540b0647cae735b2d53bcd SHA512 c7ae7417bd233498b6be0dbcbc67ee44283a14938bfecb3b61d224533a4edf31c291bebdb90e87d769cb52afb9ac17f2fb20ba64dab7773d1ce965aa9d7bfae6 |
24 |
-DIST vscode-1.59.1-arm.tar.gz 97705768 BLAKE2B daf2b56ecbf45b57d6b147e4b839000621e367caac66189151b9021ade6901941a8d641291a132d1c1bbdf40bb411bc65d8663743307e896670cfaf24d335feb SHA512 ade1499986a4cefad933cbcf9a073230e74b1a554248e41f1b58480d53b68f6ed0fa0e8faa6f52e59eebc94dcc5127bdbedf77deeab0b108ec7832c71cfd3f6f |
25 |
-DIST vscode-1.59.1-arm64.tar.gz 111284699 BLAKE2B c349c47208a6caf868070f9bb5bb6b23ff6eaa11de8d754edf8bec8fdd6fdd81c0ff246829a7ef4a92697ecb6356b779456aa8c1781f50ca4c7891297788aa43 SHA512 27b8aeac5ed2bac8bc6dc502ca39cac94f7e8ea4ea6baedffaa3b44dea451738e798674976444268db5543b6a144d55cadd47ded755a66c484c4c05cd5d20ad8 |
26 |
DIST vscode-1.60.2-amd64.tar.gz 105537736 BLAKE2B 395cbea3c7522749423d8b79d7461189dbb04b1d751bb4a70b6ce7782e971c1dac0e51cda91e961cab0fceeef16e073803d2f54bd6d8840596a2ea45f9f34369 SHA512 caf8acea129533a6cb5824d5ed97f9e9f740dcdc67c3a0c3cf778d58a8fddebe870892d25ad74116c5311a53497db933ff70e5e250480c3a0d76e5fc62733b02 |
27 |
DIST vscode-1.60.2-arm.tar.gz 94232609 BLAKE2B eb896cc316dfc96d6d523d15da735b18eb6e6011d7ec92b5f9fa8732f574097579c8af4601312c831a9f4aa752087188e203b761e86df31b688838b45354deb1 SHA512 8261b71740344f927091dadd28bcb06d17b70551da0fd0b3c20378ec744cc31660ae32aadedd87a8942c410da381dbf7e023c27af913a62a1bba774d6de241ea |
28 |
DIST vscode-1.60.2-arm64.tar.gz 107827801 BLAKE2B aff930e81534972f2dc3d7d0d5cc489ec77818c0304859d64838317fbaf9225f4325a8b237268569f88eca7c76ea7a73275d90747b4485eff30d5f59a9cdd977 SHA512 cc50c7ec44d546b227c271f621be87120a1c36c2ed8236421e9c7227c1cb83bf970d5673191afc1383c4479393b5fae873fd6829179d1d9139b6c3ec32c5c1fd |
29 |
|
30 |
diff --git a/app-editors/vscode/vscode-1.59.1.ebuild b/app-editors/vscode/vscode-1.59.1.ebuild |
31 |
deleted file mode 100644 |
32 |
index 0004959b3c5..00000000000 |
33 |
--- a/app-editors/vscode/vscode-1.59.1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,105 +0,0 @@ |
36 |
-# Copyright 1999-2021 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-inherit desktop pax-utils xdg |
42 |
- |
43 |
-DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" |
44 |
-HOMEPAGE="https://code.visualstudio.com" |
45 |
-SRC_URI=" |
46 |
- amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz ) |
47 |
- arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz ) |
48 |
- arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz ) |
49 |
-" |
50 |
-S="${WORKDIR}" |
51 |
- |
52 |
-RESTRICT="mirror strip bindist" |
53 |
- |
54 |
-LICENSE=" |
55 |
- Apache-2.0 |
56 |
- BSD |
57 |
- BSD-1 |
58 |
- BSD-2 |
59 |
- BSD-4 |
60 |
- CC-BY-4.0 |
61 |
- ISC |
62 |
- LGPL-2.1+ |
63 |
- Microsoft-vscode |
64 |
- MIT |
65 |
- MPL-2.0 |
66 |
- openssl |
67 |
- PYTHON |
68 |
- TextMate-bundle |
69 |
- Unlicense |
70 |
- UoI-NCSA |
71 |
- W3C |
72 |
-" |
73 |
-SLOT="0" |
74 |
-KEYWORDS="-* ~amd64 ~arm ~arm64" |
75 |
- |
76 |
-RDEPEND=" |
77 |
- app-accessibility/at-spi2-atk |
78 |
- app-crypt/libsecret[crypt] |
79 |
- dev-libs/nss |
80 |
- media-libs/alsa-lib |
81 |
- media-libs/libpng:0/16 |
82 |
- x11-libs/cairo |
83 |
- x11-libs/gtk+:3 |
84 |
- x11-libs/libnotify |
85 |
- x11-libs/libxkbcommon |
86 |
- x11-libs/libxkbfile |
87 |
- x11-libs/libXScrnSaver |
88 |
- x11-libs/libXtst |
89 |
- x11-libs/pango |
90 |
-" |
91 |
- |
92 |
-QA_PREBUILT=" |
93 |
- /opt/vscode/code |
94 |
- /opt/vscode/libEGL.so |
95 |
- /opt/vscode/libffmpeg.so |
96 |
- /opt/vscode/libGLESv2.so |
97 |
- /opt/vscode/libvulkan.so* |
98 |
- /opt/vscode/chrome-sandbox |
99 |
- /opt/vscode/libvk_swiftshader.so |
100 |
- /opt/vscode/swiftshader/libEGL.so |
101 |
- /opt/vscode/swiftshader/libGLESv2.so |
102 |
- /opt/vscode/resources/app/extensions/* |
103 |
- /opt/vscode/resources/app/node_modules.asar.unpacked/* |
104 |
-" |
105 |
- |
106 |
-src_install() { |
107 |
- if use amd64; then |
108 |
- cd "${WORKDIR}/VSCode-linux-x64" || die |
109 |
- elif use arm; then |
110 |
- cd "${WORKDIR}/VSCode-linux-armhf" || die |
111 |
- elif use arm64; then |
112 |
- cd "${WORKDIR}/VSCode-linux-arm64" || die |
113 |
- else |
114 |
- die "Visual Studio Code only supports amd64, arm and arm64" |
115 |
- fi |
116 |
- |
117 |
- # Cleanup |
118 |
- rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die |
119 |
- |
120 |
- # Install |
121 |
- pax-mark m code |
122 |
- insinto "/opt/${PN}" |
123 |
- doins -r * |
124 |
- fperms +x /opt/${PN}/{,bin/}code |
125 |
- fperms 4711 /opt/${PN}/chrome-sandbox |
126 |
- fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass.sh |
127 |
- fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass-empty.sh |
128 |
- fperms -R +x /opt/${PN}/resources/app/out/vs/base/node |
129 |
- fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg |
130 |
- dosym "../../opt/${PN}/bin/code" "usr/bin/vscode" |
131 |
- domenu "${FILESDIR}/vscode.desktop" |
132 |
- domenu "${FILESDIR}/vscode-url-handler.desktop" |
133 |
- newicon "resources/app/resources/linux/code.png" "vscode.png" |
134 |
-} |
135 |
- |
136 |
-pkg_postinst() { |
137 |
- xdg_pkg_postinst |
138 |
- elog "You may want to install some additional utils, check in:" |
139 |
- elog "https://code.visualstudio.com/Docs/setup#_additional-tools" |
140 |
-} |