commit:     e241e8622718d80cfb6faa73aeb30f11ee72882e
Author:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon Sep 19 21:44:41 2016 +0000
Commit:     Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon Sep 19 21:44:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=e241e862

add idea-iu 2016.2.4

 dev-util/idea-ultimate/Manifest                    |  2 +
 .../idea-ultimate-2016.2.4.162.2032.8.ebuild       | 82 ++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest
index 815a88e..cb42d81 100644
--- a/dev-util/idea-ultimate/Manifest
+++ b/dev-util/idea-ultimate/Manifest
@@ -1,8 +1,10 @@
 DIST ideaIU-2016.2.1.tar.gz 497983087 SHA256 
36c2214f888874a66c11e589c2c5c1ec2a5c117d2ccb9e50ebd44a6c3a44f562 SHA512 
211bd536fd169a9e9e0c2d0165bbbf6b44085323be022f46fb539ed42c2a40a1cb8528aa422fbc6e2e09157504e33d13646159804fe5f79b04d9015e73b73461
 WHIRLPOOL 
72cee50837bf1d471d68b49ee50fd8ba4cd7d06a8c8dd2db4274a11fdc58b9712c76c64d453972c4400a43f50462a3a2684cb7159aa77d8b061af3071a21a4c9
 DIST ideaIU-2016.2.3.tar.gz 505361106 SHA256 
d30f431763231d1666a1faa96d1f79589ae0cc539a955bd0d29745b2d51c1ef9 SHA512 
3ca02a942982fcc9fd77bafda508c89f839fa698ad20f3c22dadcd53629524bb47f324bbe56ddb5ca5b0e0501f4d38d278fcf24518d1c982369f0280808f7d43
 WHIRLPOOL 
19ee5ca7ceac83936c364b037e93deaaeafa9a93fdf24cfbb1afffcb7fd208e3f0c7a37c4ad0dbe601f055d2d02f36c722a11fdac3bd6562dd075bdb9397b25e
+DIST ideaIU-2016.2.4.tar.gz 506828925 SHA256 
f940fb9fa356e28351dd99cf2612c967d173e4413b66c0452ee8fa651b64b698 SHA512 
8e4ca647bcd82a0f819c915c99abc34a3f1de98bc9a1d2bfe4590384adf3adff054e4355e46a1bfd8a363fa71ebf0c4fa42e2f6fa13e3db29f01c48ac1fe898a
 WHIRLPOOL 
556f0c882f412ecaf94a587766b5582a67a7f9d2f516970c722e600c2df5fcb6d3f8b4082905376ed87a21aa18189a06cfdeb994e43646a1b7c18cf164c62636
 DIST ideaIU-2016.2.tar.gz 495029721 SHA256 
647ea2b7c1954012ca2e1e027b59ad7fa6cf24dee2dcc22c135155c60cc41182 SHA512 
d61ad48fe7751fbff3551426f290062124002f561eace16c7ddfddf6c8ee33b449b0e9c573e9536dc1d8750458b9f44cde82433168a91537bbfc5301e3aee2cd
 WHIRLPOOL 
596157ed4fd4bd007539a2664f0c317b8fba7fb8f89aaa28d8bbbc5bdda75671a9d97bd536faed0328855e99bb81970abf694271c70cb566cf8e6814662341ba
 EBUILD idea-ultimate-2016.2.1.162.1447.26.ebuild 2210 SHA256 
66790283cbee489109e00427aafaf7d7437b6046cde9dc0c40c4be2490d09453 SHA512 
ec8950de1273a25c1e2d0832af4d3f61336311fa2d95fb2f21be4304411ca8793107b1034993672fe49e66db7744fa17857ee365045b6f47fa06e73579493d39
 WHIRLPOOL 
845e8bd93b586781c5d2f17758bb5191a3d9f84452c738365bffd012a99ea29ad4fd564ff1695f0ff541cc89801c92a1eaaac67a56408688dd6d6fef6245db3b
 EBUILD idea-ultimate-2016.2.162.1121.32.ebuild 2199 SHA256 
