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: Fri, 01 Dec 2017 14:35:36
Message-Id: 1512138910.6caabf23d42b67e92c501aa60f5199cb1814f27d.mrueg@gentoo
1 commit: 6caabf23d42b67e92c501aa60f5199cb1814f27d
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 1 14:34:36 2017 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 1 14:35:10 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6caabf23
7
8 dev-util/goland: Version bump to 2017.3
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 dev-util/goland/Manifest | 3 ++-
13 dev-util/goland/goland-2017.3.ebuild | 45 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 47 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-util/goland/Manifest b/dev-util/goland/Manifest
17 index 5e080e854f3..a854d3b51ba 100644
18 --- a/dev-util/goland/Manifest
19 +++ b/dev-util/goland/Manifest
20 @@ -1 +1,2 @@
21 -DIST goland-173.3531.21.tar.gz 213040527 SHA256 5738129cb5ab81428cf6fa0ec18e97221b1303d966e679e575a0ac8e669170cd SHA512 db2deb4e52fb4135e3fb27c63a181c34acddf61dd2bedf81e50144a85b3e9bcb1a7490532b6841815e2b888c660aa26bc8c3176f83bb30bcf20ec568cdfeb65b WHIRLPOOL 51502c1d35a582601378a6ed403c4c84d36418a340f00479180143a1eddcae05832242f9bb075ebb63c906c5f0385a5ef53a32b4d2975669a8b54266b9778e8c
22 +DIST goland-173.3531.21.tar.gz 213040527 BLAKE2B 57fbc0820fb09aa23ebad45c9f6477469f71f84d3abb9e77eba45a90c89695754a7800ff768b63b815b48a1aa35631af0332a0a9af10b3e6dc6d22c587aef30c SHA512 db2deb4e52fb4135e3fb27c63a181c34acddf61dd2bedf81e50144a85b3e9bcb1a7490532b6841815e2b888c660aa26bc8c3176f83bb30bcf20ec568cdfeb65b
23 +DIST goland-2017.3.tar.gz 213261483 BLAKE2B 4c84d073265fc701dc0f34571850c2fab05e2e07479d9dc886af660a097a361a5532cf9078569e9dc8cee0322f92544683e9c05689d025bb39de925a10e05c2d SHA512 5fa8d61850e31c1db82e32d9ccccaad71fc00db85a31bc423384b443819d9dc6f3ba11399c580d8eb9c3fe698b437c13072fc49126359bd405b7d57e12c92328
24
25 diff --git a/dev-util/goland/goland-2017.3.ebuild b/dev-util/goland/goland-2017.3.ebuild
26 new file mode 100644
27 index 00000000000..3698daaba68
28 --- /dev/null
29 +++ b/dev-util/goland/goland-2017.3.ebuild
30 @@ -0,0 +1,45 @@
31 +# Copyright 1999-2017 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 +}