1 |
commit: f47e3bc742e19c0435867ca9e3990cdd7aef5b37 |
2 |
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com> |
3 |
AuthorDate: Wed Jun 23 11:22:24 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 30 06:52:52 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47e3bc7 |
7 |
|
8 |
app-editors/vscodium: version bump to 1.57.1 |
9 |
|
10 |
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/21387 |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
app-editors/vscodium/Manifest | 3 + |
15 |
app-editors/vscodium/vscodium-1.57.1.ebuild | 95 +++++++++++++++++++++++++++++ |
16 |
2 files changed, 98 insertions(+) |
17 |
|
18 |
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest |
19 |
index c2b418a0796..b3828d6c776 100644 |
20 |
--- a/app-editors/vscodium/Manifest |
21 |
+++ b/app-editors/vscodium/Manifest |
22 |
@@ -4,3 +4,6 @@ DIST vscodium-1.56.2-arm64.tar.gz 113358341 BLAKE2B f7f8c8589985edd11ba80b4fff9a |
23 |
DIST vscodium-1.57.0-amd64.tar.gz 107752144 BLAKE2B c7f6f07a526e25b52f5a93eecdcf285f32bf5af38ff4e0b4882303078c110555134e37d85fad01d92970758e867e17e199586878a0a3abebd6fc18866d1c557a SHA512 e58d6161cff2ab0ef206ae629c65d03a947cc9112826a880f86c296d19462edf03e66c2d17399268b32aed597ea688f93b20cade8aac79d97871306c4d967073 |
24 |
DIST vscodium-1.57.0-arm.tar.gz 96394761 BLAKE2B 3fc3ab8d4be7343cc8597cf9c09a13e1e28a1bfce12b19a11f5bdf46c1d6931c12718306f19c78fd7c567b622bf40434165009b0b0b6b9de3b86005833188511 SHA512 d7eb1776ceedd0072b039a04ec194779d6c27decc92d311cc9bd8c630b776ec1c85e46b8c3afe93c3cae904f27a2e05d69c6ca4155cae6a90c44570f59afedb2 |
25 |
DIST vscodium-1.57.0-arm64.tar.gz 113075134 BLAKE2B eeead9b70a8e7b353ac744b65b3854ce5954f242a777e974ba4c8a586aa8c99d6dc5ee793e01568275a3edc48f8287ee3c3c8d1ae6b3c54b9df8913d4f32f96d SHA512 0c8a282b36ec3067246b590c241b3301a623cc9b0bd15bdbc3a2ad6303399c24bb721264ea69f4342717d8ad29046e6ed25ff6b3449923a315e2df2ccc85e0db |
26 |
+DIST vscodium-1.57.1-amd64.tar.gz 107747154 BLAKE2B 0a348d77616eb691b9a7ef7ded4a2f3b07cf6e44b0e37fdc4f93f0a2327d040aa8a5442f1b978d6c5086d188bcb1aedbefef5f449da05a3f772b1d029bf38e26 SHA512 f4560725d67e690a99b6c1911a1542f877a0caa44e5b6be1aa4a06e0c3c3b16454c06a1a3d881a6af43b4ab97619b9fa464dc979c99c2af0882fe2b2960499d6 |
27 |
+DIST vscodium-1.57.1-arm.tar.gz 96383568 BLAKE2B 13140773fe7442d0c947dba2e9b30ea80fda5f42bdf8557e214bca2741e92d99f8e11821e569fe69b1ade84cc277604a931422610cfdd8a35dfe05be30c9d20a SHA512 2d7e406674b22ce9ca12aee423147b31df8381e615e2a7341c3373509cd63146325dd276bacebd63221dac0cde8b6c0c3b9406c4a437612b46e2e55bf4bb6531 |
28 |
+DIST vscodium-1.57.1-arm64.tar.gz 113062013 BLAKE2B 8befda9f99183097963842fd86e5721563562aba540a4634c273de88fff344f4f3e0554329d5a964f610b5eef02e7f34fd3a2380a96abfa44debbcc7f250e3f2 SHA512 22254e07ea9527b4ecdc77b63aedd55a56b7ede719178a74eeea7134fadda0beab7b604549625c0a48dafe3d18e14c997111ffea261086a608faa9567af911b6 |
29 |
|
30 |
diff --git a/app-editors/vscodium/vscodium-1.57.1.ebuild b/app-editors/vscodium/vscodium-1.57.1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..e25a3967ed4 |
33 |
--- /dev/null |
34 |
+++ b/app-editors/vscodium/vscodium-1.57.1.ebuild |
35 |
@@ -0,0 +1,95 @@ |
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="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" |
44 |
+HOMEPAGE="https://vscodium.com/" |
45 |
+SRC_URI=" |
46 |
+ amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz ) |
47 |
+ arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.tar.gz ) |
48 |
+ arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz ) |
49 |
+" |
50 |
+ |
51 |
+RESTRICT="mirror strip bindist" |
52 |
+ |
53 |
+LICENSE=" |
54 |
+ Apache-2.0 |
55 |
+ BSD |
56 |
+ BSD-1 |
57 |
+ BSD-2 |
58 |
+ BSD-4 |
59 |
+ CC-BY-4.0 |
60 |
+ ISC |
61 |
+ LGPL-2.1+ |
62 |
+ MIT |
63 |
+ MPL-2.0 |
64 |
+ openssl |
65 |
+ PYTHON |
66 |
+ TextMate-bundle |
67 |
+ Unlicense |
68 |
+ UoI-NCSA |
69 |
+ W3C |
70 |
+" |
71 |
+SLOT="0" |
72 |
+KEYWORDS="-* ~amd64 ~arm ~arm64" |
73 |
+IUSE="" |
74 |
+ |
75 |
+RDEPEND=" |
76 |
+ app-accessibility/at-spi2-atk |
77 |
+ app-crypt/libsecret[crypt] |
78 |
+ dev-libs/nss |
79 |
+ media-libs/alsa-lib |
80 |
+ media-libs/libpng:0/16 |
81 |
+ net-print/cups |
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/vscodium/codium |
94 |
+ /opt/vscodium/libEGL.so |
95 |
+ /opt/vscodium/libffmpeg.so |
96 |
+ /opt/vscodium/libGLESv2.so |
97 |
+ /opt/vscodium/libvulkan.so* |
98 |
+ /opt/vscodium/chrome-sandbox |
99 |
+ /opt/vscodium/libvk_swiftshader.so |
100 |
+ /opt/vscodium/swiftshader/libEGL.so |
101 |
+ /opt/vscodium/swiftshader/libGLESv2.so |
102 |
+ /opt/vscodium/resources/app/extensions/* |
103 |
+ /opt/vscodium/resources/app/node_modules.asar.unpacked/* |
104 |
+" |
105 |
+ |
106 |
+S="${WORKDIR}" |
107 |
+ |
108 |
+src_install() { |
109 |
+ # Cleanup |
110 |
+ rm "${S}/resources/app/LICENSE.txt" || die |
111 |
+ |
112 |
+ # Install |
113 |
+ pax-mark m codium |
114 |
+ insinto "/opt/${PN}" |
115 |
+ doins -r * |
116 |
+ fperms +x /opt/${PN}/{,bin/}codium |
117 |
+ fperms +x /opt/${PN}/chrome-sandbox |
118 |
+ fperms -R +x /opt/${PN}/resources/app/out/vs/base/node |
119 |
+ fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg |
120 |
+ dosym "../../opt/${PN}/bin/codium" "usr/bin/vscodium" |
121 |
+ domenu "${FILESDIR}/vscodium.desktop" |
122 |
+ domenu "${FILESDIR}/vscodium-url-handler.desktop" |
123 |
+ newicon "resources/app/resources/linux/code.png" "vscodium.png" |
124 |
+} |
125 |
+ |
126 |
+pkg_postinst() { |
127 |
+ xdg_pkg_postinst |
128 |
+ elog "When compared to the regular VSCode, VSCodium has a few quirks" |
129 |
+ elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md" |
130 |
+} |