summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jolly <Matt.Jolly@footclan.ninja>2022-05-19 16:59:47 +1000
committerArthur Zamarin <arthurzam@gentoo.org>2022-05-19 19:46:12 +0300
commitf2114c9b4b7144c51cc22464f21b104fb5da3eb9 (patch)
treea748c2fc2a58cc2a94bfd45483a306b9b477b4b0 /app-editors
parentapp-editors/vscode: drop 1.67.1 (diff)
downloadgentoo-f2114c9b4b7144c51cc22464f21b104fb5da3eb9.tar.gz
gentoo-f2114c9b4b7144c51cc22464f21b104fb5da3eb9.tar.bz2
gentoo-f2114c9b4b7144c51cc22464f21b104fb5da3eb9.zip
app-editors/vscodium: add 1.67.2
Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/vscodium/Manifest2
-rw-r--r--app-editors/vscodium/vscodium-1.67.2.ebuild114
2 files changed, 116 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index 4dc8f9a5f8d5..4bc1970d0def 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -6,3 +6,5 @@ DIST vscodium-1.66.2-arm.tar.gz 97607835 BLAKE2B 48106774775c021cfaa8beb4dc37625
DIST vscodium-1.66.2-arm64.tar.gz 113498556 BLAKE2B 3da540ec37cc73559f18d8dc975611a75c84a0d966224e36dc3182bc8f4fbd7a3628e1b789bf1480d861edc28bf7f29e6aa25f266848fd329c672d9f43d32887 SHA512 73adc6f1452738e3063abe16e09ceffc9c6a48d8b6f432df86bb51ce9cb8bd9b5bc134de4c5bca326b7af4a519191cefeb2a9138da2e5e09c09218d342eafe09
DIST vscodium-1.67.1-amd64.tar.gz 115816804 BLAKE2B 8dfd859d12cd6ab924620939a1f59c413f98a46389519ee8f21b6e24b17e951f5db62fdc5406cc7bf702df329cd55981af8c979e5bfd15d493b94865a798fb2f SHA512 867fc3c0fc1dd830360ee3aaaec0fee0f6517ecd183cd76f5a334f686d8b77f73d65897e4b9fcf8a752bd4aa54205b561623834fb64b634d7c6e3d6c06273ec8
DIST vscodium-1.67.1-arm64.tar.gz 113535199 BLAKE2B 72c20e61450439bb8520af6c302a88bfbf507721c35a50e84ee226e9196334568c0b956df572650b6948783e05b9619049862327d71bacc68830e06bff540532 SHA512 ea00f40958fbb73efffc2e3475b5b2dc0e79752129a4d0ba30bd8f1d0674dae1e3733db59a627ba993396b999514b5536ed42c328f576caa357918c30898e0c6
+DIST vscodium-1.67.2-amd64.tar.gz 115827064 BLAKE2B 3e50d13408d465425f4aab384380c7275d4c75da1b307c0054a3292c8a9ae25407b9ce5bb970b7625e3570a2db3ba59aad92c7284e67ea9e599f294d0940e0ff SHA512 83880081e3f5130da47958c50aa1c491a3b2afb62c4cec8b6cba4e8aeb6e15ba4268223e9995111ee9c61fcad35a6f4868aa2f594632a9eb2e143ceda2b04a49
+DIST vscodium-1.67.2-arm64.tar.gz 113531559 BLAKE2B 74a5a2dbbb3775861195beca0283f9623500a62d862d6c2a3cd2b7e76494b96900a6a8b0df29cac19e95793c153330268b77c22e712f42a302a4d44410d2fc62 SHA512 e046449572fef71f6e3e0bcacc1ff874ce09db57a28bbdabbe86ae2cef9d8f80146f8e7a8c85d7007d4012e47203ccd8c6ce22dc069d5a86418c3b54b46ff6c5
diff --git a/app-editors/vscodium/vscodium-1.67.2.ebuild b/app-editors/vscodium/vscodium-1.67.2.ebuild
new file mode 100644
index 000000000000..0c1ad7786d63
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.67.2.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop pax-utils xdg
+
+DESCRIPTION="A community-driven, freely-licensed binary distribution of Microsoft's VSCode"
+HOMEPAGE="https://vscodium.com/"
+SRC_URI="
+ amd64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}-amd64.tar.gz )
+ arm64? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz -> ${P}-arm64.tar.gz )
+"
+
+RESTRICT="mirror strip bindist"
+
+LICENSE="
+ Apache-2.0
+ BSD
+ BSD-1
+ BSD-2
+ BSD-4
+ CC-BY-4.0
+ ISC
+ LGPL-2.1+
+ MIT
+ MPL-2.0
+ openssl
+ PYTHON
+ TextMate-bundle
+ Unlicense
+ UoI-NCSA
+ W3C
+"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE=""
+
+RDEPEND="
+ app-accessibility/at-spi2-atk:2
+ app-accessibility/at-spi2-core:2
+ app-crypt/libsecret[crypt]
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/libdrm
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libxkbcommon
+ x11-libs/libxkbfile
+ x11-libs/libXrandr
+ x11-libs/libxshmfence
+ x11-libs/pango
+"
+
+QA_PREBUILT="
+ /opt/vscodium/chrome_crashpad_handler
+ /opt/vscodium/chrome-sandbox
+ /opt/vscodium/codium
+ /opt/vscodium/libEGL.so
+ /opt/vscodium/libffmpeg.so
+ /opt/vscodium/libGLESv2.so
+ /opt/vscodium/libvk_swiftshader.so
+ /opt/vscodium/libvulkan.so*
+ /opt/vscodium/resources/app/extensions/*
+ /opt/vscodium/resources/app/node_modules.asar.unpacked/*
+ /opt/vscodium/swiftshader/libEGL.so
+ /opt/vscodium/swiftshader/libGLESv2.so
+"
+
+S="${WORKDIR}"
+
+src_install() {
+ # Cleanup
+ rm "${S}/resources/app/LICENSE.txt" || die
+
+ # Install
+ pax-mark m codium
+ insinto "/opt/${PN}"
+ doins -r *
+ fperms +x /opt/${PN}/{,bin/}codium
+ fperms +x /opt/${PN}/chrome_crashpad_handler
+ fperms 4711 /opt/${PN}/chrome-sandbox
+ fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass.sh
+ fperms 755 /opt/${PN}/resources/app/extensions/git/dist/askpass-empty.sh
+ fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
+ fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg
+ dosym "../../opt/${PN}/bin/codium" "usr/bin/vscodium"
+ dosym "../../opt/${PN}/bin/codium" "usr/bin/codium"
+ domenu "${FILESDIR}/vscodium.desktop"
+ domenu "${FILESDIR}/vscodium-url-handler.desktop"
+ domenu "${FILESDIR}/vscodium-wayland.desktop"
+ domenu "${FILESDIR}/vscodium-url-handler-wayland.desktop"
+ newicon "resources/app/resources/linux/code.png" "vscodium.png"
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ elog "When compared to the regular VSCode, VSCodium has a few quirks"
+ elog "More information at: https://github.com/VSCodium/vscodium/blob/master/DOCS.md"
+}