diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2021-11-24 16:38:40 +0000 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2021-11-24 16:38:40 +0000 |
commit | 4f507206fd0480598f1d2e934f694ca072daf900 (patch) | |
tree | 35bd5d0c9821439c9f546caad6b9e532e9284a4c | |
parent | Update metadata and ebuild with missing use flags for partclone (diff) | |
download | ssnb-4f507206fd0480598f1d2e934f694ca072daf900.tar.gz ssnb-4f507206fd0480598f1d2e934f694ca072daf900.tar.bz2 ssnb-4f507206fd0480598f1d2e934f694ca072daf900.zip |
Update visual-studio-code
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
-rw-r--r-- | app-editors/visual-studio-code/Manifest | 2 | ||||
-rw-r--r-- | app-editors/visual-studio-code/visual-studio-code-1.62.3.ebuild | 76 |
2 files changed, 78 insertions, 0 deletions
diff --git a/app-editors/visual-studio-code/Manifest b/app-editors/visual-studio-code/Manifest index b2c86b8..0b4241a 100644 --- a/app-editors/visual-studio-code/Manifest +++ b/app-editors/visual-studio-code/Manifest @@ -1,5 +1,7 @@ AUX visual-studio-code.desktop 219 BLAKE2B 76da7de95bb06cab2feaef664aee550b9ea68b58ecf3a9affa82fa11e1aeb8e754498cf1aa0b2dc18030fc2d800173c4b7ffd9c17dc0dc9de012fafd631d0060 SHA512 97b81eb1461225f5fef1187709387679d081e377897660e825a6ea356753b2c95e690552e5e75d76371126551786f36a43cd141b06c3cde436ccfb4a75347b03 AUX visual-studio-code.png 30538 BLAKE2B 16cf4c0e8f6c59451e38049b2531b08cfac9c0ef570b0f4c28c16a51ebfa81e95db2c5286dd4c1ddb0fa535858f3373cff2f76a21a2859321cd80529c2d6ef52 SHA512 fabb74b9ab860d8003798ea85db2a3c79c1b683897acc5b580884a8946fa060276f8cdf459a9fb5fd9a560094b250838a3dfa2e5e5f8032601a155466dffa160 DIST visual-studio-code-1.62.0-amd64.tar.gz 113727156 BLAKE2B 5d0fd32b4442c7d13ba232cf708c3d262b45f9096e07590ae5efead2d9e0d8737aca6b66f950a08304b80e10773ca39d64a72106ef5d9830298b84b4c1d7692e SHA512 5c13d6dcd0bd6ecfb0f5999b51bb49ce8bab4d0a24e5813620d97d28c3567046bc46dce98cff628fb58bddf243d2898a0f8b43b9b4dee390450db4bd1de09bcf +DIST visual-studio-code-1.62.3-amd64.tar.gz 113702793 BLAKE2B 0d5b79c0379bfc39f8ab356d6ae760d2b3bb32c41b308e5f78d824a8198201f1ea1c61034e2207bd674d00b1d5b52e75dbab07d2d7053adb17e9b64a4a47fd0c SHA512 5d69e7fda01c381b3a068a73f5506aee78f299b2a9a48fce46100d5f6d1f4558c4c0abbe17c8507e85711409052fdf9d590b12c0534e6e5cfe002f766df69c50 EBUILD visual-studio-code-1.62.0.ebuild 1808 BLAKE2B 31a7568c15d8d53921b16f1cdfd8f898a3378ab310e65904721a111b61159e055f0cf087c1dc3e88dabc47cf55e23f8097652e1367290a02469df9779a71b8b7 SHA512 7615b67a8636f404b63c6dd4206a7175103ef58e7ec2b4c83f0b71e9d3b82ef6879aa23bb929da2c435c30c58cd458cc5e461acb9b6991f6be95515b0da675c3 +EBUILD visual-studio-code-1.62.3.ebuild 1808 BLAKE2B 31a7568c15d8d53921b16f1cdfd8f898a3378ab310e65904721a111b61159e055f0cf087c1dc3e88dabc47cf55e23f8097652e1367290a02469df9779a71b8b7 SHA512 7615b67a8636f404b63c6dd4206a7175103ef58e7ec2b4c83f0b71e9d3b82ef6879aa23bb929da2c435c30c58cd458cc5e461acb9b6991f6be95515b0da675c3 MISC metadata.xml 309 BLAKE2B 73c83a727af6c58aaac4474203ae062f7b93feade63573a5f6fe77b1d048069647dff9537a85a2d1b068ff224d8e189e34ae7a13971034075fad61e1269b3658 SHA512 7550b26c1e56caadc801d76a1069e23a05e9392c512599aaf34dae7267f3103611bcf8e4a4400b1ffca4afc7104feefba164a64559317e8637bcc636492671e3 diff --git a/app-editors/visual-studio-code/visual-studio-code-1.62.3.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.62.3.ebuild new file mode 100644 index 0000000..0045fac --- /dev/null +++ b/app-editors/visual-studio-code/visual-studio-code-1.62.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop pax-utils + +MY_PN="vscode" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Multiplatform Visual Studio Code from Microsoft (binary version)" +HOMEPAGE="https://code.visualstudio.com" +BASE_URI="https://update.code.visualstudio.com/${PV}" +SRC_URI=" + amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz ) + " +RESTRICT="mirror strip bindist" + +LICENSE="MS-vscode-EULA" +SLOT="0" +KEYWORDS="~amd64" +IUSE="global-menu libsecret qt5" + +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} + >=net-print/cups-2.0.0 + x11-libs/libnotify + x11-libs/libXScrnSaver + dev-libs/nss + libsecret? ( app-crypt/libsecret[crypt] ) + global-menu? ( + dev-libs/libdbusmenu + qt5? ( + dev-libs/libdbusmenu-qt + ) + ) +" + +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" + use x86 && S="${WORKDIR}/VSCode-linux-ia32" +} + +src_install(){ + pax-mark m code + insinto "/opt/${PN}" + doins -r * + fperms +x "/opt/${PN}/code" + fperms +x "/opt/${PN}/bin/code" + #fperms +x "/opt/${PN}/libnode.so" + fperms +x "/opt/${PN}/resources/app/node_modules.asar.unpacked/vscode-ripgrep/bin/rg" + fperms +x "/opt/${PN}/resources/app/extensions/git/dist/askpass.sh" + dosym "/opt/${PN}/bin/code" "/usr/bin/${MY_PN}" + make_desktop_entry "${MY_PN}" "Visual Studio Code" "${MY_PN}" "Development;IDE" + newicon "resources/app/resources/linux/code.png" ${MY_PN}.png + einstalldocs +} + +pkg_postinst(){ + elog "You may install some additional utils, so check them in:" + elog "https://code.visualstudio.com/Docs/setup#_additional-tools" +} |