commit: 8445d4e815a6c58c4bd31f10030208183b4dcddf Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Mon Jul 30 21:54:51 2018 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Mon Jul 30 21:54:51 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8445d4e8
dev-util/goland: Version bump to 2018.2 Package-Manager: Portage-2.3.43, Repoman-2.3.10 dev-util/goland/Manifest | 1 + dev-util/goland/goland-2018.2.ebuild | 45 ++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-util/goland/Manifest b/dev-util/goland/Manifest index 58874eba2a3..3ac6a4523ab 100644 --- a/dev-util/goland/Manifest +++ b/dev-util/goland/Manifest @@ -1,3 +1,4 @@ DIST goland-2018.1.3.tar.gz 221579069 BLAKE2B 16ead14bc3401fe7b031576eb9581613cac1352b42933acc83af77946376017b6658fb04b556b028a6f89f86a65b60290e1f6f9b5febe2dc10c85b5c6004879f SHA512 24f1c384139276301a27a9df1056560f3ee89ef9817690c00626eb0522fed8a58ded3bd3632aeac8f25855dd2c031c40f937761625f6545504eb2f3e7d0d509b DIST goland-2018.1.4.tar.gz 217585781 BLAKE2B f4bdd554003b2397911cb767ffba558fcf06ab9cfd20c0017579cf82c6af93681e16c23db82c3cf0b47c4bb6a2c37c564be5ee9d6400cf91cb3a0938309166d5 SHA512 972c15d6636728e214b355ce4ce7174d08e0e842c6ca4e4385fbc4330930a2fae3a964b1b3753c38fe77ac2b8073fd7366fd0085d00fcf05b832c985d6243325 DIST goland-2018.1.5.tar.gz 217591227 BLAKE2B 7a45497f8706c77bb8e729b1e6affc88e1b9230a396738bad235d55bb40ed5a728bc674d210b04eedcc4b144f60ac91f6216ed010940257227cefcb167b81aaf SHA512 cf861bed38f0678f9734632d988c37cc1bd5c596fb23dfd3f9d60642f82c5f356809de116a138888638ebd7f464201d0ea780e694f9f5c5c66d3245a2b15f484 +DIST goland-2018.2.tar.gz 236750402 BLAKE2B 54df8b09f4ae59323c4b8aa06d41a23753399d36fbdf34a0ecbb159d00fb5a6cf29fd4aeeaee9d853b54d2ceaa8f99ad5560128b4e50b4ad2720a2db81df7dc3 SHA512 f1c7ddb94bb918b9668d444e285f4ff82b45c9aa1e24e848f32bc219b2dd48a939d52f6c5c749fc76bfdd3f58e2f2a72ca2275a9291a7a5a5a3c6a30c4780420 diff --git a/dev-util/goland/goland-2018.2.ebuild b/dev-util/goland/goland-2018.2.ebuild new file mode 100644 index 00000000000..d46b730ae46 --- /dev/null +++ b/dev-util/goland/goland-2018.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +SLOT=0 + +SRC_URI="http://download.jetbrains.com/go/${P}.tar.gz" +DESCRIPTION="Golang IDE by JetBrains" +HOMEPAGE="http://www.jetbrains.com/go" + +KEYWORDS="~amd64" +LICENSE="IDEA + || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" + +QA_PREBUILT="opt/${P}/*" + +S=${WORKDIR}/GoLand-${PV} + +RDEPEND="dev-lang/go" + +src_prepare() { + default + if ! use arm; then + rm -rf bin/fsnotifier-arm || die + fi +} + +src_install() { + local dir="/opt/${P}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{${PN}.sh,fsnotifier{,64}} + + make_wrapper "${PN}" "${dir}/bin/${PN}.sh" + newicon "bin/${PN}.png" "${PN}.png" + make_desktop_entry "${PN}" "gogland" "${PN}" "Development;IDE;" + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + mkdir -p "${D}/etc/sysctl.d/" || die + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die +}