1 |
commit: 5591a75309c90aebe5cc54134422b2017b36887d |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 5 12:31:11 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 5 12:31:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5591a753 |
7 |
|
8 |
app-editors/vscodium: add 1.70.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
app-editors/vscodium/Manifest | 3 + |
13 |
app-editors/vscodium/vscodium-1.70.0.ebuild | 114 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 117 insertions(+) |
15 |
|
16 |
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest |
17 |
index 46df94672c02..9930be3b3f38 100644 |
18 |
--- a/app-editors/vscodium/Manifest |
19 |
+++ b/app-editors/vscodium/Manifest |
20 |
@@ -4,3 +4,6 @@ DIST vscodium-1.68.1-arm64.tar.gz 114632027 BLAKE2B 48cf6a5566817e0ae9a9b33f98a3 |
21 |
DIST vscodium-1.69.2-amd64.tar.gz 121116247 BLAKE2B af616419dbf9cb96ab6662a0016013c0f406581f63ca50665b40fa827e3c4a142132192dcfee2639dc96e99cbb7edac8da26a477acfd5d5ed698535588291c9c SHA512 d1afdaeddd72706c1b51352730c1d8baaaef5e5d5adc7a111f02905704e8ea2886c72617722475a90a14a49a8032c0d120e0b35ff50e602477efc86b5fde6049 |
22 |
DIST vscodium-1.69.2-arm.tar.gz 102920556 BLAKE2B 84a95f6530b7c13f18e2cc569d54a533bef39d13df54591b5d8d1b2d095345fefaaf967414f982d9049b12201c6fc86a256b64c42b3d5c0cc4ec248d26c9c636 SHA512 d1a2443a25262c7b843085abfb0a896120dc234446d3ef1b8306d2a09d7dc7cbdf1da5eb8cfe5c18067cf67941223c1bab124ab71c56b24c2f0951449b3a220b |
23 |
DIST vscodium-1.69.2-arm64.tar.gz 118959353 BLAKE2B e9a81f208babb84560f391e2a1ee8008add843e00b9d041b07bdce4d4a6cb06f979bdaa5ea1d0d818b0765ec5a726ccf8c26efabd1aa44404bde19addb941cf1 SHA512 bb761cdbbd8b52b0fbcfe21e6d851047a522792e428ce2fe8f917ffc073ee9dfedca0b8c9394385151307f38f709db4bc3c51798c81a5b5730df83786a8b0fe0 |
24 |
+DIST vscodium-1.70.0-amd64.tar.gz 119473836 BLAKE2B 278b071006de89408f5124a38b0dbccaffa10a574397473ba84da41d0f14ec1b472ffbaef6580cc5a033187aecb9d8de39893d0060e3d16e38741840b57a209f SHA512 d0284e25144c01aeebda8e460d5f83aa62a529bc9c97949f037de9515ad387c3b99ff306eafdeb1a2d69a18a90ba284d7acbbfcb469438ba38a9094b9c55bda2 |
25 |
+DIST vscodium-1.70.0-arm.tar.gz 101286329 BLAKE2B aa1862aac41bfcc1836a91933185097abf24664b1a85008603bd0d41154cdcfdf94ae6e9c5885d2762a7b00bbddae5af91f78233f5775c213925992db9969882 SHA512 9565c6c08c6c1dfb8bc1622514eb54220b2453cf697a3f30b85fe67fca9f7a295a525590c5e1b6fa23e9c84f139e54d2425e13c68d872a5a7eb001b945ae5a63 |
26 |
+DIST vscodium-1.70.0-arm64.tar.gz 117321647 BLAKE2B 9a49aa9d77dd2aec1561ff8332953062341fc5c6d37e2130c509941d673c2ff32b490ca6755602b46e635425cc801492ed30a058ef8b5f93b58a9c7619695512 SHA512 da82950cf243bbafebb415bf72127edc63dfa805cb37045c5ffff67f24d28fb811c44aa0d2c3b14098238dbd55c29e384872594ef6d8464af95dea6379cdd071 |
27 |
|
28 |
diff --git a/app-editors/vscodium/vscodium-1.70.0.ebuild b/app-editors/vscodium/vscodium-1.70.0.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..34c1107537e0 |
31 |
--- /dev/null |
32 |
+++ b/app-editors/vscodium/vscodium-1.70.0.ebuild |
33 |
@@ -0,0 +1,114 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+inherit desktop pax-utils xdg |
40 |
+ |
41 |
+DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" |
42 |
+HOMEPAGE="https://vscodium.com/" |
43 |
+SRC_URI=" |
44 |
+ amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz ) |
45 |
+ arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.tar.gz ) |
46 |
+ arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz ) |
47 |
+" |
48 |
+ |
49 |
+RESTRICT="strip bindist" |
50 |
+ |
51 |
+LICENSE=" |
52 |
+ Apache-2.0 |
53 |
+ BSD |
54 |
+ BSD-1 |
55 |
+ BSD-2 |
56 |
+ BSD-4 |
57 |
+ CC-BY-4.0 |
58 |
+ ISC |
59 |
+ LGPL-2.1+ |
60 |
+ MIT |
61 |
+ MPL-2.0 |
62 |
+ openssl |
63 |
+ PYTHON |
64 |
+ TextMate-bundle |
65 |
+ Unlicense |
66 |
+ UoI-NCSA |
67 |
+ W3C |
68 |
+" |
69 |
+SLOT="0" |
70 |
+KEYWORDS="-* ~amd64 ~arm ~arm64" |
71 |
+IUSE="" |
72 |
+ |
73 |
+RDEPEND=" |
74 |
+ app-accessibility/at-spi2-atk:2 |
75 |
+ app-accessibility/at-spi2-core:2 |
76 |
+ app-crypt/libsecret[crypt] |
77 |
+ dev-libs/atk |
78 |
+ dev-libs/expat |
79 |
+ dev-libs/glib:2 |
80 |
+ dev-libs/nspr |
81 |
+ dev-libs/nss |
82 |
+ media-libs/alsa-lib |
83 |
+ media-libs/mesa |
84 |
+ net-print/cups |
85 |
+ sys-apps/dbus |
86 |
+ x11-libs/cairo |
87 |
+ x11-libs/gdk-pixbuf:2 |
88 |
+ x11-libs/gtk+:3 |
89 |
+ x11-libs/libdrm |
90 |
+ x11-libs/libX11 |
91 |
+ x11-libs/libxcb |
92 |
+ x11-libs/libXcomposite |
93 |
+ x11-libs/libXdamage |
94 |
+ x11-libs/libXext |
95 |
+ x11-libs/libXfixes |
96 |
+ x11-libs/libxkbcommon |
97 |
+ x11-libs/libxkbfile |
98 |
+ x11-libs/libXrandr |
99 |
+ x11-libs/libxshmfence |
100 |
+ x11-libs/pango |
101 |
+" |
102 |
+ |
103 |
+QA_PREBUILT=" |
104 |
+ /opt/vscodium/chrome_crashpad_handler |
105 |
+ /opt/vscodium/chrome-sandbox |
106 |
+ /opt/vscodium/codium |
107 |
+ /opt/vscodium/libEGL.so |
108 |
+ /opt/vscodium/libffmpeg.so |
109 |
+ /opt/vscodium/libGLESv2.so |
110 |
+ /opt/vscodium/libvk_swiftshader.so |
111 |
+ /opt/vscodium/libvulkan.so* |
112 |
+ /opt/vscodium/resources/app/extensions/* |
113 |
+ /opt/vscodium/resources/app/node_modules.asar.unpacked/* |
114 |
+ /opt/vscodium/swiftshader/libEGL.so |
115 |
+ /opt/vscodium/swiftshader/libGLESv2.so |
116 |
+" |
117 |
+ |
118 |
+S="${WORKDIR}" |
119 |
+ |
120 |
+src_install() { |
121 |
+ # Cleanup |
122 |
+ rm "${S}/resources/app/LICENSE.txt" || die |
123 |
+ |
124 |
+ # Install |
125 |
+ pax-mark m codium |
126 |
+ insinto "/opt/${PN}" |
127 |
+ doins -r * |
128 |
+ fperms +x /opt/${PN}/{,bin/}codium |
129 |
+ fperms +x /opt/${PN}/chrome_crashpad_handler |
130 |
+ fperms 4711 /opt/${PN}/chrome-sandbox |
131 |
+ fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor}{,-empty}.sh |
132 |
+ fperms -R +x /opt/${PN}/resources/app/out/vs/base/node |
133 |
+ fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg |
134 |
+ dosym "../../opt/${PN}/bin/codium" "usr/bin/vscodium" |
135 |
+ dosym "../../opt/${PN}/bin/codium" "usr/bin/codium" |
136 |
+ domenu "${FILESDIR}/vscodium.desktop" |
137 |
+ domenu "${FILESDIR}/vscodium-url-handler.desktop" |
138 |
+ domenu "${FILESDIR}/vscodium-wayland.desktop" |
139 |
+ domenu "${FILESDIR}/vscodium-url-handler-wayland.desktop" |
140 |
+ newicon "resources/app/resources/linux/code.png" "vscodium.png" |
141 |
+} |
142 |
+ |
143 |
+pkg_postinst() { |
144 |
+ xdg_pkg_postinst |
145 |
+ elog "When compared to the regular VSCode, VSCodium has a few quirks" |
146 |
+ elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md" |
147 |
+} |