3d97aa08ce002ee236eb63178394e2f8c0ba89c0959535c35d4f198351390376 SHA512 
a51a94d962c6dde8b0cafdf483389b2ea4e806ac96000922644454309f10365b2fa643f5394d6207fe1d51140570bad8fbbfe2ef963ca476b3f3e754d0dd8094
 WHIRLPOOL 
0bcb5baeb07ddb112a754b6dd7a38ab329db4852858d581c698c5e8169868ac5a8e260921977240908d29c82037652bd37b16cc0b0da13b422ef3c5712454883
 EBUILD idea-ultimate-2016.2.3.162.1812.17.ebuild 2210 SHA256 
66790283cbee489109e00427aafaf7d7437b6046cde9dc0c40c4be2490d09453 SHA512 
ec8950de1273a25c1e2d0832af4d3f61336311fa2d95fb2f21be4304411ca8793107b1034993672fe49e66db7744fa17857ee365045b6f47fa06e73579493d39
 WHIRLPOOL 
845e8bd93b586781c5d2f17758bb5191a3d9f84452c738365bffd012a99ea29ad4fd564ff1695f0ff541cc89801c92a1eaaac67a56408688dd6d6fef6245db3b
+EBUILD idea-ultimate-2016.2.4.162.2032.8.ebuild 2210 SHA256 
66790283cbee489109e00427aafaf7d7437b6046cde9dc0c40c4be2490d09453 SHA512 
ec8950de1273a25c1e2d0832af4d3f61336311fa2d95fb2f21be4304411ca8793107b1034993672fe49e66db7744fa17857ee365045b6f47fa06e73579493d39
 WHIRLPOOL 
845e8bd93b586781c5d2f17758bb5191a3d9f84452c738365bffd012a99ea29ad4fd564ff1695f0ff541cc89801c92a1eaaac67a56408688dd6d6fef6245db3b
 MISC ChangeLog 142 SHA256 
3fb664d9c210061dd87dc6be4948fadbcc413e5a6bd09f4a262aa092b7f09648 SHA512 
f66d54089ee757d3bc997f4edba58e6b6b91d47c6fca9f33edf4bfc9e03acabfc7af723c1238c313ccf6cde747c7b91274e67c15abc92da8dd6dd5ac58006b7b
 WHIRLPOOL 
57d321122e01e8aed81d0393610296a2c29b30f81c03b8114b7ac854dfe2f5eb03841fe08e9f25c63598640ca754352ba5063f432be64d79473553ce98735aa5
 MISC metadata.xml 594 SHA256 
1261f2f20c826a09850a69f95d9f143f0eb6462177310a00624ae64b17e04209 SHA512 
2c830e91b8a9f97f8708392469121a4f5309e99cd58138a0d661394a5ca8a7c07ce47bc0cc9516aa1e6b106131b492fbbee6522be419e6ed7690d88cf2510df2
 WHIRLPOOL 
68f94bf90d0099971d88923aee992131960665d9efc689fbac28cc69fe8b0b3a28434987a8032b998d4581eb735c439e8f7554366482497c5b11fed3db3d3d80

diff --git a/dev-util/idea-ultimate/idea-ultimate-2016.2.4.162.2032.8.ebuild 
b/dev-util/idea-ultimate/idea-ultimate-2016.2.4.162.2032.8.ebuild
new file mode 100644
index 0000000..9f54b9e
--- /dev/null
+++ b/dev-util/idea-ultimate/idea-ultimate-2016.2.4.162.2032.8.ebuild
@@ -0,0 +1,82 @@
+# 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";
+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:*"
+if [[ "${PV_STRING}x" = "x" ]]
+then
+       S="${WORKDIR}/${MY_PN}-IU-${MY_PV}"
+else
+       S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}"
+fi
+
+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