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