summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdel KARA SLIMANE <adel.ks@zegrapher.com>2021-07-14 15:42:12 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-07-14 17:59:14 +0300
commit92bc852c007f71ca55c7b8af7eba3257ab835b54 (patch)
treeb2719752393819096fd05122b60a068b68c877d8 /app-editors
parentapp-editors/vscode: bump to 1.58.1 (diff)
downloadgentoo-92bc852c007f71ca55c7b8af7eba3257ab835b54.tar.gz
gentoo-92bc852c007f71ca55c7b8af7eba3257ab835b54.tar.bz2
gentoo-92bc852c007f71ca55c7b8af7eba3257ab835b54.zip
app-editors/vscodium: bump to 1.58.1
Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/vscodium/Manifest3
-rw-r--r--app-editors/vscodium/vscodium-1.58.1.ebuild95
2 files changed, 98 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest
index b3828d6c7768..0f3473f72df9 100644
--- a/app-editors/vscodium/Manifest
+++ b/app-editors/vscodium/Manifest
@@ -7,3 +7,6 @@ DIST vscodium-1.57.0-arm64.tar.gz 113075134 BLAKE2B eeead9b70a8e7b353ac744b65b38
DIST vscodium-1.57.1-amd64.tar.gz 107747154 BLAKE2B 0a348d77616eb691b9a7ef7ded4a2f3b07cf6e44b0e37fdc4f93f0a2327d040aa8a5442f1b978d6c5086d188bcb1aedbefef5f449da05a3f772b1d029bf38e26 SHA512 f4560725d67e690a99b6c1911a1542f877a0caa44e5b6be1aa4a06e0c3c3b16454c06a1a3d881a6af43b4ab97619b9fa464dc979c99c2af0882fe2b2960499d6
DIST vscodium-1.57.1-arm.tar.gz 96383568 BLAKE2B 13140773fe7442d0c947dba2e9b30ea80fda5f42bdf8557e214bca2741e92d99f8e11821e569fe69b1ade84cc277604a931422610cfdd8a35dfe05be30c9d20a SHA512 2d7e406674b22ce9ca12aee423147b31df8381e615e2a7341c3373509cd63146325dd276bacebd63221dac0cde8b6c0c3b9406c4a437612b46e2e55bf4bb6531
DIST vscodium-1.57.1-arm64.tar.gz 113062013 BLAKE2B 8befda9f99183097963842fd86e5721563562aba540a4634c273de88fff344f4f3e0554329d5a964f610b5eef02e7f34fd3a2380a96abfa44debbcc7f250e3f2 SHA512 22254e07ea9527b4ecdc77b63aedd55a56b7ede719178a74eeea7134fadda0beab7b604549625c0a48dafe3d18e14c997111ffea261086a608faa9567af911b6
+DIST vscodium-1.58.1-amd64.tar.gz 109737921 BLAKE2B 547eb9e7ef9b5f56c08fb54d8333146ce5ac970d926cc2859c128e104d805fcc2ecd565addc7f67d203285f27519c360292c14c526a01308e8f3beaded78a75e SHA512 cd709879b7c4b6c622c8763841f953fca1698e5aab17ef06983b7d91e0a9f1eaa6ec7d1c26590f8d1daeb0bd3694bcd870436fda3aea353ff5e75dd1be66a81c
+DIST vscodium-1.58.1-arm.tar.gz 98397271 BLAKE2B c295398c988d0ddad92f2168fa8848660197089cc4f2fb7c54128bf21fb7f6872f44d9d254622d388b68c69567cbdb8323b9a0fbc46199cb7f6b3d86e5af3b3e SHA512 50908d88d7261fe118a398ea315c0950c42684e97fd528341d99f0d25a54946b94418abbd759ec1c9b510c6d15dd418ef9fbbc64c6b0578a9ce7814d5718f288
+DIST vscodium-1.58.1-arm64.tar.gz 115049852 BLAKE2B c49b7f906e199681fa67e2a1cb1bf096bfb6cb04c96aba2629485ca711622dbfe9f4854208bafa5fe6c06a90d503c5bc42953c15d090cb533996bc82f788e6c9 SHA512 6ca9f47ad76f597c2b8bc24887f429ad2dc5de2446074972d1794e8dd5aa1fb22edddb82ad49c7b6a602312f7a1b225f175a49a414ae80196ce41a5f3e601c3b
diff --git a/app-editors/vscodium/vscodium-1.58.1.ebuild b/app-editors/vscodium/vscodium-1.58.1.ebuild
new file mode 100644
index 000000000000..e25a3967ed49
--- /dev/null
+++ b/app-editors/vscodium/vscodium-1.58.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 )
+ arm? ( https://github.com/VSCodium/${PN}/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz -> ${P}-arm.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 ~arm ~arm64"
+IUSE=""
+
+RDEPEND="
+ app-accessibility/at-spi2-atk
+ app-crypt/libsecret[crypt]
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/libpng:0/16
+ net-print/cups
+ x11-libs/cairo
+ x11-libs/gtk+:3
+ x11-libs/libnotify
+ x11-libs/libxkbcommon
+ x11-libs/libxkbfile
+ x11-libs/libXScrnSaver
+ x11-libs/libXtst
+ x11-libs/pango
+"
+
+QA_PREBUILT="
+ /opt/vscodium/codium
+ /opt/vscodium/libEGL.so
+ /opt/vscodium/libffmpeg.so
+ /opt/vscodium/libGLESv2.so
+ /opt/vscodium/libvulkan.so*
+ /opt/vscodium/chrome-sandbox
+ /opt/vscodium/libvk_swiftshader.so
+ /opt/vscodium/swiftshader/libEGL.so
+ /opt/vscodium/swiftshader/libGLESv2.so
+ /opt/vscodium/resources/app/extensions/*
+ /opt/vscodium/resources/app/node_modules.asar.unpacked/*
+"
+
+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-sandbox
+ 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"
+ domenu "${FILESDIR}/vscodium.desktop"
+ domenu "${FILESDIR}/vscodium-url-handler.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"
+}