From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 E98DD138334 for ; Tue, 11 Dec 2018 03:15:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC5C0E085B; Tue, 11 Dec 2018 03:15:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 7832CE085B for ; Tue, 11 Dec 2018 03:15:36 +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 6FD9C335C5D for ; Tue, 11 Dec 2018 03:15:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22B032A7 for ; Tue, 11 Dec 2018 03:15:32 +0000 (UTC) From: "Alice Ferrazzi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alice Ferrazzi" Message-ID: <1544498105.e934cb40b2b344e8fac514473b6855a47bb7d96d.alicef@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/idea-community/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/idea-community/Manifest dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild X-VCS-Directories: dev-util/idea-community/ X-VCS-Committer: alicef X-VCS-Committer-Name: Alice Ferrazzi X-VCS-Revision: e934cb40b2b344e8fac514473b6855a47bb7d96d X-VCS-Branch: master Date: Tue, 11 Dec 2018 03:15:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c24b2b37-1b97-4a15-bcf9-d27227e3b4e0 X-Archives-Hash: cf2f93c6a901f4490fa5a8049f19aeeb commit: e934cb40b2b344e8fac514473b6855a47bb7d96d Author: Ivan Larkou yandex ru> AuthorDate: Sun Dec 9 16:52:20 2018 +0000 Commit: Alice Ferrazzi gentoo org> CommitDate: Tue Dec 11 03:15:05 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e934cb40 dev-util/idea-community: Version bump to 2018.03.01 Signed-off-by: Ivan Larkou yandex.ru> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10596 Signed-off-by: Alice Ferrazzi gentoo.org> dev-util/idea-community/Manifest | 1 + .../idea-community-2018.3.1.183.4588.61.ebuild | 70 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest index 42ea4e3f1f3..6f56feeb532 100644 --- a/dev-util/idea-community/Manifest +++ b/dev-util/idea-community/Manifest @@ -1 +1,2 @@ DIST ideaIC-172.3757.52.tar.gz 442963100 BLAKE2B e44f924e279a5b8f2bddbe65cffa24306920fa0f5b85e23b823b1e51fd49e2de2c8953a010b66ea325c4b70ae60268639293b67cd6116f4315ded5e5f6130da1 SHA512 a0178c5ef10aeab527bb8064840c53fff97bf9be468a4e5248b83dba96c5114878f5ff1e20436a67ee488580affa3fb3a2ea627407ed57b87949f64fc1a215d2 +DIST ideaIC-183.4588.61.tar.gz 541751086 BLAKE2B 51a5a4dae10d8fd00a0c239f87af3d53b86ffa50f7f9c4f1554265b349d866d60a8994a96f184cc9993fafe12de3dbfa77e3931626436a5f3d3854710b52fb9e SHA512 3e5956353fc0fabbe91b3a946e83b0b3229766a366fdf782c4c017acd7de5a86b3e0cc870a17abe2bdb8b090cb5c58b6c170555f60ba5e6a9a8198073545be87 diff --git a/dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild b/dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild new file mode 100644 index 00000000000..cc1ffa36d7a --- /dev/null +++ b/dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils versionator + +SLOT="0" +PV_STRING="$(get_version_component_range 4-6)" +MY_PV="$(get_version_component_range 1-3)" +MY_PN="idea" + +# distinguish settings for official stable releases and EAP-version releases +if [[ "$(get_version_component_range 7)x" = "prex" ]] +then + # upstream EAP + KEYWORDS="" + SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${PV_STRING}.tar.gz" +else + # upstream stable + KEYWORDS="~amd64 ~x86" + SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${MY_PV}.tar.gz -> ${MY_PN}IC-${PV_STRING}.tar.gz" +fi + +DESCRIPTION="A complete toolset for web, mobile and enterprise development" +HOMEPAGE="https://www.jetbrains.com/idea" + +LICENSE="IDEA + || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" +IUSE="-custom-jdk" + +DEPEND="!dev-util/${PN}:14 + !dev-util/${PN}:15" +RDEPEND="${DEPEND} + >=virtual/jdk-1.7:*" +S="${WORKDIR}/${MY_PN}-IC-${PV_STRING}" + +QA_PREBUILT="opt/${PN}-${MY_PV}/*" + +src_prepare() { + if ! use arm; then + rm bin/fsnotifier-arm || die + fi + if ! use custom-jdk; then + if [[ -d jre ]]; then + rm -r jre || die + fi + fi +} + +src_install() { + local dir="/opt/${PN}-${MY_PV}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}} + + if use custom-jdk; then + if [[ -d jre ]]; then + fperms 755 "${dir}"/jre/jre/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200} + fi + fi + + make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" + newicon "bin/${MY_PN}.png" "${PN}.png" + make_desktop_entry "${PN}" "IntelliJ Idea Community" "${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 +}