1 |
commit: 457adba90b57363bb9b32ad6a8635da345366883 |
2 |
Author: Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com> |
3 |
AuthorDate: Sat Apr 17 18:04:33 2021 +0000 |
4 |
Commit: Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com> |
5 |
CommitDate: Sat Apr 17 18:06:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=457adba9 |
7 |
|
8 |
app-editors/visual-studio-code-bin: version bump |
9 |
|
10 |
Signed-off-by: Adel KARA SLIMANE <adel <AT> karaslimane.com> |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
12 |
|
13 |
app-editors/visual-studio-code-bin/Manifest | 3 + |
14 |
.../visual-studio-code-bin-1.55.2.ebuild | 78 ++++++++++++++++++++++ |
15 |
2 files changed, 81 insertions(+) |
16 |
|
17 |
diff --git a/app-editors/visual-studio-code-bin/Manifest b/app-editors/visual-studio-code-bin/Manifest |
18 |
index f4af6a20f..41f3fa373 100644 |
19 |
--- a/app-editors/visual-studio-code-bin/Manifest |
20 |
+++ b/app-editors/visual-studio-code-bin/Manifest |
21 |
@@ -4,3 +4,6 @@ DIST visual-studio-code-bin-1.54.2-arm64.tar.gz 103407705 BLAKE2B 0af7c16e0d184b |
22 |
DIST visual-studio-code-bin-1.55.0-amd64.tar.gz 97525604 BLAKE2B 732b7f0986ee8855cc84eeca3e6a8ead35c38454755146876f670dc5deafb334a4ab2862caa8602d3821ea5011d26f4d8a08d3152814a567b635d604ce149b63 SHA512 f4c159fbee0a22727326fbb692f0b6a6d409e8a15c2472dfe2e6467e440108089cad9b1ceb48aa25c85de6ee2bfe24879862b50c7b1eee810e3c5ef50f972ba3 |
23 |
DIST visual-studio-code-bin-1.55.0-arm.tar.gz 88836120 BLAKE2B 67e988161b42a57cb67ab03181415c0f65bf3e1e6c036550f7fa15f033c3944357476d4b4bb4473c07ff9820c667a73e5451f280848d794ab9ac15209c67510f SHA512 177b8697a1e1f58aaa28987bf2728eab0d52858451d84b031d44ea9678e38c87a3d5b12837a829303a9f7e8d76c2b71cc48b32a18cf0c04739e036c9b6cff80d |
24 |
DIST visual-studio-code-bin-1.55.0-arm64.tar.gz 102041107 BLAKE2B d43a7bc4018ff05a7dc2efdb2e4ba1dd4865897726435a20ef9f12831b0e378918eb7774ac3dafaa474f18e485a66feb572842ec9196f7231f1be5671f1bafdf SHA512 1673c9bc4ea3619d62d5c503366babbd7f3c6a5ce7d0db42c26bd8d428ee961bb669177eec8a29748791023e992504a87bd2db46fbfe93015ecfcf99aae6dcef |
25 |
+DIST visual-studio-code-bin-1.55.2-amd64.tar.gz 97507317 BLAKE2B b9278fe79e07a7884827a90c6d177819a8b81967cdfc1e9dc715c0d51a48e2c12980ebe994b64df125d33559a70beb38f6214c849a9204c82c75421438fbd70f SHA512 0f3727eb505b5ca2cdec8cc708ae88ba2028d068d7f69df35144b3c43dc8a1a5bbbd7471092cf8e2848018661496eb55442fb18e7e0595436f28502c94537556 |
26 |
+DIST visual-studio-code-bin-1.55.2-arm.tar.gz 88826643 BLAKE2B c128e483545bcd709783c3e5f323fe98d93f28a84d2eeb6651102fba91182264716208a23d284e4858d19f5c1602f40bffea60d2f4c6fb72aafaf5f44560ee8f SHA512 1fc03b563ec69d53429e4ae1d1c6dd60bf72c439c66c0300287c393acc224fd77f2a596fd90a23205007ba6e5bcea105009e971b19ad032db0ca66c45c171417 |
27 |
+DIST visual-studio-code-bin-1.55.2-arm64.tar.gz 102015928 BLAKE2B f55928101bf728071384747bdb70a82aad6e7bff9cf506d2284e48fac3e21acb64dbf34bdc9023dd4af82f0f53d51e2f0b985be9c76c7c10309673794d86430b SHA512 2e311c490fc01c9db00cc275d55f1f9c16a622259bd2f6e5e6a16c5bbfee7b06f01f35055eff97415f05c033112a0f3f48779c1d2c55a8685f00ad301da9bbaa |
28 |
|
29 |
diff --git a/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000..5bb09beec |
32 |
--- /dev/null |
33 |
+++ b/app-editors/visual-studio-code-bin/visual-studio-code-bin-1.55.2.ebuild |
34 |
@@ -0,0 +1,78 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit desktop eutils pax-utils xdg |
41 |
+ |
42 |
+DESCRIPTION="Multiplatform Visual Studio Code from Microsoft" |
43 |
+HOMEPAGE="https://code.visualstudio.com" |
44 |
+SRC_URI=" |
45 |
+ amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz ) |
46 |
+ arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz ) |
47 |
+ arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )" |
48 |
+ |
49 |
+RESTRICT="mirror strip bindist" |
50 |
+ |
51 |
+LICENSE="MIT Microsoft-VSCode" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="-* ~amd64 ~arm ~arm64" |
54 |
+IUSE="" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ app-accessibility/at-spi2-atk |
58 |
+ app-crypt/libsecret[crypt] |
59 |
+ dev-libs/nss |
60 |
+ media-libs/libpng:0/16 |
61 |
+ x11-libs/cairo |
62 |
+ x11-libs/gtk+:3 |
63 |
+ x11-libs/libnotify |
64 |
+ x11-libs/libxkbfile |
65 |
+ x11-libs/libXScrnSaver |
66 |
+ x11-libs/libXtst |
67 |
+ x11-libs/pango" |
68 |
+ |
69 |
+QA_PRESTRIPPED="*" |
70 |
+ |
71 |
+QA_PREBUILT=" |
72 |
+ opt/${PN}/code |
73 |
+ opt/${PN}/libEGL.so |
74 |
+ opt/${PN}/libffmpeg.so |
75 |
+ opt/${PN}/libGLESv2.so |
76 |
+ opt/${PN}/libvk_swiftshader.so |
77 |
+ opt/${PN}/libvulkan.so |
78 |
+ opt/${PN}/swiftshader/libEGL.so |
79 |
+ opt/${PN}/swiftshader/libGLESv2.so" |
80 |
+ |
81 |
+pkg_setup() { |
82 |
+ if use amd64; then |
83 |
+ S="${WORKDIR}/VSCode-linux-x64" |
84 |
+ elif use arm; then |
85 |
+ S="${WORKDIR}/VSCode-linux-armhf" |
86 |
+ elif use arm64; then |
87 |
+ S="${WORKDIR}/VSCode-linux-arm64" |
88 |
+ else |
89 |
+ die "Visual Studio Code only supports amd64, arm and arm64" |
90 |
+ fi |
91 |
+} |
92 |
+ |
93 |
+src_install() { |
94 |
+ pax-mark m code |
95 |
+ insinto "/opt/${PN}" |
96 |
+ doins -r * |
97 |
+ fperms +x /opt/${PN}/{,bin/}code |
98 |
+ fperms +x /opt/${PN}/chrome-sandbox |
99 |
+ fperms -R +x /opt/${PN}/resources/app/out/vs/base/node |
100 |
+ fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg |
101 |
+ dosym "../../opt/${PN}/bin/code" "usr/bin/code" |
102 |
+ domenu "${FILESDIR}/code.desktop" |
103 |
+ domenu "${FILESDIR}/code-url-handler.desktop" |
104 |
+ dodoc "resources/app/LICENSE.rtf" |
105 |
+ newicon "resources/app/resources/linux/code.png" "visual-studio-code.png" |
106 |
+} |
107 |
+ |
108 |
+pkg_postinst() { |
109 |
+ xdg_pkg_postinst |
110 |
+ elog "You may want to install some additional utils, check in:" |
111 |
+ elog "https://code.visualstudio.com/Docs/setup#_additional-tools" |
112 |
+} |