1 |
commit: 49cb7fba7440a162b7b4b527df1ac2e038c765c5 |
2 |
Author: Gianguido Sora <g.sora4 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun May 21 17:58:54 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 27 22:57:30 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49cb7fba |
7 |
|
8 |
dev-util/idea-ultimate: version bump to 2017.1.3.171.4424.56. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/4706 |
12 |
|
13 |
dev-util/idea-ultimate/Manifest | 1 + |
14 |
.../idea-ultimate-2017.1.3.171.4424.56.ebuild | 82 ++++++++++++++++++++++ |
15 |
2 files changed, 83 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest |
18 |
index 77ca2614acb..9e9de4d292a 100644 |
19 |
--- a/dev-util/idea-ultimate/Manifest |
20 |
+++ b/dev-util/idea-ultimate/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ideaIU-171.4249.39.tar.gz 615812999 SHA256 7fe305e66f25029bd363d2c4bf2db70ae3423d8d99156fc62bcfe3d8c59aee05 SHA512 503990c45ca666f266aff7928b84455c46268d13ef713d04acf14f7532dd58ff8234f74858695a21d06d01a9aa74421b6ef4a5161c1e044b63b2f3372349ee3c WHIRLPOOL 520ce1f8daa2a7f7879fe486a9640df21279312cfe850084771ca13f561afefa7753ccb5435a17fb6238f8dee92fd92ad641ebd2a8caadf937ecb07efc8bd935 |
23 |
+DIST ideaIU-171.4424.56.tar.gz 617389249 SHA256 638db425e0896a7639b7eb6ad67d7e65502118ee9680337c44ab40502ed358bd SHA512 ca0748c653822976357627d4ecc3a2fc496daeb4e58185e2cdb26907eb2da3239b35bd22a054b4c1ffae3ff54302ef968426d57a29d44af3c496373d99b74ab7 WHIRLPOOL a0640bf6ba23fd2045769f88af02fb104f5d32bf7d7025857e6bf142c5d9e7a15050c47f6b512c3493391ac5d49800824230c7fc51b1e4014def8efbf55a7c43 |
24 |
|
25 |
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 |
26 |
new file mode 100644 |
27 |
index 00000000000..088e87ce25b |
28 |
--- /dev/null |
29 |
+++ b/dev-util/idea-ultimate/idea-ultimate-2017.1.3.171.4424.56.ebuild |
30 |
@@ -0,0 +1,82 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
35 |
+inherit eutils versionator |
36 |
+ |
37 |
+SLOT="0" |
38 |
+PV_STRING="$(get_version_component_range 4-6)" |
39 |
+MY_PV="$(get_version_component_range 1-3)" |
40 |
+MY_PN="idea" |
41 |
+ |
42 |
+# distinguish settings for official stable releases and EAP-version releases |
43 |
+if [[ "$(get_version_component_range 7)x" = "prex" ]] |
44 |
+then |
45 |
+ # upstream EAP |
46 |
+ KEYWORDS="" |
47 |
+ SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz" |
48 |
+else |
49 |
+ # upstream stable |
50 |
+ KEYWORDS="~amd64 ~x86" |
51 |
+ SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz -> ${MY_PN}IU-${PV_STRING}.tar.gz" |
52 |
+fi |
53 |
+ |
54 |
+DESCRIPTION="A complete toolset for web, mobile and enterprise development" |
55 |
+HOMEPAGE="https://www.jetbrains.com/idea" |
56 |
+ |
57 |
+LICENSE="IDEA |
58 |
+ || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" |
59 |
+IUSE="-custom-jdk" |
60 |
+ |
61 |
+DEPEND="!dev-util/${PN}:14 |
62 |
+ !dev-util/${PN}:15" |
63 |
+RDEPEND="${DEPEND} |
64 |
+ >=virtual/jdk-1.7:*" |
65 |
+S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}" |
66 |
+ |
67 |
+QA_PREBUILT="opt/${PN}-${MY_PV}/*" |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ if ! use amd64; then |
71 |
+ rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die |
72 |
+ fi |
73 |
+ if ! use arm; then |
74 |
+ rm bin/fsnotifier-arm || die |
75 |
+ rm -r plugins/tfsIntegration/lib/native/linux/arm || die |
76 |
+ fi |
77 |
+ if ! use ppc; then |
78 |
+ rm -r plugins/tfsIntegration/lib/native/linux/ppc || die |
79 |
+ fi |
80 |
+ if ! use x86; then |
81 |
+ rm -r plugins/tfsIntegration/lib/native/linux/x86 || die |
82 |
+ fi |
83 |
+ if ! use custom-jdk; then |
84 |
+ if [[ -d jre ]]; then |
85 |
+ rm -r jre || die |
86 |
+ fi |
87 |
+ fi |
88 |
+ rm -r plugins/tfsIntegration/lib/native/solaris || die |
89 |
+ rm -r plugins/tfsIntegration/lib/native/hpux || die |
90 |
+} |
91 |
+ |
92 |
+src_install() { |
93 |
+ local dir="/opt/${PN}-${MY_PV}" |
94 |
+ |
95 |
+ insinto "${dir}" |
96 |
+ doins -r * |
97 |
+ fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}} |
98 |
+ |
99 |
+ if use custom-jdk; then |
100 |
+ if [[ -d jre ]]; then |
101 |
+ fperms 755 "${dir}"/jre/jre/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200} |
102 |
+ fi |
103 |
+ fi |
104 |
+ |
105 |
+ make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" |
106 |
+ newicon "bin/${MY_PN}.png" "${PN}.png" |
107 |
+ make_desktop_entry "${PN}" "IntelliJ Idea Ultimate" "${PN}" "Development;IDE;" |
108 |
+ |
109 |
+ # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
110 |
+ mkdir -p "${D}/etc/sysctl.d/" || die |
111 |
+ echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die |
112 |
+} |