diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2022-04-29 13:05:50 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2022-04-29 13:05:50 +0100 |
commit | 60a5965d873d393b5072005ea48286634cd5e56f (patch) | |
tree | 3944f62f7ad59568f5fc0556ce350ac97e3ef3dc | |
parent | Update manifest for visual-studio-code (diff) | |
download | ssnb-60a5965d873d393b5072005ea48286634cd5e56f.tar.gz ssnb-60a5965d873d393b5072005ea48286634cd5e56f.tar.bz2 ssnb-60a5965d873d393b5072005ea48286634cd5e56f.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.66.2.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 d5209ec..cf926df 100644 --- a/app-editors/visual-studio-code/Manifest +++ b/app-editors/visual-studio-code/Manifest @@ -2,6 +2,8 @@ AUX visual-studio-code.desktop 219 BLAKE2B 76da7de95bb06cab2feaef664aee550b9ea68 AUX visual-studio-code.png 30538 BLAKE2B 16cf4c0e8f6c59451e38049b2531b08cfac9c0ef570b0f4c28c16a51ebfa81e95db2c5286dd4c1ddb0fa535858f3373cff2f76a21a2859321cd80529c2d6ef52 SHA512 fabb74b9ab860d8003798ea85db2a3c79c1b683897acc5b580884a8946fa060276f8cdf459a9fb5fd9a560094b250838a3dfa2e5e5f8032601a155466dffa160 DIST visual-studio-code-1.65.2-amd64.tar.gz 109564124 BLAKE2B 5b842253ed6438019de5f114f951651adc1773db93b408d3fec59b781ff32c0fb66f0e80ff0c02b6306ae46f541d55667f37d50ccf64709e810bf5e952af543e SHA512 1b5fd6c42966e66f963cb63a289414d3733cb64c051c36ad5a43481ccbd24996e99b58738b23be25a51890eb95593b7a2f224d61c3a21ea3195baed4f57cc761 DIST visual-studio-code-1.66.1-amd64.tar.gz 115616634 BLAKE2B 9637f33068e4f34d1dc313bc353a722ff46c8be266a58ad03bd007bb5e815bfe1984bc799cd9d0c9eaef87e321f5f4f8f3e3c1eaa8ca1fc6d0b78e5002aa3ac7 SHA512 3a0e41f527b17ad845477f36e0a3b783e07b57fa0f3ac3be5d7387ff0b95f8cef2ce2ab427f971d357d607342645b642c3efc56fd3bbd440ace9e09b8e4b5778 +DIST visual-studio-code-1.66.2-amd64.tar.gz 115605903 BLAKE2B db6161e5e387c58b63c86bdc6e1c2383cc977c4ff23f0e26894d7c176b3c0ff29d7dd60f18f535894030a8ca323b598bbe421e05c4ecdbfdaac57a9a378956e5 SHA512 cbf99e949a637f518f431d62b2119c13630d2be87a681892a7be40bcdc19f6fd1a4c9e9955a07d215aadce57a6acbf1ed5d146193119eeec78e2a7878d708619 EBUILD visual-studio-code-1.65.2.ebuild 1809 BLAKE2B cd86686b45a469833d9ac5c60e819ac30087bf3c762559ee0af1b5bae87b54ddda486bda645db7870417ee2cd317840dfa42a004ca20a6be16ee523f0faf553c SHA512 a78815c81fad044a5d84d396e936090b993869584b9233fb9ac838f84b553bf0f3f7e05a0424acf372ca223f7e48a14fc54dfd8801e8e01934c4e8af7fd7e960 EBUILD visual-studio-code-1.66.1.ebuild 1809 BLAKE2B cd86686b45a469833d9ac5c60e819ac30087bf3c762559ee0af1b5bae87b54ddda486bda645db7870417ee2cd317840dfa42a004ca20a6be16ee523f0faf553c SHA512 a78815c81fad044a5d84d396e936090b993869584b9233fb9ac838f84b553bf0f3f7e05a0424acf372ca223f7e48a14fc54dfd8801e8e01934c4e8af7fd7e960 +EBUILD visual-studio-code-1.66.2.ebuild 1809 BLAKE2B cd86686b45a469833d9ac5c60e819ac30087bf3c762559ee0af1b5bae87b54ddda486bda645db7870417ee2cd317840dfa42a004ca20a6be16ee523f0faf553c SHA512 a78815c81fad044a5d84d396e936090b993869584b9233fb9ac838f84b553bf0f3f7e05a0424acf372ca223f7e48a14fc54dfd8801e8e01934c4e8af7fd7e960 MISC metadata.xml 309 BLAKE2B 73c83a727af6c58aaac4474203ae062f7b93feade63573a5f6fe77b1d048069647dff9537a85a2d1b068ff224d8e189e34ae7a13971034075fad61e1269b3658 SHA512 7550b26c1e56caadc801d76a1069e23a05e9392c512599aaf34dae7267f3103611bcf8e4a4400b1ffca4afc7104feefba164a64559317e8637bcc636492671e3 diff --git a/app-editors/visual-studio-code/visual-studio-code-1.66.2.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.66.2.ebuild new file mode 100644 index 0000000..b762754 --- /dev/null +++ b/app-editors/visual-studio-code/visual-studio-code-1.66.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2022 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" +} |