aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsgeir Bjarni Ingvarsson <asgeir@fundinn.org>2018-04-12 01:44:53 +0000
committerAsgeir Bjarni Ingvarsson <asgeir@fundinn.org>2018-04-12 01:44:53 +0000
commit5e0e3ca5b24062e19e92070af0376f9229d1852e (patch)
treee7bfa757b1ef9381535045e415915ebc19ab94ad
parentMerge pull request #385 from grbd/master (diff)
downloaddotnet-5e0e3ca5b24062e19e92070af0376f9229d1852e.zip
dotnet-5e0e3ca5b24062e19e92070af0376f9229d1852e.tar.gz
dotnet-5e0e3ca5b24062e19e92070af0376f9229d1852e.tar.bz2
app-editors/visual-studio-code: Add version 1.22.1
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r--app-editors/visual-studio-code/Manifest2
-rw-r--r--app-editors/visual-studio-code/visual-studio-code-1.22.1.ebuild57
2 files changed, 59 insertions, 0 deletions
diff --git a/app-editors/visual-studio-code/Manifest b/app-editors/visual-studio-code/Manifest
index 873e2ff..14af9ab 100644
--- a/app-editors/visual-studio-code/Manifest
+++ b/app-editors/visual-studio-code/Manifest
@@ -1,2 +1,4 @@
DIST visual-studio-code-1.20.1-amd64.tar.gz 65805135 SHA256 3562d23f5a0735bef55baadafc04815404170c24c99dc4254f7a9cb0bbc7a067 SHA512 7d56ae1117024b525f11a4fdee94cd191c419e13919034a2097b19299212f70450fdc71f9bc66437e4ba6c1895fd90e11a2c619d823830fda165bca8bbad9040 WHIRLPOOL e74e6e3611e8b710ad12168f222a534e05413c339c6f14eeda6886d0d345ff175bf6b5201108d1a6d5f213326cc5cb9d71726630195e011994ca81dae7e59f38
DIST visual-studio-code-1.20.1-x86.tar.gz 66820122 SHA256 56ab95667b2cddd6a4fee2ad373ccb87fbfa3038a946eab39b31d1750afacc3f SHA512 f2ca95bf960eecf7a443e5369479f08b67bf2e6653885be7fa8309d2cd845ea175e40f48bb3beeb1b3c0b245bb7ba1d3bbde045b870bfb84fa3923db7f96f8c7 WHIRLPOOL 65576670fd550a4bb0274c39098ebb9491959275576d4318f60cf8e20ff2d1c22d696fa9be92ba84acf3fb6d705d8692f08ed19ef9a0e2df50eb4b1e99ebb23b
+DIST visual-studio-code-1.22.1-amd64.tar.gz 68391282 SHA256 9acda8fde77b48069ef5d00b3ee0fa7f54e8be7c10c37bf26b09ec39b3bef092 SHA512 a6cc7aa2f5e3c9ecb15482bb65875556be19e25033871b0d961d95dc519f6e53f27183bb8410e14e5fc527f6b60c5f3cc6f4c398b5e23b9a7d48b46437a01476 WHIRLPOOL 71db98ce044e90bbf2ec8717badd63f676e4b37a6950224a2f8f3480cce862a7cad880fc902d48cbec21304e4fba5e4e33e80b7f64dc2884f04208eb0d3203ee
+DIST visual-studio-code-1.22.1-x86.tar.gz 69286998 SHA256 594e6764d9b38df63a8d206d85c7c36d756b0ef0e1a9670b7695b31d84e33ef0 SHA512 7f5b64682c9bed7cb49ff9a79776ae89e16ea8b33469ee5a021cf9764604f3b8b02f13fc009c6fcffdde5970e69b563a6707ba0acd52e61b7732b6d0aa892966 WHIRLPOOL 16dcd7b4692ae36ea3055a94f8629f35d7743bfd82ec70855f3eacd4b8e286cf1d3ead1ff8abd672306974b9c5a66e60a9484ed385bc23c65237d1220a2416f7
diff --git a/app-editors/visual-studio-code/visual-studio-code-1.22.1.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.22.1.ebuild
new file mode 100644
index 0000000..2a4b385
--- /dev/null
+++ b/app-editors/visual-studio-code/visual-studio-code-1.22.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
+HOMEPAGE="https://code.visualstudio.com"
+BASE_URI="https://vscode-update.azurewebsites.net/${PV}"
+SRC_URI="amd64? ( ${BASE_URI}/linux-x64/stable -> ${P}-amd64.tar.gz )
+ x86? ( ${BASE_URI}/linux-ia32/stable -> ${P}-x86.tar.gz )"
+RESTRICT="mirror strip bindist"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=">=gnome-base/gconf-3.2.6-r4:2
+>=media-libs/libpng-1.2.46:0
+>=x11-libs/cairo-1.14.12:0
+>=x11-libs/gtk+-2.24.31-r1:2
+>=x11-libs/libXtst-1.2.3:0"
+
+RDEPEND="${DEPEND}
+>=app-crypt/libsecret-0.18.5:0[crypt]
+>=net-print/cups-2.1.4:0
+>=x11-libs/libnotify-0.7.7:0
+>=x11-libs/libXScrnSaver-1.2.2-r1:0"
+
+QA_PRESTRIPPED="opt/${PN}/code"
+QA_PREBUILT="opt/${PN}/code"
+
+pkg_setup() {
+ if use amd64; then
+ S="${WORKDIR}/VSCode-linux-x64"
+ elif use x86; then
+ S="${WORKDIR}/VSCode-linux-ia32"
+ else
+ # shouldn't be possible with -* special keyword
+ die
+ fi
+}
+
+src_install() {
+ insinto "/opt/${PN}"
+ doins -r *
+ dosym "${EPREFIX}/opt/${PN}/bin/code" "/usr/bin/${PN}"
+ make_desktop_entry "${PN}" "Visual Studio Code" "${PN}" "Development;IDE"
+ doicon "${S}/resources/app/resources/linux/code.png"
+ fperms +x "/opt/${PN}/code"
+ fperms +x "/opt/${PN}/bin/code"
+ fperms +x "/opt/${PN}/libnode.so"
+ insinto "/usr/share/licenses/${PN}"
+ newins "resources/app/LICENSE.txt" "LICENSE"
+}