1 |
commit: 01aba18c0d101a1451606b4dc02f2e872d7bc409 |
2 |
Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> |
3 |
AuthorDate: Sun Feb 7 22:19:33 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sun Feb 7 22:19:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01aba18c |
7 |
|
8 |
app-editors/vscodium-bin: bump to 1.53.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.13, Repoman-3.0.2 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com> |
12 |
|
13 |
app-editors/vscodium-bin/Manifest | 3 + |
14 |
.../vscodium-bin/vscodium-bin-1.53.0.ebuild | 75 ++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/app-editors/vscodium-bin/Manifest b/app-editors/vscodium-bin/Manifest |
18 |
index cbf5b35c..86b8d22a 100644 |
19 |
--- a/app-editors/vscodium-bin/Manifest |
20 |
+++ b/app-editors/vscodium-bin/Manifest |
21 |
@@ -1,3 +1,6 @@ |
22 |
DIST VSCodium-linux-arm64-1.52.1.tar.gz 99006948 BLAKE2B 933e5b283e011873b7da60a838e7778d8ff1cf69006e5bf370fdeba7aa6709c2b8ea427936d353c75c0331d1a78defb7c0983d73d59c71163cde6ca32cf1ac32 SHA512 e96c79b1176a07f6cbd1a1d30d4a4d0d66d519d854bc0aa0e24e9baa4b0f6fe959e12b4888330188210957763febc644601f958b635deaa7e900f55f0eb5550f |
23 |
+DIST VSCodium-linux-arm64-1.53.0.tar.gz 103943330 BLAKE2B 0a21141faf6d36a7021714f53bf3ccda09e747bf493f0beb4e28e62a33f29299ef5705231069741579be5748144e4d597e818935cef883ac0d34eb4be9501c5e SHA512 fa0373ca303a6a03cf6e0b9dab6d8127b58e9f3dcd6363b99c401206726cd9eea3ac7b9bca37cc25ad388b4c4333679591bc93a19494ffc07d29172117967835 |
24 |
DIST VSCodium-linux-armhf-1.52.1.tar.gz 85288104 BLAKE2B 3df56d4708f44e5029a9cfed05185957951ead696885f16e8d3da8587f812f9e088e37e2b355157989a0e272661f367a1bd2d70cfbc7953a1f07f166b7b8292d SHA512 ffd5b2b476896d4aed67ed0bd157ca14819f493534c9e15eba247998becb06042c6c0caa88ee2db7e76529da252dac57c43c86371430b57a5819ce392cdcdcb5 |
25 |
+DIST VSCodium-linux-armhf-1.53.0.tar.gz 88824725 BLAKE2B 1664b45e747eb288788b7ea7816ca26e6ce28da6bb73929ba81d68a1d646a950312f1939dd0bdf2919bf0cce4de3fed00538c448724412077aa905eecaf38068 SHA512 44112551c22b591f326eb2fe1f1fb53aafdb3bd9b8e987494cf0dd2f2684d0e10841e0e5f7f148581c0f0d87f725c496de9198b7859692ec32a92d33b8160367 |
26 |
DIST VSCodium-linux-x64-1.52.1.tar.gz 96026417 BLAKE2B 0d06ddef0de3af3d22de4757bd5b81742cdfb6605192c61374857fdacfd8df374adf180aaa1f31f0397ead97e7f668320125ef1f806c71689348ac4a3c8bab8d SHA512 9a60f6821e7a796eaca842817fd3853c8099d74418ccabeacabed01c4f7b46b49c52bb11a032c317c27e3cef7ef2c49d2cf967ca2d2d79013790994a6aa9159f |
27 |
+DIST VSCodium-linux-x64-1.53.0.tar.gz 99375183 BLAKE2B 451a49ef357d4a23b419e2d3d19c0215002f2d722cc05e0461d189c942200954f9064989d60770e1bf95c8c86153d4b833918587e664836696d96ea640531144 SHA512 36964c259ea826729ddd8993e88580dfcf54301bd103c9656f12c7cdf3fe5f815ad324779cdb0615a6d259935bc58a787426493790a72619575aaa330a779198 |
28 |
|
29 |
diff --git a/app-editors/vscodium-bin/vscodium-bin-1.53.0.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.53.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000..862b3ce5 |
32 |
--- /dev/null |
33 |
+++ b/app-editors/vscodium-bin/vscodium-bin-1.53.0.ebuild |
34 |
@@ -0,0 +1,75 @@ |
35 |
+# Copyright 2020-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit desktop pax-utils xdg |
41 |
+ |
42 |
+MY_PN="${PN/-bin}" |
43 |
+ |
44 |
+DESCRIPTION="Free/Libre Open Source Software Binaries of VSCode" |
45 |
+HOMEPAGE="https://vscodium.com" |
46 |
+SRC_URI=" |
47 |
+ amd64? ( |
48 |
+ https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz |
49 |
+ ) |
50 |
+ arm? ( |
51 |
+ https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz |
52 |
+ ) |
53 |
+ arm64? ( |
54 |
+ https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz |
55 |
+ ) |
56 |
+" |
57 |
+ |
58 |
+RESTRICT="bindist strip test" |
59 |
+LICENSE="MIT" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="-* ~amd64 ~arm ~arm64" |
62 |
+IUSE="libsecret" |
63 |
+ |
64 |
+RDEPEND=" |
65 |
+ app-accessibility/at-spi2-atk |
66 |
+ dev-libs/nss |
67 |
+ media-libs/libpng:0/16 |
68 |
+ x11-libs/cairo |
69 |
+ x11-libs/gtk+:3 |
70 |
+ x11-libs/libXScrnSaver |
71 |
+ x11-libs/libXtst |
72 |
+ x11-libs/libnotify |
73 |
+ x11-libs/pango |
74 |
+ libsecret? ( app-crypt/libsecret[crypt] ) |
75 |
+ amd64? ( sys-apps/ripgrep ) |
76 |
+ arm64? ( sys-apps/ripgrep ) |
77 |
+" |
78 |
+ |
79 |
+S="${WORKDIR}" |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ default |
83 |
+ |
84 |
+ # Unbundle ripgrep on amd64 & arm64 |
85 |
+ if use amd64 || use arm64; then |
86 |
+ rm "resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" || die |
87 |
+ fi |
88 |
+} |
89 |
+ |
90 |
+src_install() { |
91 |
+ pax-mark m codium |
92 |
+ insinto "/opt/${MY_PN}" |
93 |
+ doins -r * |
94 |
+ dosym "../../opt/${MY_PN}/bin/codium" "usr/bin/codium" |
95 |
+ |
96 |
+ domenu "${FILESDIR}/codium.desktop" |
97 |
+ domenu "${FILESDIR}/codium-url-handler.desktop" |
98 |
+ |
99 |
+ fperms +x /opt/${MY_PN}/{,bin/}codium |
100 |
+ fperms +x /opt/${MY_PN}/chrome-sandbox |
101 |
+ fperms -R +x /opt/${MY_PN}/resources/app/out/vs/base/node |
102 |
+ |
103 |
+ if use amd64 || use arm64; then |
104 |
+ dosym "../../../../../../../usr/bin/rg" "${EPREFIX}/opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" |
105 |
+ fi |
106 |
+ |
107 |
+ dodoc resources/app/LICENSE.txt resources/app/ThirdPartyNotices.txt |
108 |
+ newicon resources/app/resources/linux/code.png ${MY_PN}.png |
109 |
+} |