1 |
commit: 1fe6df69ac0acdba6552c861a4050c336a8c18b7 |
2 |
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com> |
3 |
AuthorDate: Sat Apr 2 11:20:42 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 2 12:06:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe6df69 |
7 |
|
8 |
app-editors/vscodium: version bump to 1.66.0 |
9 |
|
10 |
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com> |
11 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
12 |
|
13 |
app-editors/vscodium/Manifest | 3 + |
14 |
app-editors/vscodium/vscodium-1.66.0.ebuild | 121 ++++++++++++++++++++++++++++ |
15 |
2 files changed, 124 insertions(+) |
16 |
|
17 |
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest |
18 |
index 0ead5a8ae531..0ec5f4d8fe21 100644 |
19 |
--- a/app-editors/vscodium/Manifest |
20 |
+++ b/app-editors/vscodium/Manifest |
21 |
@@ -7,3 +7,6 @@ DIST vscodium-1.64.2-arm64.tar.gz 111168123 BLAKE2B 015163f9129e95cce5cb4df255cf |
22 |
DIST vscodium-1.65.2-amd64.tar.gz 110791055 BLAKE2B c6685f78c786dd36ddb79adce5485670016dc5bf8e72550a0d6f39425237dbdf75c36612e053f74db0c7e92cbc7f21dcd641a1573e03741eed8ae7573d7e6608 SHA512 5a79be254d8fd21e22ca1b557bf11138948793518e761f20cfcc9a8a142e5ae14845989e4a2341f4594a03df0ab9b03e4df971123136c636e1b56bb310397f2c |
23 |
DIST vscodium-1.65.2-arm.tar.gz 93766888 BLAKE2B 23f1b4a5839b4d8ce35779ae7cd033cfa5ced68272fcb9783307d000ee58dd145d68e8f84e963a1a0dc33ccca81b47119f95cbe49ee788eac5921c9b6ad9071e SHA512 bfc20b5d3de19afb02c11c6dce5b06dec9d843ed7989e400a2d0d2a7f98289db2ae5e7c6262fd31b353eee4efb4f6455aeedffa44e0e7162be03d688ef42c0cb |
24 |
DIST vscodium-1.65.2-arm64.tar.gz 108364942 BLAKE2B 05fe48a28f9d97487190725e52ef719db7487e27ec537be185bcb8e4ab56137047261b1221b3cf3909ab07fd95e50135a29a57c802e51c35511718c1822fd49a SHA512 42a2bde4685aecff7b15e8315ef5edf05150e9f1228cd55a62693dc5a03ed5154e01353367c29357d652c82c561477b9d6bad34c0aacf7638b3e4597c31312cc |
25 |
+DIST vscodium-1.66.0-amd64.tar.gz 115792381 BLAKE2B fca762114695e2cebc3658dee0f6e7d7b556d60278a4da512e51f6f3b5bb17b81f83f4a01c2b950c2439e21083023f6e985368419a55b83d0ebe8ab5e303c6cd SHA512 ec4c0bc9a9d928ea2991f5ec9cae247f692601d4e1e63c8b47dcc6d2f62c8e42ef0ebeb800b2cf3864ec66d486e4e17cbd7fb517c2f10727b4203bbb968da305 |
26 |
+DIST vscodium-1.66.0-arm.tar.gz 97612567 BLAKE2B c41b46469cc96f3609982fe1334f8c6e2801a8cac59cd9e30f0c523fdada42b7de711dfbc3ab77e08c136e13088f647010b44404d81152bc38bda130a8d41101 SHA512 dc2820c3fb59be9a5b2152fd45ec7c1617eb7cfc6272d7bed111b5c8d1aa6902e7f59a71df965bb0ff97e9f95d6e59e6ec3db5c55b7185424cffea1d8aa40e26 |
27 |
+DIST vscodium-1.66.0-arm64.tar.gz 113504867 BLAKE2B 2076d239950c745abc4ebf723f832a9934d31ae9582d7a9d1d51a378a79a05b83c0e5bd62a750e63174927d57097d113861633caea80fe2e70559fd8a5965a69 SHA512 46d789aa41991813a758dcf30764353292d6305431407c85249a039681264a7dbe9741569770aa14e2bd8cd9086e146cf128fca382abd383bcfd522f4c332537 |
28 |
|
29 |
diff --git a/app-editors/vscodium/vscodium-1.66.0.ebuild b/app-editors/vscodium/vscodium-1.66.0.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..906a2b847f99 |
32 |
--- /dev/null |
33 |
+++ b/app-editors/vscodium/vscodium-1.66.0.ebuild |
34 |
@@ -0,0 +1,121 @@ |
35 |
+# Copyright 1999-2022 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+inherit desktop pax-utils xdg |
41 |
+ |
42 |
+DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode" |
43 |
+HOMEPAGE="https://vscodium.com/" |
44 |
+SRC_URI=" |
45 |
+ amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz ) |
46 |
+ arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.tar.gz ) |
47 |
+ arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz ) |
48 |
+" |
49 |
+ |
50 |
+RESTRICT="mirror strip bindist" |
51 |
+ |
52 |
+LICENSE=" |
53 |
+ Apache-2.0 |
54 |
+ BSD |
55 |
+ BSD-1 |
56 |
+ BSD-2 |
57 |
+ BSD-4 |
58 |
+ CC-BY-4.0 |
59 |
+ ISC |
60 |
+ LGPL-2.1+ |
61 |
+ MIT |
62 |
+ MPL-2.0 |
63 |
+ openssl |
64 |
+ PYTHON |
65 |
+ TextMate-bundle |
66 |
+ Unlicense |
67 |
+ UoI-NCSA |
68 |
+ W3C |
69 |
+" |
70 |
+SLOT="0" |
71 |
+KEYWORDS="-* ~amd64 ~arm ~arm64" |
72 |
+IUSE="" |
73 |
+ |
74 |
+RDEPEND=" |
75 |
+ app-accessibility/at-spi2-atk:2 |
76 |
+ app-accessibility/at-spi2-core:2 |
77 |
+ app-crypt/libsecret[crypt] |
78 |
+ dev-libs/atk |
79 |
+ dev-libs/expat |
80 |
+ dev-libs/glib:2 |
81 |
+ dev-libs/nspr |
82 |
+ dev-libs/nss |
83 |
+ media-libs/alsa-lib |
84 |
+ media-libs/mesa |
85 |
+ net-print/cups |
86 |
+ sys-apps/dbus |
87 |
+ x11-libs/cairo |
88 |
+ x11-libs/gdk-pixbuf:2 |
89 |
+ x11-libs/gtk+:3 |
90 |
+ x11-libs/libdrm |
91 |
+ x11-libs/libX11 |
92 |
+ x11-libs/libxcb |
93 |
+ x11-libs/libXcomposite |
94 |
+ x11-libs/libXdamage |
95 |
+ x11-libs/libXext |
96 |
+ x11-libs/libXfixes |
97 |
+ x11-libs/libxkbcommon |
98 |
+ x11-libs/libxkbfile |
99 |
+ x11-libs/libXrandr |
100 |
+ x11-libs/libxshmfence |
101 |
+ x11-libs/pango |
102 |
+" |
103 |
+ |
104 |
+QA_PREBUILT=" |
105 |
+ /opt/vscodium/codium |
106 |
+ /opt/vscodium/libEGL.so |
107 |
+ /opt/vscodium/libffmpeg.so |
108 |
+ /opt/vscodium/libGLESv2.so |
109 |
+ /opt/vscodium/libvulkan.so* |
110 |
+ /opt/vscodium/chrome-sandbox |
111 |
+ /opt/vscodium/libvk_swiftshader.so |
112 |
+ /opt/vscodium/swiftshader/libEGL.so |
113 |
+ /opt/vscodium/swiftshader/libGLESv2.so |
114 |
+ /opt/vscodium/resources/app/extensions/* |
115 |
+ /opt/vscodium/resources/app/node_modules.asar.unpacked/* |
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 4711 /opt/${PN}/chrome-sandbox |
130 |
+ fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass.sh |
131 |
+ fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass-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 |
+ |
148 |
+ if has_version -r ">=gui-libs/wlroots-0.15"; then |
149 |
+ elog |
150 |
+ elog "The wayland backend of vscodium crashes with >=gui-libs/wlroots-0.15" |
151 |
+ elog "This will be fixed upstream in a later release" |
152 |
+ elog "Please run the xwayland version for now, on wlroots based DEs." |
153 |
+ elog "For more information, see https://bugs.gentoo.org/834082" |
154 |
+ fi |
155 |
+} |