add app-editors/vscodium-bin-1.58.2.ebuild

This commit is contained in:
ace 2021-08-19 16:30:47 +03:00
parent a34d1ac749
commit 1f41b1e05f
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0
2 changed files with 71 additions and 0 deletions

View File

@ -1,4 +1,8 @@
DIST VSCodium-linux-arm64-1.58.2.tar.gz 115052512 BLAKE2B d1047b34bf6132f47b7423e35a7cb92b98cbac782db1a086c068d0bd60fcc59c16852f18451ac860c8e8940fce08e6e7671fed3db3e19f7c80e34411865c7b5b SHA512 d34b53f9679006c30f2f422a8311a336eea778995fc8dc7cb0c24ecc02c88bbb2cd442f426fa88afd78f7175c16ce6c9f912eaa900d76fa25081824f91cabe0f
DIST VSCodium-linux-arm64-1.59.0.tar.gz 115352552 BLAKE2B 64843ceb0d366d3f942dc2a7dc8ac463169c41b3212f5575271ed84323e91d364372f5aaddb0394abcf7b5dd0f14fa1a24cabcc8b356dc63a4862f6193d3b704 SHA512 8a02818cffe3627b0a6846289b2b0baf34e3e36ea3f5bdc1a8166f2a6c47c1ea965fc280ce633b5ef629f64d6f90cc3826156c143a2e066a31bd9255677fc1a8 DIST VSCodium-linux-arm64-1.59.0.tar.gz 115352552 BLAKE2B 64843ceb0d366d3f942dc2a7dc8ac463169c41b3212f5575271ed84323e91d364372f5aaddb0394abcf7b5dd0f14fa1a24cabcc8b356dc63a4862f6193d3b704 SHA512 8a02818cffe3627b0a6846289b2b0baf34e3e36ea3f5bdc1a8166f2a6c47c1ea965fc280ce633b5ef629f64d6f90cc3826156c143a2e066a31bd9255677fc1a8
DIST VSCodium-linux-armhf-1.58.2.tar.gz 98395232 BLAKE2B 74bb7a07f9d6a9f107cd74a1a593e7770d67d1f0b2e4b809dab420c8b17fe3902a05a26caf59e2474afdfd01a2d65b0889f2d4298cdf512cfa44df8321a8e65a SHA512 58a08f2a5be9c42410772b97d5456d75044454ace5de92e03ac5bd7ff2dcef284e1e747869752f548bb1237e248981e06a9f9a9b6be99f8e8a50cf52fe6dd2c4
DIST VSCodium-linux-armhf-1.59.0.tar.gz 100782150 BLAKE2B afa0b417cd818a2b0538da22600a9277f6bc2052e1707d36575d881742401b16c1b60ea0b6649997f10afe511f4800065955533df97f06f8c4bee4ff47357795 SHA512 e537f296581f30b7ce0824ed0549e68947cbac31f1c082b24d7f96d9fb8f014f38257e6d94c11d4e3342fe3b26a620ca3f38254644a3e1af9437ddf11cd7c016 DIST VSCodium-linux-armhf-1.59.0.tar.gz 100782150 BLAKE2B afa0b417cd818a2b0538da22600a9277f6bc2052e1707d36575d881742401b16c1b60ea0b6649997f10afe511f4800065955533df97f06f8c4bee4ff47357795 SHA512 e537f296581f30b7ce0824ed0549e68947cbac31f1c082b24d7f96d9fb8f014f38257e6d94c11d4e3342fe3b26a620ca3f38254644a3e1af9437ddf11cd7c016
DIST VSCodium-linux-x64-1.58.2.tar.gz 109733827 BLAKE2B 0ada13724f2d4255a9ce58d0fd47415f2f5b4adfed144dae884914888df1f9bb735472e378fc2d4dd74fd1168c3361ad4e945a48607aeb3e095658a7b3e0df2c SHA512 dd98dbd88e64e526f78624e2e42bd116a689174d801412f7750c895794b0658b20b9451d336d0837f4030c11ce35368fb3dd0ade078bac393ada813c912a9a8d
DIST VSCodium-linux-x64-1.59.0.tar.gz 110180828 BLAKE2B 255d5eead47fe5e98d887a9066a968bb59f2e674b273ce9b2b9232eac99c11b0411f68e2bd4da89c9de3fca7496c188ebf087b5dc70e5158c4d1aa876c9795ab SHA512 1bd48d67a8dc0c4f9097abf8f4975823849cbd3e4ac2038c1ea2a2121ccfa189857d3da068e1b07cd6fc36d6009e89d1b21de9f4ea30b02ccbc44355d2a82f92 DIST VSCodium-linux-x64-1.59.0.tar.gz 110180828 BLAKE2B 255d5eead47fe5e98d887a9066a968bb59f2e674b273ce9b2b9232eac99c11b0411f68e2bd4da89c9de3fca7496c188ebf087b5dc70e5158c4d1aa876c9795ab SHA512 1bd48d67a8dc0c4f9097abf8f4975823849cbd3e4ac2038c1ea2a2121ccfa189857d3da068e1b07cd6fc36d6009e89d1b21de9f4ea30b02ccbc44355d2a82f92
EBUILD vscodium-bin-1.58.2.ebuild 1531 BLAKE2B f14babbaafd52213fd411cba65ee0d5f3194cf0e66193b6d1f03ac0f8e85369798e373210f76787a21eab0b5cb920410ff699a66ceff066abfd25a246caf455c SHA512 a6a3c6673e3de33864cfc0e95bdb8b51f97bdb85ba850c2ab2b31623a300912175130b9c5f0d1c5d2d009af48116084791aa7c64f0cdf31086b9c8e2e386d16c
EBUILD vscodium-bin-1.59.0.ebuild 1531 BLAKE2B f14babbaafd52213fd411cba65ee0d5f3194cf0e66193b6d1f03ac0f8e85369798e373210f76787a21eab0b5cb920410ff699a66ceff066abfd25a246caf455c SHA512 a6a3c6673e3de33864cfc0e95bdb8b51f97bdb85ba850c2ab2b31623a300912175130b9c5f0d1c5d2d009af48116084791aa7c64f0cdf31086b9c8e2e386d16c EBUILD vscodium-bin-1.59.0.ebuild 1531 BLAKE2B f14babbaafd52213fd411cba65ee0d5f3194cf0e66193b6d1f03ac0f8e85369798e373210f76787a21eab0b5cb920410ff699a66ceff066abfd25a246caf455c SHA512 a6a3c6673e3de33864cfc0e95bdb8b51f97bdb85ba850c2ab2b31623a300912175130b9c5f0d1c5d2d009af48116084791aa7c64f0cdf31086b9c8e2e386d16c

