1 |
commit: ef831ae069b4aae8ea6f5ccbb5e10d7556ce4e13 |
2 |
Author: Maciej Barć <xgqt <AT> riseup <DOT> net> |
3 |
AuthorDate: Thu Apr 15 15:24:32 2021 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> riseup <DOT> net> |
5 |
CommitDate: Thu Apr 15 15:24:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef831ae0 |
7 |
|
8 |
app-editors/vscodium-bin: bump to 1.55.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net> |
12 |
|
13 |
app-editors/vscodium-bin/Manifest | 3 + |
14 |
.../vscodium-bin/vscodium-bin-1.55.2.ebuild | 100 +++++++++++++++++++++ |
15 |
2 files changed, 103 insertions(+) |
16 |
|
17 |
diff --git a/app-editors/vscodium-bin/Manifest b/app-editors/vscodium-bin/Manifest |
18 |
index d67d0f97e..9277eb952 100644 |
19 |
--- a/app-editors/vscodium-bin/Manifest |
20 |
+++ b/app-editors/vscodium-bin/Manifest |
21 |
@@ -1,9 +1,12 @@ |
22 |
DIST VSCodium-linux-arm64-1.53.1.tar.gz 103872235 BLAKE2B 6c6cba021047f7e52b2dbfe754e4835ac2948a2bbdd56844d801a10fb97be421a6f411ebe5c619b5ac7dba66e4df785fdf133ec058d914c60befe825e314ea1b SHA512 40362151925df2be4ce8e71d7288fe3f7186e94b96904095a1b2c19a3643b911f86f289b3ff2c35749fe8a760fcfc272200793da2280ee1a37b8aa3ab335f1e3 |
23 |
DIST VSCodium-linux-arm64-1.53.2.tar.gz 103889450 BLAKE2B 12d62008e59cb0735f16cce47c712f732d50c68aec57efcae08effa0a2fa31055103bc361ba8c39309478aa64b655d8493babb6dded28858e97e4cbd2b11fe84 SHA512 109dc4e5bd41d93ca0b751c6c25a2a30feac7b5bb89bd17d47dd8cd8611285355b309c44cbe7f166465c96ab35a2a9b7fc8b593933bb18dda33a45044f48fd87 |
24 |
DIST VSCodium-linux-arm64-1.54.3.tar.gz 107389829 BLAKE2B 32b420212a572ae47a045b6a4dfafc5ebc8f412b79209cf7e339457e7e841bff874cab1eff69dbb9c00cebd750bc0ab76979978c702108480a28a01cdf4278f8 SHA512 79970167db09dbf4f986c488c44929c5f5f8da21634a5b9fcc5676d04c9302946e4cd54b295560b95fa56fb3aef424a11140d53b597e8ebf2a90a0a34aa44a13 |
25 |
+DIST VSCodium-linux-arm64-1.55.2.tar.gz 104776830 BLAKE2B 3cca6fe615c60087b3ce3ca204dbf80d5966c0905ea74b652cc283bdb81085845c32b3d155c1970107862e7506216d27e80b0a17f84dad1b0537d907a93a9831 SHA512 60f7e2758ead186fa435fc43b9e2a2b926f75bc819abc420c1bfef092fb92831b53336dd0893dca50cc1b1236bb1377bf77b8149a3a9048e3e9d118132a211c2 |
26 |
DIST VSCodium-linux-armhf-1.53.1.tar.gz 88817109 BLAKE2B 62774e0597fd318451deca29edf1b8c85fc25b2b039298129a96b75faffd50c1c263ff22bcab7ae3c445b90fdf39f0830ded6f176fb504eb9db28b09bbc68aa4 SHA512 ec8832656133e224da6bc100a06eebb3c7613026c6f558817f422ccbe44e7f6721a650cf4fc985ca74f5ca9b7b28fb48706d3f74bfd3dff69875ce58639126b9 |
27 |
DIST VSCodium-linux-armhf-1.53.2.tar.gz 88825934 BLAKE2B 97502ce2cf5a08bd2c989e7b933d95baad0d1b6a193d7affb8245c73a33a2d9c99594ab06f3643a1dc8ffb78ec53578265301bd4529448d1144d9a53976b4f06 SHA512 4a2c824e21a5ec486d08bedff4a67efa853e0b89a2ffcebe7137b7d8c37b565c5acb7f60faec279dd2f7e00348f1363544cfcda7e628f57adbff4d4ee14c4292 |
28 |
DIST VSCodium-linux-armhf-1.54.3.tar.gz 92332075 BLAKE2B dc040e01b7527daa5fa93cc87b62f075146d00798ab4a947097eb2fa7b4807be73a7ee376a6cbb6f53bce6612cde6da602a4139751d33be7375f5ec410693f54 SHA512 a7deac6f62b902917a31161dffe73f9b33b79e6515e1f9bc6c04258f1f953535d6ace3f381ede89b1f85607d3b88e77b204ad06392b1e1a98f6723927b2cbb5a |
29 |
+DIST VSCodium-linux-armhf-1.55.2.tar.gz 89723577 BLAKE2B c83067fab7cc61422e2310be568bce625ee5de9f9318987a08408a2ccdc8746d90ef4b2d8a76e8a80599e6bccaed4b096c97c83bd42d833aef4af7063fbce757 SHA512 cac16dd43eb876d475ff058075b3c5b490ea06b9f83c2a1871b6dad6b1d782f453e6b8a77df93c4863be34f34e04811754656946fd8649ea4cd4605f29745ab6 |
30 |
DIST VSCodium-linux-x64-1.53.1.tar.gz 99374765 BLAKE2B f99bef342689e718df8c2f79f8429383653816c71fef59fc2b4d048860efb8bb68ebc40bb052ce56d86e150e3dbfc4cd600b6bbf54642df888e7da77969067b1 SHA512 0911b512da2deb4777ec7e11f4e8066b184331218b00c3c54f785be5acfd139ef8e68140da36842dd8afc4563b7c93127382d2062e79b317c9d1d74ad9bc6834 |
31 |
DIST VSCodium-linux-x64-1.53.2.tar.gz 99377369 BLAKE2B 5a33fc4fa099736a053cb27741841cce6037bab486a09b4f130333ff67858e873bbe962c4a775b440d1586f29b1f4edc0a27caa713aab69aac2fdd226ffb9a17 SHA512 47ecbf45820e54e49e3bcc358bc07c1ec0c5d03e508ef71cf132be85e0316ee75f41afdc5191a096e9ead27e53a5b39fbe55bc1a9aca15e67e2c17f11edef43c |
32 |
DIST VSCodium-linux-x64-1.54.3.tar.gz 102894738 BLAKE2B 5709828dc3edd8cd53a1031b2c46e29228af96b646e0438095d51f1508f6ec6a54b2e195075903db71dffde0f5d7ce99b572357c823c1a3c4ba19ca367c70f73 SHA512 be5a56d3d675ed585ec719a2cf98e70a485fc262b0a37ee2f1245c4e301465b28c4fa5242a624fedea2a7202070031ab864b4cbdcdcfb118faa8c746c53c3dd6 |
33 |
+DIST VSCodium-linux-x64-1.55.2.tar.gz 100272283 BLAKE2B 66394747f7965e79f32eecdbb25365cc21b14d8f8c896e0d78c00d5119953f67a22ddcfa50b232e34cad3b411a46149165f30a0bf667a29b9298a6dc3e1a55a5 SHA512 668c9593d8a76605cf7479d2e6fb36704c6e9ba38c3ed82ec5ce158b9c91689003f9fe42943c76eab0075ec0cee69a715431f588d9b689f32c838ee40cd47c68 |
34 |
|
35 |
diff --git a/app-editors/vscodium-bin/vscodium-bin-1.55.2.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.55.2.ebuild |
36 |
new file mode 100644 |
37 |
index 000000000..2ed47965f |
38 |
--- /dev/null |
39 |
+++ b/app-editors/vscodium-bin/vscodium-bin-1.55.2.ebuild |
40 |
@@ -0,0 +1,100 @@ |
41 |
+# Copyright 2020-2021 Gentoo Authors |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+ |
44 |
+EAPI=7 |
45 |
+ |
46 |
+inherit desktop pax-utils xdg |
47 |
+ |
48 |
+MY_PN="${PN/-bin}" |
49 |
+ |
50 |
+DESCRIPTION="Free/Libre Open Source Software Binaries of VSCode" |
51 |
+HOMEPAGE="https://vscodium.com" |
52 |
+SRC_URI=" |
53 |
+ amd64? ( |
54 |
+ https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz |
55 |
+ ) |
56 |
+ arm? ( |
57 |
+ https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz |
58 |
+ ) |
59 |
+ arm64? ( |
60 |
+ https://github.com/VSCodium/${MY_PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+LICENSE="MIT" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="-* ~amd64 ~arm ~arm64" |
67 |
+IUSE="libsecret" |
68 |
+ |
69 |
+RDEPEND=" |
70 |
+ app-accessibility/at-spi2-atk |
71 |
+ dev-libs/nss |
72 |
+ media-libs/alsa-lib |
73 |
+ media-libs/libpng:0/16 |
74 |
+ net-print/cups |
75 |
+ x11-libs/cairo |
76 |
+ x11-libs/gtk+:3 |
77 |
+ x11-libs/libXScrnSaver |
78 |
+ x11-libs/libXtst |
79 |
+ x11-libs/libnotify |
80 |
+ x11-libs/libxkbcommon |
81 |
+ x11-libs/libxkbfile |
82 |
+ x11-libs/pango |
83 |
+ libsecret? ( app-crypt/libsecret[crypt] ) |
84 |
+ amd64? ( sys-apps/ripgrep ) |
85 |
+ arm64? ( sys-apps/ripgrep ) |
86 |
+" |
87 |
+ |
88 |
+S="${WORKDIR}" |
89 |
+ |
90 |
+QA_PREBUILT=" |
91 |
+ /opt/vscodium/chrome-sandbox |
92 |
+ /opt/vscodium/codium |
93 |
+ /opt/vscodium/libEGL.so |
94 |
+ /opt/vscodium/libGLESv2.so |
95 |
+ /opt/vscodium/libffmpeg.so |
96 |
+ /opt/vscodium/libvk_swiftshader.so |
97 |
+ /opt/vscodium/libvulkan.so |
98 |
+ /opt/vscodium/resources/app/node_modules.asar.unpacked/* |
99 |
+ /opt/vscodium/swiftshader/* |
100 |
+ /opt/vscodium/swiftshader/libEGL.so |
101 |
+ /opt/vscodium/swiftshader/libGLESv2.so |
102 |
+" |
103 |
+ |
104 |
+src_prepare() { |
105 |
+ default |
106 |
+ |
107 |
+ # Remove libsecret (controlled via USE=libsecret) |
108 |
+ if ! use libsecret; then |
109 |
+ rm -r "resources/app/node_modules.asar.unpacked/keytar" || die |
110 |
+ fi |
111 |
+ |
112 |
+ # Unbundle ripgrep on amd64 & arm64 |
113 |
+ if use amd64 || use arm64; then |
114 |
+ rm "resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" || die |
115 |
+ fi |
116 |
+} |
117 |
+ |
118 |
+src_install() { |
119 |
+ pax-mark m codium |
120 |
+ insinto "/opt/${MY_PN}" |
121 |
+ doins -r * |
122 |
+ dosym "../../opt/${MY_PN}/bin/codium" "usr/bin/codium" |
123 |
+ |
124 |
+ domenu "${FILESDIR}/codium.desktop" |
125 |
+ domenu "${FILESDIR}/codium-url-handler.desktop" |
126 |
+ |
127 |
+ fperms +x /opt/${MY_PN}/{,bin/}codium |
128 |
+ fperms +x /opt/${MY_PN}/chrome-sandbox |
129 |
+ fperms -R +x /opt/${MY_PN}/resources/app/out/vs/base/node |
130 |
+ |
131 |
+ if use amd64 || use arm64; then |
132 |
+ dosym "../../../../../../../usr/bin/rg" "${EPREFIX}/opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" |
133 |
+ else |
134 |
+ # On other arches we don't unbundle rg, so we have to make it executable |
135 |
+ fperms +x /opt/${MY_PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg |
136 |
+ fi |
137 |
+ |
138 |
+ dodoc resources/app/LICENSE.txt resources/app/ThirdPartyNotices.txt |
139 |
+ newicon resources/app/resources/linux/code.png ${MY_PN}.png |
140 |
+} |