Gentoo Archives: gentoo-commits

From: "Jason A. Donenfeld" <zx2c4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/goland/
Date: Thu, 28 Feb 2019 03:07:46
Message-Id: 1551323248.c2bad942a900ec9eb0006d5450fbecd0a7bcda32.zx2c4@gentoo
1 commit: c2bad942a900ec9eb0006d5450fbecd0a7bcda32
2 Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 26 23:35:46 2019 +0000
4 Commit: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 28 03:07:28 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2bad942
7
8 dev-util/goland: bump
9
10 Package-Manager: Portage-2.3.54, Repoman-2.3.12
11 Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>
12
13 dev-util/goland/Manifest | 1 +
14 dev-util/goland/goland-2018.3.4.ebuild | 45 ++++++++++++++++++++++++++++++++++
15 2 files changed, 46 insertions(+)
16
17 diff --git a/dev-util/goland/Manifest b/dev-util/goland/Manifest
18 index c6ec44aec92..a128438dedf 100644
19 --- a/dev-util/goland/Manifest
20 +++ b/dev-util/goland/Manifest
21 @@ -1 +1,2 @@
22 DIST goland-2018.2.tar.gz 236750402 BLAKE2B 54df8b09f4ae59323c4b8aa06d41a23753399d36fbdf34a0ecbb159d00fb5a6cf29fd4aeeaee9d853b54d2ceaa8f99ad5560128b4e50b4ad2720a2db81df7dc3 SHA512 f1c7ddb94bb918b9668d444e285f4ff82b45c9aa1e24e848f32bc219b2dd48a939d52f6c5c749fc76bfdd3f58e2f2a72ca2275a9291a7a5a5a3c6a30c4780420
23 +DIST goland-2018.3.4.tar.gz 298506989 BLAKE2B 9fd4db8c178c0a749c685b5e77da22717923f1da2371e92246eec3422e8041c3d8c975ffc562e92dcfdd0580297f4ffc0569e82ffea231cc3688b5570b4af7cd SHA512 ce7efbea9b531079dfae241f4817f04bb3969a65b1b8d6128b28d82b0262dfe3881ae1b6ceeff4fd3a084743d2ad512dd948f231a66f3b6a4347c522409cc81d
24
25 diff --git a/dev-util/goland/goland-2018.3.4.ebuild b/dev-util/goland/goland-2018.3.4.ebuild
26 new file mode 100644
27 index 00000000000..824cf5bfe3d
28 --- /dev/null
29 +++ b/dev-util/goland/goland-2018.3.4.ebuild
30 @@ -0,0 +1,45 @@
31 +# Copyright 1999-2019 Gentoo Authors
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 +}