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