From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1074687-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 79235138334
	for <garchives@archives.gentoo.org>; Thu, 28 Feb 2019 03:07:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5DE9DE090F;
	Thu, 28 Feb 2019 03:07:45 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1FF44E090F
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Feb 2019 03:07:45 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id AC0C5335CCB
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Feb 2019 03:07:42 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 29A134F8
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Feb 2019 03:07:41 +0000 (UTC)
From: "Jason A. Donenfeld" <zx2c4@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jason A. Donenfeld" <zx2c4@gentoo.org>
Message-ID: <1551323248.c2bad942a900ec9eb0006d5450fbecd0a7bcda32.zx2c4@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/goland/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/goland/Manifest dev-util/goland/goland-2018.3.4.ebuild
X-VCS-Directories: dev-util/goland/
X-VCS-Committer: zx2c4
X-VCS-Committer-Name: Jason A. Donenfeld
X-VCS-Revision: c2bad942a900ec9eb0006d5450fbecd0a7bcda32
X-VCS-Branch: master
Date: Thu, 28 Feb 2019 03:07:41 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 41ce1e72-b672-48f5-a302-cb0e3365c0e7
X-Archives-Hash: f01a525d91f989f467034a0d857f786c

commit:     c2bad942a900ec9eb0006d5450fbecd0a7bcda32
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 26 23:35:46 2019 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Feb 28 03:07:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2bad942

dev-util/goland: bump

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 dev-util/goland/Manifest               |  1 +
 dev-util/goland/goland-2018.3.4.ebuild | 45 ++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-util/goland/Manifest b/dev-util/goland/Manifest
index c6ec44aec92..a128438dedf 100644
--- a/dev-util/goland/Manifest
+++ b/dev-util/goland/Manifest
@@ -1 +1,2 @@
 DIST goland-2018.2.tar.gz 236750402 BLAKE2B 54df8b09f4ae59323c4b8aa06d41a23753399d36fbdf34a0ecbb159d00fb5a6cf29fd4aeeaee9d853b54d2ceaa8f99ad5560128b4e50b4ad2720a2db81df7dc3 SHA512 f1c7ddb94bb918b9668d444e285f4ff82b45c9aa1e24e848f32bc219b2dd48a939d52f6c5c749fc76bfdd3f58e2f2a72ca2275a9291a7a5a5a3c6a30c4780420
+DIST goland-2018.3.4.tar.gz 298506989 BLAKE2B 9fd4db8c178c0a749c685b5e77da22717923f1da2371e92246eec3422e8041c3d8c975ffc562e92dcfdd0580297f4ffc0569e82ffea231cc3688b5570b4af7cd SHA512 ce7efbea9b531079dfae241f4817f04bb3969a65b1b8d6128b28d82b0262dfe3881ae1b6ceeff4fd3a084743d2ad512dd948f231a66f3b6a4347c522409cc81d

diff --git a/dev-util/goland/goland-2018.3.4.ebuild b/dev-util/goland/goland-2018.3.4.ebuild
new file mode 100644
index 00000000000..824cf5bfe3d
--- /dev/null
+++ b/dev-util/goland/goland-2018.3.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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
+}