summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianguido Sora <g.sora4@gmail.com>2017-05-21 19:58:54 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-05-28 00:57:30 +0200
commit49cb7fba7440a162b7b4b527df1ac2e038c765c5 (patch)
tree9d66748d4014338ecbcd8a300f6c8724bb3f2290 /dev-util
parentprofiles: drop networkmanager-1.8.0 mask (diff)
downloadgentoo-49cb7fba7440a162b7b4b527df1ac2e038c765c5.tar.gz
gentoo-49cb7fba7440a162b7b4b527df1ac2e038c765c5.tar.bz2
gentoo-49cb7fba7440a162b7b4b527df1ac2e038c765c5.zip
dev-util/idea-ultimate: version bump to 2017.1.3.171.4424.56.
Package-Manager: Portage-2.3.5, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/4706
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/idea-ultimate/Manifest1
-rw-r--r--dev-util/idea-ultimate/idea-ultimate-2017.1.3.171.4424.56.ebuild82
2 files changed, 83 insertions, 0 deletions
diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest
index 77ca2614acb6..9e9de4d292ad 100644
--- a/dev-util/idea-ultimate/Manifest
+++ b/dev-util/idea-ultimate/Manifest
@@ -1 +1,2 @@
DIST ideaIU-171.4249.39.tar.gz 615812999 SHA256 7fe305e66f25029bd363d2c4bf2db70ae3423d8d99156fc62bcfe3d8c59aee05 SHA512 503990c45ca666f266aff7928b84455c46268d13ef713d04acf14f7532dd58ff8234f74858695a21d06d01a9aa74421b6ef4a5161c1e044b63b2f3372349ee3c WHIRLPOOL 520ce1f8daa2a7f7879fe486a9640df21279312cfe850084771ca13f561afefa7753ccb5435a17fb6238f8dee92fd92ad641ebd2a8caadf937ecb07efc8bd935
+DIST ideaIU-171.4424.56.tar.gz 617389249 SHA256 638db425e0896a7639b7eb6ad67d7e65502118ee9680337c44ab40502ed358bd SHA512 ca0748c653822976357627d4ecc3a2fc496daeb4e58185e2cdb26907eb2da3239b35bd22a054b4c1ffae3ff54302ef968426d57a29d44af3c496373d99b74ab7 WHIRLPOOL a0640bf6ba23fd2045769f88af02fb104f5d32bf7d7025857e6bf142c5d9e7a15050c47f6b512c3493391ac5d49800824230c7fc51b1e4014def8efbf55a7c43
diff --git a/dev-util/idea-ultimate/idea-ultimate-2017.1.3.171.4424.56.ebuild b/dev-util/idea-ultimate/idea-ultimate-2017.1.3.171.4424.56.ebuild
new file mode 100644
index 000000000000..088e87ce25bb
--- /dev/null
+++ b/dev-util/idea-ultimate/idea-ultimate-2017.1.3.171.4424.56.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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}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}}
+
+ 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 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
+}