View File

@ -0,0 +1,67 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils xdg-utils
MY_PN="${PN/-bin}"
DESCRIPTION="Free/Libre Open Source Software Binaries of VSCode (binary version)"
HOMEPAGE="https://vscodium.com"
SRC_URI="
amd64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-x64-${PV}.tar.gz )
arm? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-armhf-${PV}.tar.gz )
arm64? ( https://github.com/VSCodium/vscodium/releases/download/${PV}/VSCodium-linux-arm64-${PV}.tar.gz )"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm ~arm64"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
x11-libs/libXtst
!app-editors/vscodium"
RDEPEND="
${DEPEND}
app-accessibility/at-spi2-atk
>=net-print/cups-2.0.0
x11-libs/libnotify
x11-libs/libXScrnSaver
dev-libs/nss
app-crypt/libsecret[crypt]"
QA_PRESTRIPPED="*"
QA_PREBUILT="opt/${MY_PN}/codium"
S="${WORKDIR}"
src_unpack() {
:
}
src_install(){
mkdir -p "${ED%/}/opt/${MY_PN}"
cd "${ED%/}/opt/${MY_PN}/"
unpack ${A}
dodir /usr/bin
dosym ../../opt/${MY_PN}/bin/codium /usr/bin/${MY_PN}
dosym ../../opt/${MY_PN}/bin/codium /usr/bin/codium
domenu "${FILESDIR}/${PN}.desktop"
newicon "resources/app/resources/linux/code.png" ${MY_PN}.png
pax-mark m "${ED%/}"/opt/${MY_PN}/codium
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}