aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcnd <cynede@gentoo.org>2018-07-06 10:23:53 +0400
committerGitHub <noreply@github.com>2018-07-06 10:23:53 +0400
commit4631fbd17a83c49cc2d816b7f608b3c73872530d (patch)
tree03a23044b7131b2d50ab468ea5a1bf6b057cfd75
parentMerge pull request #391 from Lahvuun/master (diff)
parentapp-editors/visual-studio-code: Bump 1.25.0 (diff)
downloaddotnet-4631fbd17a83c49cc2d816b7f608b3c73872530d.tar.gz
dotnet-4631fbd17a83c49cc2d816b7f608b3c73872530d.tar.bz2
dotnet-4631fbd17a83c49cc2d816b7f608b3c73872530d.zip
Merge pull request #396 from lucianposton/vscode-1.25.0
app-editors/visual-studio-code: Bump 1.25.0
-rw-r--r--app-editors/visual-studio-code/Manifest2
-rw-r--r--app-editors/visual-studio-code/visual-studio-code-1.25.0.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 14af9ab..6c2c581 100644
--- a/app-editors/visual-studio-code/Manifest
+++ b/app-editors/visual-studio-code/Manifest
@@ -2,3 +2,5 @@ DIST visual-studio-code-1.20.1-amd64.tar.gz 65805135 SHA256 3562d23f5a0735bef55b
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
+DIST visual-studio-code-1.25.0-amd64.tar.gz 71667614 SHA256 fd065d9bc3b1cc7a90dc10697196c6817c9e557f23bc0df95e91c6785cfc5470 SHA512 b5e47598414dde7b22e73902970aa1f2e1edb834aeea6cf55b87a297af8cfe0e2ef9acfed663a69efbb34b46d47a45aa2a6d4fe68676e377b0fe874d57a8b6ea WHIRLPOOL 5c6e3b4fa5a0a25590a20e65c318162534f9c8d1d58eb539c27e3e28e6dc0466e4ca2f703cf15894ce8c45c061284ba4bbbd0b92899a0394eb623e4b77fed673
+DIST visual-studio-code-1.25.0-x86.tar.gz 72610561 SHA256 35e9c457129710cb8e59d3d655953444fa3f67fb27cde98bbda47485b94ef6b5 SHA512 b4c8212ced718616feac6b3283235328b84568cbf862d47746e340f38cf0581e5fba144738ad9ddd25f4e0f965c6b11bf8b9f0e855a21aef0e3ee0f1383b233c WHIRLPOOL 6613576062d8372f19e6cc1b10046c88d72691df915a0ea715f7220994528b145b12190d4d9e7fb56f8a0a4f0b319d73f8093ce2888e69177aa1b0a147a76deb
diff --git a/app-editors/visual-studio-code/visual-studio-code-1.25.0.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.25.0.ebuild
new file mode 100644
index 0000000..f2e334f
--- /dev/null
+++ b/app-editors/visual-studio-code/visual-studio-code-1.25.0.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/code"
+ make_desktop_entry "code" "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"
+}