1 |
commit: 1b0a6078b34b990021785ea027c6e380a9cb4288 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 2 12:26:16 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 2 12:26:16 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0a6078 |
7 |
|
8 |
dev-util/goland: Version bump to 2018.1.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-util/goland/Manifest | 1 + |
13 |
dev-util/goland/goland-2018.1.4.ebuild | 45 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 46 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/goland/Manifest b/dev-util/goland/Manifest |
17 |
index be7856eea8c..0729f8639a9 100644 |
18 |
--- a/dev-util/goland/Manifest |
19 |
+++ b/dev-util/goland/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST goland-2018.1.1.tar.gz 218213751 BLAKE2B 4fda04b45da9757e829158a8e6079cb5df9ed3c02b06268169b403258f93a70bb4861b2a85349caaabdcc6c300b95b91989f7957780c7fecf2334530e90ecf97 SHA512 642eda4359da203c282cae2ec855efde0785b59f613070d4f29cafe9ae79fd8dfdc0fac26bc27246ece7178455ab6eda1a278cccf97fd500712972b34f1c1ab2 |
22 |
DIST goland-2018.1.3.tar.gz 221579069 BLAKE2B 16ead14bc3401fe7b031576eb9581613cac1352b42933acc83af77946376017b6658fb04b556b028a6f89f86a65b60290e1f6f9b5febe2dc10c85b5c6004879f SHA512 24f1c384139276301a27a9df1056560f3ee89ef9817690c00626eb0522fed8a58ded3bd3632aeac8f25855dd2c031c40f937761625f6545504eb2f3e7d0d509b |
23 |
+DIST goland-2018.1.4.tar.gz 217585781 BLAKE2B f4bdd554003b2397911cb767ffba558fcf06ab9cfd20c0017579cf82c6af93681e16c23db82c3cf0b47c4bb6a2c37c564be5ee9d6400cf91cb3a0938309166d5 SHA512 972c15d6636728e214b355ce4ce7174d08e0e842c6ca4e4385fbc4330930a2fae3a964b1b3753c38fe77ac2b8073fd7366fd0085d00fcf05b832c985d6243325 |
24 |
|
25 |
diff --git a/dev-util/goland/goland-2018.1.4.ebuild b/dev-util/goland/goland-2018.1.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..d46b730ae46 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/goland/goland-2018.1.4.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 |
+} |