Removed vscode.
This commit is contained in:
parent
33e48fb182
commit
9a2ceb6a50
9 changed files with 0 additions and 587 deletions
|
@ -1,23 +0,0 @@
|
|||
AUX vscode-url-handler.desktop 298 BLAKE2B dc2faeb3b41de07abe24caa54769f784aaa1ce716afe21b84b75a31668fc8821fc74c8084e37acf31ea055969e26c76ecbca6ee5eb873bfbb01fbf5b350e1907 SHA512 1f36ac5dbe3ac21dee7df517c2d8fdb47b8c7ce20d9579b664f256729f21f4575e2181f4873e38db6dfe96c516dc1717f6ad82d1cbff2dbf00af6afc4ecbce5e
|
||||
AUX vscode.desktop 458 BLAKE2B 98bb17607ad9d8f82e0cbbd032718481cfc3d5118de6f15d8fe8e5efee7da64a98f02c59a3e840b016fdabf6ce8b45e14fa0cc2a3e50f0138a970fb9fb4fb8c4 SHA512 d1de63ee86180bfbce1e5d439ba4bda1cb12c4e3d98e6158be9cbd3cca82307400fa137636b4f355ab96b68f364c5af0d85c336652f9004ae535224e1d70c0ba
|
||||
DIST vscode-1.58.2-amd64.tar.gz 105591644 BLAKE2B bc130bfeab48f60f4149aa9d44aebbfba121cb629f1295acb23361a06e5071ddb2dc147c7d161b67f57d45fdb1337784a85bb4f08c6f82a48675c35be0037047 SHA512 00e4012d133e8755b13b1b0136078db872b7f202c59663ea46b137451338ca77f8020cc7fffa807ba5e5963105f0ce8ea0d2a0f29702078a64ace5743da6c83e
|
||||
DIST vscode-1.58.2-arm.tar.gz 96167069 BLAKE2B 1c19cf29c9419663216e3ccf521314e0102efcd18a69b0e3668259f8172a377300f1ca900e2d0cda325619a855fdcd6def5db34ebab0e6f79bc0ffd1cb2eb609 SHA512 32c4011c0a10827b73388b469246c179fc3aa06e883c1264f215cd96695821945401b4d0bfc7cf324768977eeb0c785ab4948fdb50899b26b9ca469087ab3b45
|
||||
DIST vscode-1.58.2-arm64.tar.gz 110942132 BLAKE2B 3fb2a83087789690ba930ae0910b931f8f2ed129049e536d172bd67be6d928afb2e17ba09756c1dd3f9c145354fa8eface31928f419f74df165bb0c60588dc57 SHA512 f1ae69955251b6e8e92eebf01edfd820cdbf06c887349ba1cb6db2ff8aee170183029a0f2b5075b8a07ed9a26e982b87d63fe0fe4a193fa71ff5ebb52fdf1221
|
||||
DIST vscode-1.59.0-amd64.tar.gz 106146198 BLAKE2B 3928706d31b1034e689a12cc28fc64d2517f70c3018f975c8c6d1bd144dfd6c75619995ae1763db19768cdac91711057ebbf0c2f86010a5cdb3797b2726f53cf SHA512 71ad32dd4a5ad36f33939970aaab3d71c23134d8743bb5806b62cc12c159c6695d6616a78bc111f81c0bb11fb8665f3986bb8bed49a8ed98d3e876a30e3b660d
|
||||
DIST vscode-1.59.0-arm.tar.gz 97705945 BLAKE2B 4be8024c2133b336bf8b40e1941f2dd8a7bfa59a3894b26298fe413485b6968dacaf8c8a34cd8bb4fc887285a4e216788780f05d46e7b769bfc020af330809c2 SHA512 62b9b18bd8c43e33adb4b18ce5018fa872cd399473e326deb0d7a136e39191d271709db4c675b9eb6a5d9e9126980f52e38062e2de316bdf578266800c99d15f
|
||||
DIST vscode-1.59.0-arm64.tar.gz 111285142 BLAKE2B a7cd2d69850537780270cf1531fb413215803282ff0d3aed5636719c1755a7d90c4af055fe0d19a20b874e86a5a452eb408444b12557720dd12e5b66d1eeceff SHA512 af8005092c4f40657197489e9e1b6363106e24cc89f38631061c9aaa30183ea5ebac6a97a13de7b872a2202fe7ffec2f5085755e054f65e93b41269aec45de86
|
||||
DIST vscode-1.60.0-amd64.tar.gz 105538376 BLAKE2B 2d624015210031d067752d9dce79eea7a1163b824030d67613534a7987babfb30400a21cf48dd228bd00617bf5ede4770ae2dc4f5b884fad88e35b75b3867764 SHA512 b18d74d05f3b7005939a074e2095e66520ab98040df2cfc06c54b72367cea85e990995d51605070975f80fd20578333ee71631599491d705b217b8eec6d5557b
|
||||
DIST vscode-1.60.0-arm.tar.gz 94231473 BLAKE2B c7e64028a661cc7a1ded78c5810583eaab576825328c0e6dc90e21b9aa324580ea498bc93383711ab8c7817990775d1985eb7928c20142974b52d74e80ff9f49 SHA512 1ec6b4fcfe494cf0e234eeb6c3d71e315f95041243cb7ca04bf1dd53ee44d978137f1cf1e92e60fd584fedc945e05bacd316574f1daf04c9710361457566166a
|
||||
DIST vscode-1.60.0-arm64.tar.gz 107828500 BLAKE2B add0cc04b795f1181747862eca9fd9c984847358f7c644ac9472d46a05bf369cef5f85224dcbe060fbd16216a35c466b1043c4ceed0c68114b3fd89abdd20cef SHA512 963ab8d05497b537f758b227fa8d101234be82effcac99bf4f9c53d7f995f842e996ceaf905a76bceb6ed9e5233ab40be6b1629319af49fa15614b1835b45702
|
||||
DIST vscode-1.60.1-amd64.tar.gz 105536833 BLAKE2B 40c5ac3a1289c7dd5ad186b780c50ac3290729b114a1ff425c3fe70cce7420b105e7b02f868eea979013e1ac169b9dd6f3ad59f7f3f1d24faef78a8f183f77ad SHA512 40734256793133b0f63655ec42ea39de7e91363152b6cc39705e1ffb1fead17fd3fd535d5446b7c94e07063414338c73de90321bda999470238ffaa4480edd6f
|
||||
DIST vscode-1.60.1-arm.tar.gz 94231965 BLAKE2B 7cfc7edfb7a632a4cbede205bd74c74884eb026ecfb3ee068ff71b887a4812399412b41d243053b3098375c907d1824502600463b486d8c2c802f090305f9321 SHA512 1df28940435d0e21c8617c0b501497cc2b92d67c7b09835287bbbe731d5264e77a7ae1ec48d45e0f0058f47b1d8228173cfaf398b5953378c9e8f1d85bd851e3
|
||||
DIST vscode-1.60.1-arm64.tar.gz 107824269 BLAKE2B 36bb6b9844ed865592686312953ba9ea86dbe15d5e48fc593ca0c9b4314d92a86cbdd21ca91875f0005f1bb5fe99ed335fb2efeaba1159e28a6a8e2c4f0eea72 SHA512 5100f1feebda2fcd977d8c5440a63bd3583488f39ef4fcc775125e449e2659fd21a0d41b4d3aad663d5f4dd4cb90e7d92a6e3626158ac35abd1b2db3ba61f390
|
||||
DIST vscode-1.60.2-amd64.tar.gz 105537736 BLAKE2B 395cbea3c7522749423d8b79d7461189dbb04b1d751bb4a70b6ce7782e971c1dac0e51cda91e961cab0fceeef16e073803d2f54bd6d8840596a2ea45f9f34369 SHA512 caf8acea129533a6cb5824d5ed97f9e9f740dcdc67c3a0c3cf778d58a8fddebe870892d25ad74116c5311a53497db933ff70e5e250480c3a0d76e5fc62733b02
|
||||
DIST vscode-1.60.2-arm.tar.gz 94232609 BLAKE2B eb896cc316dfc96d6d523d15da735b18eb6e6011d7ec92b5f9fa8732f574097579c8af4601312c831a9f4aa752087188e203b761e86df31b688838b45354deb1 SHA512 8261b71740344f927091dadd28bcb06d17b70551da0fd0b3c20378ec744cc31660ae32aadedd87a8942c410da381dbf7e023c27af913a62a1bba774d6de241ea
|
||||
DIST vscode-1.60.2-arm64.tar.gz 107827801 BLAKE2B aff930e81534972f2dc3d7d0d5cc489ec77818c0304859d64838317fbaf9225f4325a8b237268569f88eca7c76ea7a73275d90747b4485eff30d5f59a9cdd977 SHA512 cc50c7ec44d546b227c271f621be87120a1c36c2ed8236421e9c7227c1cb83bf970d5673191afc1383c4479393b5fae873fd6829179d1d9139b6c3ec32c5c1fd
|
||||
EBUILD vscode-1.58.2.ebuild 2498 BLAKE2B 6f0b4c2d4c6c9fc109fe05611d54bc953436e183cdcbd3f3fd4cba200ef35dcd60310a87d27a9282daab5bf738803f5c47ab9b64e4ad994673d815df469a1299 SHA512 e53bb2318c995aff9bc38444f4a09e726a6373b3737828b61c58dd638619a8ec877e754001ddc11a1bf8d869814bd0af098205a1199c967fbb79bed193767867
|
||||
EBUILD vscode-1.59.0.ebuild 2498 BLAKE2B 6f0b4c2d4c6c9fc109fe05611d54bc953436e183cdcbd3f3fd4cba200ef35dcd60310a87d27a9282daab5bf738803f5c47ab9b64e4ad994673d815df469a1299 SHA512 e53bb2318c995aff9bc38444f4a09e726a6373b3737828b61c58dd638619a8ec877e754001ddc11a1bf8d869814bd0af098205a1199c967fbb79bed193767867
|
||||
EBUILD vscode-1.60.0.ebuild 2498 BLAKE2B 6f0b4c2d4c6c9fc109fe05611d54bc953436e183cdcbd3f3fd4cba200ef35dcd60310a87d27a9282daab5bf738803f5c47ab9b64e4ad994673d815df469a1299 SHA512 e53bb2318c995aff9bc38444f4a09e726a6373b3737828b61c58dd638619a8ec877e754001ddc11a1bf8d869814bd0af098205a1199c967fbb79bed193767867
|
||||
EBUILD vscode-1.60.1.ebuild 2498 BLAKE2B 6f0b4c2d4c6c9fc109fe05611d54bc953436e183cdcbd3f3fd4cba200ef35dcd60310a87d27a9282daab5bf738803f5c47ab9b64e4ad994673d815df469a1299 SHA512 e53bb2318c995aff9bc38444f4a09e726a6373b3737828b61c58dd638619a8ec877e754001ddc11a1bf8d869814bd0af098205a1199c967fbb79bed193767867
|
||||
EBUILD vscode-1.60.2.ebuild 2498 BLAKE2B 6f0b4c2d4c6c9fc109fe05611d54bc953436e183cdcbd3f3fd4cba200ef35dcd60310a87d27a9282daab5bf738803f5c47ab9b64e4ad994673d815df469a1299 SHA512 e53bb2318c995aff9bc38444f4a09e726a6373b3737828b61c58dd638619a8ec877e754001ddc11a1bf8d869814bd0af098205a1199c967fbb79bed193767867
|
||||
MISC metadata.xml 852 BLAKE2B 142262701d004a1b535dc27a7bfd26574ba2da72c4df87aaad5cbf48c0a141074fbf35614ec172ce348ce8e6a00bda69e0806aff82e9b0d2490c5a3900959cb2 SHA512 5d30c22393ef858af8be430c16c6d07f285df278c9da1c8e5561d966ec706a7dc573a9360c5b0baaaf61d324a4fa05f8ae385738a5e6a1726d38dc9ba7f01a8f
|
|
@ -1,12 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Visual Studio Code - URL Handler
|
||||
Comment=Editing evolved
|
||||
GenericName=Code Editor
|
||||
Exec=/usr/bin/vscode --open-url %U
|
||||
Icon=vscode
|
||||
Type=Application
|
||||
NoDisplay=true
|
||||
StartupNotify=true
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
MimeType=x-scheme-handler/vscode;
|
||||
Keywords=vscode;
|
|
@ -1,18 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Name=Visual Studio Code
|
||||
Comment=Editing evolved
|
||||
GenericName=Code Editor
|
||||
Exec=/usr/bin/vscode --unity-launch %F
|
||||
Icon=vscode
|
||||
Type=Application
|
||||
StartupNotify=false
|
||||
StartupWMClass=Code
|
||||
Categories=Utility;TextEditor;Development;IDE;
|
||||
MimeType=text/plain;inode/directory;application/x-code-workspace;
|
||||
Actions=new-empty-window;
|
||||
Keywords=vscode;
|
||||
|
||||
[Desktop Action new-empty-window]
|
||||
Name=New Empty Window
|
||||
Exec=/usr/bin/vscode --new-window %F
|
||||
Icon=vscode
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>canutethegreat@gmail.com</email>
|
||||
<name>Ronald Farrer</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Visual Studio Code is a lightweight but powerful source code editor which
|
||||
runs on your desktop and is available for Windows, macOS and Linux. It
|
||||
comes with built-in support for JavaScript, TypeScript and Node.js and has
|
||||
a rich ecosystem of extensions for other languages (such as C++, C#, Java,
|
||||
Python, PHP, Go) and runtimes (such as .NET and Unity).
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">microsoft/vscode</remote-id>
|
||||
<bugs-to>https://github.com/microsoft/vscode/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1,103 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libpng:0/16
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/vscode/code
|
||||
/opt/vscode/libEGL.so
|
||||
/opt/vscode/libffmpeg.so
|
||||
/opt/vscode/libGLESv2.so
|
||||
/opt/vscode/libvulkan.so*
|
||||
/opt/vscode/chrome-sandbox
|
||||
/opt/vscode/libvk_swiftshader.so
|
||||
/opt/vscode/swiftshader/libEGL.so
|
||||
/opt/vscode/swiftshader/libGLESv2.so
|
||||
/opt/vscode/resources/app/extensions/*
|
||||
/opt/vscode/resources/app/node_modules.asar.unpacked/*
|
||||
"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
fperms +x /opt/${PN}/{,bin/}code
|
||||
fperms +x /opt/${PN}/chrome-sandbox
|
||||
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/code" "usr/bin/vscode"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "You may want to install some additional utils, check in:"
|
||||
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
|
||||
}
|
|
@ -1,103 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libpng:0/16
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/vscode/code
|
||||
/opt/vscode/libEGL.so
|
||||
/opt/vscode/libffmpeg.so
|
||||
/opt/vscode/libGLESv2.so
|
||||
/opt/vscode/libvulkan.so*
|
||||
/opt/vscode/chrome-sandbox
|
||||
/opt/vscode/libvk_swiftshader.so
|
||||
/opt/vscode/swiftshader/libEGL.so
|
||||
/opt/vscode/swiftshader/libGLESv2.so
|
||||
/opt/vscode/resources/app/extensions/*
|
||||
/opt/vscode/resources/app/node_modules.asar.unpacked/*
|
||||
"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
fperms +x /opt/${PN}/{,bin/}code
|
||||
fperms +x /opt/${PN}/chrome-sandbox
|
||||
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/code" "usr/bin/vscode"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "You may want to install some additional utils, check in:"
|
||||
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
|
||||
}
|
|
@ -1,103 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libpng:0/16
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/vscode/code
|
||||
/opt/vscode/libEGL.so
|
||||
/opt/vscode/libffmpeg.so
|
||||
/opt/vscode/libGLESv2.so
|
||||
/opt/vscode/libvulkan.so*
|
||||
/opt/vscode/chrome-sandbox
|
||||
/opt/vscode/libvk_swiftshader.so
|
||||
/opt/vscode/swiftshader/libEGL.so
|
||||
/opt/vscode/swiftshader/libGLESv2.so
|
||||
/opt/vscode/resources/app/extensions/*
|
||||
/opt/vscode/resources/app/node_modules.asar.unpacked/*
|
||||
"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
fperms +x /opt/${PN}/{,bin/}code
|
||||
fperms +x /opt/${PN}/chrome-sandbox
|
||||
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/code" "usr/bin/vscode"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "You may want to install some additional utils, check in:"
|
||||
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
|
||||
}
|
|
@ -1,103 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libpng:0/16
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/vscode/code
|
||||
/opt/vscode/libEGL.so
|
||||
/opt/vscode/libffmpeg.so
|
||||
/opt/vscode/libGLESv2.so
|
||||
/opt/vscode/libvulkan.so*
|
||||
/opt/vscode/chrome-sandbox
|
||||
/opt/vscode/libvk_swiftshader.so
|
||||
/opt/vscode/swiftshader/libEGL.so
|
||||
/opt/vscode/swiftshader/libGLESv2.so
|
||||
/opt/vscode/resources/app/extensions/*
|
||||
/opt/vscode/resources/app/node_modules.asar.unpacked/*
|
||||
"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
fperms +x /opt/${PN}/{,bin/}code
|
||||
fperms +x /opt/${PN}/chrome-sandbox
|
||||
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/code" "usr/bin/vscode"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "You may want to install some additional utils, check in:"
|
||||
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
|
||||
}
|
|
@ -1,103 +0,0 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop pax-utils xdg
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-atk
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/libpng:0/16
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/vscode/code
|
||||
/opt/vscode/libEGL.so
|
||||
/opt/vscode/libffmpeg.so
|
||||
/opt/vscode/libGLESv2.so
|
||||
/opt/vscode/libvulkan.so*
|
||||
/opt/vscode/chrome-sandbox
|
||||
/opt/vscode/libvk_swiftshader.so
|
||||
/opt/vscode/swiftshader/libEGL.so
|
||||
/opt/vscode/swiftshader/libGLESv2.so
|
||||
/opt/vscode/resources/app/extensions/*
|
||||
/opt/vscode/resources/app/node_modules.asar.unpacked/*
|
||||
"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
fperms +x /opt/${PN}/{,bin/}code
|
||||
fperms +x /opt/${PN}/chrome-sandbox
|
||||
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/code" "usr/bin/vscode"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
elog "You may want to install some additional utils, check in:"
|
||||
elog "https://code.visualstudio.com/Docs/setup#_additional-tools"
|
||||
}
|
Loading…
Reference in a new issue