commit:     e360395cea7a6fe7334cd9b3742436b0ac40dd53
Author:     Marshall Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Fri Jun  3 20:07:44 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Jun 12 21:35:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e360395c

dev-util/idea-ultimate: new version 2016.1.3.145.16.16.11_pre (EAP)

re-added the "early access program" (EAP) version
Closes: https://github.com/gentoo/gentoo/pull/1601

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 dev-util/idea-ultimate/Manifest                    |  1 +
 .../idea-ultimate-2016.1.3.145.1616.11_pre.ebuild  | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest
index 305bd62..865e303 100644
--- a/dev-util/idea-ultimate/Manifest
+++ b/dev-util/idea-ultimate/Manifest
@@ -1,3 +1,4 @@
 DIST ideaIU-141.3058.30.tar.gz 317771607 SHA256 
a2259249f6e7bf14ba17b0af90a18d24d9b4670af60d24f0bb51af2f62500fc2 SHA512 
ae90f0f1841fabd918a09f54fcaf99894948423889c78db10cdba88d4b89e59cce13ac27d91e0ef33e37a3f622c8ce0c7f65b4ca56a0d8f52219b2b427036c09
 WHIRLPOOL 
a61e8176d72a7ee33efcb020ff634d833387d0d4efa6317ed0af0c4295fdb809f9de0abd32e16a9732b7799e113d9234bde87342f87ce7808985a3a010208bc4
 DIST ideaIU-143.2370.31.tar.gz 398109068 SHA256 
941a9e0d250c1e21ef2e2beb818cdbdba0acf38e69b74546275d028bc5554a04 SHA512 
4435280d514482e173dcc2afb9eb759a36086fe6b0cd49ac3373853167385b9f5117a9ff0bcc3cff5dfda6392aaa3bf835dd5a247f372655209a0cab332adfdf
 WHIRLPOOL 
6f90eb23848cc230b295caf6eaed4e7037291007bd97280c217a1b694ddeb839b2d2c5402c1d3b5c8d2fcaf16717b29dab0dfa378c7e3a0b9ccc8b2dc49cd59d
+DIST ideaIU-145.1616.11.tar.gz 477640214 SHA256 
bf481e0d7141be09f16c51ed152023dc78c38f8ccfadbde1d4c2c131eda03c4d SHA512 
c12011eb9bfb0db489bde536be7a35ca927ca9ad2d72d6b25fba3d91483b74fd9047e5124b4ca6e09482ab7603fe55d6172b944aff65b1531f4ceac243f0fa6d
 WHIRLPOOL 
8c9b63af312468c9b421cbdff5a86ac46269e2e56af87c17b4f29feee4195271093398ba3890e11fee46f56130b90f8c3e90664344149ef1b17adc6e9371a38b
 DIST ideaIU-145.972.3.tar.gz 478361668 SHA256 
033b6f2c13ca954024808a84c8a33ebb15a5548720dedf1dbaebaa97ea93f1e9 SHA512 
e6445c00aa019b1b026b88aa7c3d9d7e16a1d02e32e453f34ea58149473cd8968dc08a027f628504ca723fc570da2b04feb302496743892a6775c96abddf1f01
 WHIRLPOOL 
8fa7d32086fd70e0fef4857d3d94a8970c835b3997a4c4f2bf803bf9e59d29f189501f0119d08ef595bf2b346c14723f2cc5469f6c3a7daa4d0077446d0a3972

diff --git 
a/dev-util/idea-ultimate/idea-ultimate-2016.1.3.145.1616.11_pre.ebuild 
b/dev-util/idea-ultimate/idea-ultimate-2016.1.3.145.1616.11_pre.ebuild
new file mode 100644
index 0000000..5ead703
--- /dev/null
+++ b/dev-util/idea-ultimate/idea-ultimate-2016.1.3.145.1616.11_pre.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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}IU-${PV_STRING}.tar.gz";
+else
+       # upstream stable
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz 
-> ${MY_PN}IU-${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}-IU-${PV_STRING}"
+
+QA_PREBUILT="opt/${PN}-${MY_PV}/*"
+
+src_prepare() {
+       if ! use amd64; then
+               rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die
+       fi
+       if ! use arm; then
+               rm bin/fsnotifier-arm || die
+               rm -r plugins/tfsIntegration/lib/native/linux/arm || die
+       fi
+       if ! use ppc; then
+               rm -r plugins/tfsIntegration/lib/native/linux/ppc || die
+       fi
+       if ! use x86; then
+               rm -r plugins/tfsIntegration/lib/native/linux/x86 || die
+       fi
+       if ! use custom-jdk; then
+               if [[ -d jre ]]; then
+                       rm -r jre || die
+               fi
+       fi
+       rm -r plugins/tfsIntegration/lib/native/solaris || die
+       rm -r plugins/tfsIntegration/lib/native/hpux || die
+}
+
+src_install() {
+       local dir="/opt/${PN}-${MY_PV}"
+
+       insinto "${dir}"
+       doins -r *
+       fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
+
+       make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
+       newicon "bin/${MY_PN}.png" "${PN}.png"
+       make_desktop_entry "${PN}" "IntelliJ Idea Ultimate" "${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
+}

Reply via email to