diff options
author | Randall T. Vasquez <ran.dall@icloud.com> | 2022-08-20 06:57:38 -0700 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-20 18:25:33 +0300 |
commit | 7717db735c2436f6cbd0804feec2d002b4186be2 (patch) | |
tree | f33498e157f6e7e1ba8b2787f152e95a5491df17 /app-editors | |
parent | app-editors/vscodium: drop 1.70.0-r1 (diff) | |
download | gentoo-7717db735c2436f6cbd0804feec2d002b4186be2.tar.gz gentoo-7717db735c2436f6cbd0804feec2d002b4186be2.tar.bz2 gentoo-7717db735c2436f6cbd0804feec2d002b4186be2.zip |
app-editors/vscodium: add 1.70.2.22230
Signed-off-by: Randall T. Vasquez <ran.dall@icloud.com>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/vscodium/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vscodium/vscodium-1.70.2.22230.ebuild | 117 |
2 files changed, 120 insertions, 0 deletions
diff --git a/app-editors/vscodium/Manifest b/app-editors/vscodium/Manifest index f72d96e4afd5..13ae99fa1dfa 100644 --- a/app-editors/vscodium/Manifest +++ b/app-editors/vscodium/Manifest @@ -4,3 +4,6 @@ DIST vscodium-1.70.1-arm64.tar.gz 117318425 BLAKE2B 16af0105d270aa706d762f941908 DIST vscodium-1.70.1.22229-amd64.tar.gz 119469285 BLAKE2B 0f21c7576a144f20b9744d7192d2186dd49679a8dbe110c904b839a16f486edcda0c6fd6c2bc63abd995e14c56239bc84f95b89ef3a8232a8b429578c9216550 SHA512 4a74ecf5b60b59630814f7e908867d9fbe10622c1bb5b5054fe96c47dab7c5e12044de82c353a679d7779c65f36fff92a10453e39742f9a5ab727baa8821c224 DIST vscodium-1.70.1.22229-arm.tar.gz 101292874 BLAKE2B d2cfcdf00a9eb1c65b7426a4e479ba15baeffb39d79622e37655d7814b1c62c072906e96bcf28d306331540fa39140a0f3594a267cc66176e2d7f7b1e81ac543 SHA512 9e607c576f79a59a23ff641742ccd6559318a5a37e047780762c78a0f4c7f632fc477aa733e4805022a77e615e17bfacd2cd99cbf00aa1959211705389126300 DIST vscodium-1.70.1.22229-arm64.tar.gz 117342125 BLAKE2B c924b7b9af67613d61ae7a334d422627de7cface80e27da06f5a7be905e1b28d360225f7790917951e350fff315ab2315b5235f6d1f99b8ba54afa584f80e1a8 SHA512 ceff9924e1dc8af7efb77979c67108aa9bf7d48c984da514ab8ef238d1a5690ab6946bc2fa71c8e2d1f4daf8ac7aca78fd7cf210591bace31cbf3ff487b72339 +DIST vscodium-1.70.2.22230-amd64.tar.gz 119462089 BLAKE2B 85bbf6638cea72e66b795e4fe33b8fa2815bc05d1feb98d549e6999b09fe4b0f4b1718423b35714e35724c4645a4136df529d7e43a8be83c810ac156b63a52fb SHA512 0830645e671bb9ebdef7c7abba5c3cdf934468621bfe2537ccd10fba64c1278fde381373fe0fc99484dfd9c382b72298695d5d89702414705c29ed270a41a3f4 +DIST vscodium-1.70.2.22230-arm.tar.gz 101302938 BLAKE2B c062a33ed58b3d322266ae0ce9825c3aa126f5f8feff4e9c53dc5fc5fcb94b43ec61c0b9cd814f222c74426740734b7570e88c7d54bc11e9bcfd12b0cc761186 SHA512 dea101d8ef45912ee5fd39cb57e90dba9079bc466ddcd8828fcf91ac1d2f792e158d72592a3a657a328e2f4130bfd80e5b084c5457ba32221adee1045f07fdc9 +DIST vscodium-1.70.2.22230-arm64.tar.gz 117323455 BLAKE2B 9e2706c5e99f2ed0343ac8b036d519f8adef56c5cd9f8bd219a80cd6d20c49b6d62a4e31d283329daa6147462d6ef526a9f86faaaf017f6a903e7a7a9b392256 SHA512 ed766d2e15e70ae639bb9f42d4877a6f2c0f4984f1a8693c895452b4043dd00a617f5b3739941bd3142332a677cb569383156c7a20d35a072e3177eb5a3457a0 diff --git a/app-editors/vscodium/vscodium-1.70.2.22230.ebuild b/app-editors/vscodium/vscodium-1.70.2.22230.ebuild new file mode 100644 index 000000000000..033c0854f7c0 --- /dev/null +++ b/app-editors/vscodium/vscodium-1.70.2.22230.ebuild @@ -0,0 +1,117 @@ +# 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 ) + 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="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: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 + + # Disable update server + sed -i "/updateUrl/d" ${S}/resources/app/product.json || 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,git-editor}{,-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" +} |