add app-editors/vscodium-bin-1.59.0.ebuild
This commit is contained in:
parent
e987409b66
commit
a34d1ac749
4
app-editors/vscodium-bin/Manifest
Normal file
4
app-editors/vscodium-bin/Manifest
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
DIST VSCodium-linux-arm64-1.59.0.tar.gz 115352552 BLAKE2B 64843ceb0d366d3f942dc2a7dc8ac463169c41b3212f5575271ed84323e91d364372f5aaddb0394abcf7b5dd0f14fa1a24cabcc8b356dc63a4862f6193d3b704 SHA512 8a02818cffe3627b0a6846289b2b0baf34e3e36ea3f5bdc1a8166f2a6c47c1ea965fc280ce633b5ef629f64d6f90cc3826156c143a2e066a31bd9255677fc1a8
|
||||||
|
DIST VSCodium-linux-armhf-1.59.0.tar.gz 100782150 BLAKE2B afa0b417cd818a2b0538da22600a9277f6bc2052e1707d36575d881742401b16c1b60ea0b6649997f10afe511f4800065955533df97f06f8c4bee4ff47357795 SHA512 e537f296581f30b7ce0824ed0549e68947cbac31f1c082b24d7f96d9fb8f014f38257e6d94c11d4e3342fe3b26a620ca3f38254644a3e1af9437ddf11cd7c016
|
||||||
|
DIST VSCodium-linux-x64-1.59.0.tar.gz 110180828 BLAKE2B 255d5eead47fe5e98d887a9066a968bb59f2e674b273ce9b2b9232eac99c11b0411f68e2bd4da89c9de3fca7496c188ebf087b5dc70e5158c4d1aa876c9795ab SHA512 1bd48d67a8dc0c4f9097abf8f4975823849cbd3e4ac2038c1ea2a2121ccfa189857d3da068e1b07cd6fc36d6009e89d1b21de9f4ea30b02ccbc44355d2a82f92
|
||||||
|
EBUILD vscodium-bin-1.59.0.ebuild 1531 BLAKE2B f14babbaafd52213fd411cba65ee0d5f3194cf0e66193b6d1f03ac0f8e85369798e373210f76787a21eab0b5cb920410ff699a66ceff066abfd25a246caf455c SHA512 a6a3c6673e3de33864cfc0e95bdb8b51f97bdb85ba850c2ab2b31623a300912175130b9c5f0d1c5d2d009af48116084791aa7c64f0cdf31086b9c8e2e386d16c
|
67
app-editors/vscodium-bin/vscodium-bin-1.59.0.ebuild
Normal file
67
app-editors/vscodium-bin/vscodium-bin-1.59.0.ebuild
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user