Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/goland/
Date: Mon, 30 Jul 2018 21:56:09
Message-Id: 1532987691.8445d4e815a6c58c4bd31f10030208183b4dcddf.mrueg@gentoo
1 commit: 8445d4e815a6c58c4bd31f10030208183b4dcddf
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 30 21:54:51 2018 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 30 21:54:51 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8445d4e8
7
8 dev-util/goland: Version bump to 2018.2
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 dev-util/goland/Manifest | 1 +
13 dev-util/goland/goland-2018.2.ebuild | 45 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/dev-util/goland/Manifest b/dev-util/goland/Manifest
17 index 58874eba2a3..3ac6a4523ab 100644
18 --- a/dev-util/goland/Manifest
19 +++ b/dev-util/goland/Manifest
20 @@ -1,3 +1,4 @@
21 DIST goland-2018.1.3.tar.gz 221579069 BLAKE2B 16ead14bc3401fe7b031576eb9581613cac1352b42933acc83af77946376017b6658fb04b556b028a6f89f86a65b60290e1f6f9b5febe2dc10c85b5c6004879f SHA512 24f1c384139276301a27a9df1056560f3ee89ef9817690c00626eb0522fed8a58ded3bd3632aeac8f25855dd2c031c40f937761625f6545504eb2f3e7d0d509b
22 DIST goland-2018.1.4.tar.gz 217585781 BLAKE2B f4bdd554003b2397911cb767ffba558fcf06ab9cfd20c0017579cf82c6af93681e16c23db82c3cf0b47c4bb6a2c37c564be5ee9d6400cf91cb3a0938309166d5 SHA512 972c15d6636728e214b355ce4ce7174d08e0e842c6ca4e4385fbc4330930a2fae3a964b1b3753c38fe77ac2b8073fd7366fd0085d00fcf05b832c985d6243325
23 DIST goland-2018.1.5.tar.gz 217591227 BLAKE2B 7a45497f8706c77bb8e729b1e6affc88e1b9230a396738bad235d55bb40ed5a728bc674d210b04eedcc4b144f60ac91f6216ed010940257227cefcb167b81aaf SHA512 cf861bed38f0678f9734632d988c37cc1bd5c596fb23dfd3f9d60642f82c5f356809de116a138888638ebd7f464201d0ea780e694f9f5c5c66d3245a2b15f484
24 +DIST goland-2018.2.tar.gz 236750402 BLAKE2B 54df8b09f4ae59323c4b8aa06d41a23753399d36fbdf34a0ecbb159d00fb5a6cf29fd4aeeaee9d853b54d2ceaa8f99ad5560128b4e50b4ad2720a2db81df7dc3 SHA512 f1c7ddb94bb918b9668d444e285f4ff82b45c9aa1e24e848f32bc219b2dd48a939d52f6c5c749fc76bfdd3f58e2f2a72ca2275a9291a7a5a5a3c6a30c4780420
25
26 diff --git a/dev-util/goland/goland-2018.2.ebuild b/dev-util/goland/goland-2018.2.ebuild
27 new file mode 100644
28 index 00000000000..d46b730ae46
29 --- /dev/null
30 +++ b/dev-util/goland/goland-2018.2.ebuild
31 @@ -0,0 +1,45 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit eutils
38 +
39 +SLOT=0
40 +
41 +SRC_URI="http://download.jetbrains.com/go/${P}.tar.gz"
42 +DESCRIPTION="Golang IDE by JetBrains"
43 +HOMEPAGE="http://www.jetbrains.com/go"
44 +
45 +KEYWORDS="~amd64"
46 +LICENSE="IDEA
47 + || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )"
48 +
49 +QA_PREBUILT="opt/${P}/*"
50 +
51 +S=${WORKDIR}/GoLand-${PV}
52 +
53 +RDEPEND="dev-lang/go"
54 +
55 +src_prepare() {
56 + default
57 + if ! use arm; then
58 + rm -rf bin/fsnotifier-arm || die
59 + fi
60 +}
61 +
62 +src_install() {
63 + local dir="/opt/${P}"
64 +
65 + insinto "${dir}"
66 + doins -r *
67 + fperms 755 "${dir}"/bin/{${PN}.sh,fsnotifier{,64}}
68 +
69 + make_wrapper "${PN}" "${dir}/bin/${PN}.sh"
70 + newicon "bin/${PN}.png" "${PN}.png"
71 + make_desktop_entry "${PN}" "gogland" "${PN}" "Development;IDE;"
72 +
73 + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
74 + mkdir -p "${D}/etc/sysctl.d/" || die
75 + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
76 +}