Removed vscode as it is now in gentoo main.

This commit is contained in:
Ronald Farrer 2021-08-01 19:00:33 -07:00
parent 61cde06d86
commit f038f84821
3 changed files with 0 additions and 88 deletions

View file

@ -1,3 +0,0 @@
DIST vscode-1.58.2-amd64.tar.gz 105591644 BLAKE2B bc130bfeab48f60f4149aa9d44aebbfba121cb629f1295acb23361a06e5071ddb2dc147c7d161b67f57d45fdb1337784a85bb4f08c6f82a48675c35be0037047 SHA512 00e4012d133e8755b13b1b0136078db872b7f202c59663ea46b137451338ca77f8020cc7fffa807ba5e5963105f0ce8ea0d2a0f29702078a64ace5743da6c83e
EBUILD vscode-bin-1.58.2.ebuild 1536 BLAKE2B edd26e668bda5b83ca0ee21c5c021cf1b6f00d01242ea1d15dbcdd8ee5ad82fa296d26aeeceeddf51450f3527ef5cbaf2b822fd75996390917be429411e7dbd8 SHA512 67627330b4ee864b19df22153c789ebcacd246ceb1ea4ddc9fd479ddfebd0679892e6a65cbd7db263513cbc6f3d0404117242174a66ba2eeb8e0c977f41e5f1f
MISC metadata.xml 649 BLAKE2B 4cee722396c3506631ce7887689dc6e1ab7de468b65c96618a4f9f44f7db09f99ed86ab8213d66b5a71161998b041e0b42c527f2152e0c111505d2b0ea2f9f06 SHA512 28e347c338c7918601b6cdfdeae1281bbc5af64a5badcc9fd797edafe92d95f911a813e452efb9fdf0946e5f8ec287bbdb58580b04cb5ca9c0c97ca4a745b243

View file

@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">Microsoft/vscode</remote-id>
<bugs-to>https://github.com/Microsoft/vscode/issues</bugs-to>
<maintainer type="project">
<name>Microsoft</name>
<email>opensource@microsoft.com</email>
</maintainer>
</upstream>
<maintainer type="person">
<email>canutethegreat@gmail.com</email>
<name>Ronald Farrer</name>
<description>CanuteTheGreat-overlay</description>
</maintainer>
<use>
<flag name="pax_kernel">Triggers a paxmarking of the binary</flag>
</use>
</pkgmetadata>

View file

@ -1,65 +0,0 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop pax-utils
MY_PN="${PN/-bin}"
MY_P=${MY_PN}-${PV}
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft (binary version)"
HOMEPAGE="https://code.visualstudio.com"
SRC_URI="
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${MY_P}-amd64.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MS-vscode-EULA"
SLOT="0"
KEYWORDS="~amd64"
IUSE="pax_kernel"
DEPEND="
>=media-libs/libpng-1.2.46
>=x11-libs/gtk+-2.24.8-r1:2
x11-libs/cairo
gnome-base/gconf
x11-libs/libXtst
!app-editors/vscode
"
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]"
DOCS=( resources/app/LICENSE.rtf )
QA_PRESTRIPPED="opt/${MY_PN}/code"
QA_PREBUILT="opt/${MY_PN}/code"
pkg_setup(){
use amd64 && S="${WORKDIR}/VSCode-linux-x64"
}
src_install(){
mkdir -p "${ED}/opt/${MY_PN}"
cp -r . "${ED}/opt/${MY_PN}/"
dosym "/opt/${MY_PN}/bin/code" "/usr/bin/${MY_PN}"
dosym "/opt/${MY_PN}/bin/code" "/usr/bin/code"
make_desktop_entry "${MY_PN}" "Visual Studio Code" "${MY_PN}" "Development;IDE"
newicon "resources/app/resources/linux/code.png" ${MY_PN}.png
einstalldocs
use pax_kernel && pax-mark -m "${ED%/}"/opt/${MY_PN}/code
}
pkg_postinst(){
elog "You may install some additional utils, so check them in:"
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
}