From b59a8f73c5c2918e26294eeac1f4b1743203c441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Dro=C5=BCniak?= Date: Sat, 17 Oct 2020 13:25:49 +0200 Subject: [PATCH] app-editors/vscodium-bin: bump to 1.50.0 --- app-editors/vscodium-bin/Manifest | 1 + .../vscodium-bin/vscodium-bin-1.50.0.ebuild | 63 +++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 app-editors/vscodium-bin/vscodium-bin-1.50.0.ebuild diff --git a/app-editors/vscodium-bin/Manifest b/app-editors/vscodium-bin/Manifest index bd6ab2b..3e8781a 100644 --- a/app-editors/vscodium-bin/Manifest +++ b/app-editors/vscodium-bin/Manifest @@ -1,3 +1,4 @@ DIST vscodium-bin-1.44.1.tar.gz 90736532 BLAKE2B ac0ce5d0e1ec8adce9fb665ca9782a623bb0a90ff302439612a3f09a96f86bdea4b85e4eaae60a3d432a37b9e0717925e2e6768a747108b2c788effa94ee29b9 SHA512 692b5e00cf2ec29f24e0da6cbdf1def11051299a460611cd8fd46f85be55e9a5cf45b70617b5cc8b037bd3c158984a609b107360ed2055957869c68ba9787e47 DIST vscodium-bin-1.44.2.tar.gz 90734547 BLAKE2B 7800f11dfb0bdd9ce1b85ad17960902be363efa816b8ff9f923f3ff31b557c3e61ad8dbb3eab28ac0e8deb9e892719ac17dc33bbe34b1add2b920e11a6f70388 SHA512 aa681bf4fa5f571349d50be85d1c4b75c57d369a14c4c1a9827d90d36e189f2aee72f02a6b0a4aba0973cb9937c02d66a34398c820f4bd13b8b41c653badf9f9 DIST vscodium-bin-1.49.0.tar.gz 97489317 BLAKE2B 0ccc3b703688166420646453d77409e188197c0b52ac8df0be5ccc6a894607502927a34664ce0fb86f1159f7607a45bb8056056e0cd1045f5d8ecbaf34cb7f31 SHA512 93d66adb0e0adbd95d06ac0f0f3356522d95bfce96db9e253b474e5665f4b9228dc719504e8e0ab811b9c1b6a3d8b3a1732181bcb3b2acfe9ed9693c6c0ae3f1 +DIST vscodium-bin-1.50.0.tar.gz 97501359 BLAKE2B d018ccc6f74bcb641070332934b32796c4b82b56c9865f5d56772ea7dfa71d3ff99697bde7e2a3c2d3bb2243c26c881abd20a9ab28ddd0b250b2112cee929cf3 SHA512 63281fe8c3d3fb4a816162a6483552b289e3f8738dc00e979e50baa9e8fba28ed84909adbad228cd3f249f3c7b295ec13da5c64ff8beb69f3a630e78ffca14de diff --git a/app-editors/vscodium-bin/vscodium-bin-1.50.0.ebuild b/app-editors/vscodium-bin/vscodium-bin-1.50.0.ebuild new file mode 100644 index 0000000..134d6d6 --- /dev/null +++ b/app-editors/vscodium-bin/vscodium-bin-1.50.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop pax-utils xdg + +DESCRIPTION="Open Source Software Binaries of VSCode" +HOMEPAGE="https://github.com/VSCodium/vscodium" +SRC_URI="https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz -> ${P}.tar.gz" + +RESTRICT="mirror strip bindist" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="libsecret" + +DEPEND=" + >=media-libs/libpng-1.2.46:0 + >=x11-libs/gtk+-3.0:3 + x11-libs/cairo + x11-libs/libXtst +" +RDEPEND=" + ${DEPEND} + >=net-print/cups-2.0.0 + dev-libs/nss + x11-libs/libXScrnSaver + x11-libs/libnotify + libsecret? ( + app-crypt/libsecret[crypt] + ) +" + +QA_PRESTRIPPED=" + opt/${PN}/code +" + +S="${WORKDIR}" + +src_install() { + pax-mark m code + insinto "/opt/${PN}" + doins -r * + dosym "../../opt/${PN}/bin/codium" "/usr/bin/codium-bin" + dosym "../../opt/${PN}/bin/codium" "/usr/bin/vscodium-bin" + make_desktop_entry "codium-bin" "Codium-bin" "codium-bin" "Development;IDE" + newicon "resources/app/resources/linux/code.png" codium-bin.png + fperms +x "/opt/${PN}/codium" + fperms +x "/opt/${PN}/bin/codium" + fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" + insinto "/usr/share/licenses/${PN}" +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}