1 |
commit: 4c7ec1657bab7619354fd2c31f54e47311a53463 |
2 |
Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn> |
3 |
AuthorDate: Sun Sep 27 09:50:54 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 09:50:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c7ec165 |
7 |
|
8 |
dev-util/idea-ultimate: version bump / rewrite |
9 |
|
10 |
dev-util/idea-ultimate/Manifest | 4 +- |
11 |
.../idea-ultimate-14.1.4.141.1532.4.ebuild | 31 -------- |
12 |
.../idea-ultimate-14.1.5.141.2735.5.ebuild | 55 +++++++++++++ |
13 |
.../idea-ultimate-15.0.0.142.3926.4_pre.ebuild | 31 -------- |
14 |
.../idea-ultimate-15.0.0.142.5047.6_pre.ebuild | 90 ++++++++++++++++++++++ |
15 |
5 files changed, 147 insertions(+), 64 deletions(-) |
16 |
|
17 |
diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest |
18 |
index 2c0c110..67929ac 100644 |
19 |
--- a/dev-util/idea-ultimate/Manifest |
20 |
+++ b/dev-util/idea-ultimate/Manifest |
21 |
@@ -1,2 +1,2 @@ |
22 |
-DIST ideaIU-14.1.4.tar.gz 311885918 SHA256 5c6dfb5ba9f2c3294ee125e96e96e50287a460784287181a8e83e4326005bac3 SHA512 a8d86a3d2a32ba956158d798bff30408d8574a070ee5da313ce08738bddff84f9e703bcf5dd5a3b38212dfdd85625e5bb508800822795d8d77dde24f1fa8f952 WHIRLPOOL e9622a2523983acf27200528056560dcc7c9fee1df1bd26b8129d1576dc77c96d0cd8bdde7e73c0964bc6ed23433efc962534f512a54eea024632f9cb0d3467f |
23 |
-DIST ideaIU-142.3926.4.tar.gz 354968506 SHA256 c66bf272faa0039145e80efdd59934e3425a5f0bc25726ed5681433dc55e101c SHA512 8228dbde5b00350d5b21880681d19750b5cbd57c842a6a5bcd7ab06d0c97dddfcab8a02e0639a4c9208f8e4ee73bd20fb17918c3c66c68c042b8d62e1b442815 WHIRLPOOL 1d3e449f2ade558b92525c4ba44678d553f15a9d9688c4ce899d7b2497c98280471a85c35efcbb929d4ae0b73d2bc1e3fbebbdf72d35f7d15b310b53d8f364a7 |
24 |
+DIST ideaIU-14.1.5.tar.gz 318054935 SHA256 6912902ec97a57f5553247367d6dd5b8e3041e99faf32c48b672cd31413dab73 SHA512 7ab3a45593c2324957455b254ae0257a36e8ecbc63014e18feba813413432dccb25d18971840f43cf22174c3338738eec44304091eb30c6ba2d0119b73cc6fa0 WHIRLPOOL 44a4bef99fdb638cf3cb0f24559b7765b7a4c7cb94aed5c3b8e503cbdf9fa1354f6d6026a9650fc58faec037b95482190891681f41219c61fc7d67a40e71f168 |
25 |
+DIST ideaIU-142.5047.6.tar.gz 382135319 SHA256 ef69f6892a45129eb1b4daa901f4b3efaf80633056453bbccce5dfa7b362685f SHA512 1984bfb9c1b67ee995b45609b4ebd85a56ad92f9c78cc0a1f2d833704f7f00bf3a814785751f8c2c9e04c77a4feb90352d536d60d47477b5c2c396ec918df546 WHIRLPOOL 25e21c39d9fbea194f941d047142361a4c52f4f3182062d9d95a2289dade27b9056d36a2d64a891e058cc1a190924c7dc209b72e22f89e851186c869d4be364d |
26 |
|
27 |
diff --git a/dev-util/idea-ultimate/idea-ultimate-14.1.4.141.1532.4.ebuild b/dev-util/idea-ultimate/idea-ultimate-14.1.4.141.1532.4.ebuild |
28 |
deleted file mode 100644 |
29 |
index 83fae9f..0000000 |
30 |
--- a/dev-util/idea-ultimate/idea-ultimate-14.1.4.141.1532.4.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,31 +0,0 @@ |
33 |
-# Copyright 1999-2015 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
-# $Id$ |
36 |
- |
37 |
-EAPI=5 |
38 |
-inherit eutils versionator |
39 |
- |
40 |
-SLOT="$(get_major_version)" |
41 |
-MY_PV="$(get_version_component_range 4-6)" |
42 |
-MY_PN="idea" |
43 |
- |
44 |
-DESCRIPTION="A complete toolset for web, mobile and enterprise development" |
45 |
-HOMEPAGE="http://www.jetbrains.com/idea" |
46 |
-SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-$(get_version_component_range 1-3).tar.gz" |
47 |
- |
48 |
-LICENSE="IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal" |
49 |
-IUSE="" |
50 |
-KEYWORDS="~amd64 ~x86" |
51 |
- |
52 |
-RDEPEND=">=virtual/jdk-1.7" |
53 |
-S=${WORKDIR}/${MY_PN}-IU-${MY_PV} |
54 |
- |
55 |
-src_install() { |
56 |
- local dir="/opt/${PN}" |
57 |
- |
58 |
- insinto "${dir}" |
59 |
- doins -r * |
60 |
- fperms 755 ${dir}/bin/{idea.sh,fsnotifier{,64}} |
61 |
- |
62 |
- make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" |
63 |
-} |
64 |
|
65 |
diff --git a/dev-util/idea-ultimate/idea-ultimate-14.1.5.141.2735.5.ebuild b/dev-util/idea-ultimate/idea-ultimate-14.1.5.141.2735.5.ebuild |
66 |
new file mode 100644 |
67 |
index 0000000..cbd9429 |
68 |
--- /dev/null |
69 |
+++ b/dev-util/idea-ultimate/idea-ultimate-14.1.5.141.2735.5.ebuild |
70 |
@@ -0,0 +1,55 @@ |
71 |
+# Copyright 1999-2015 Gentoo Foundation |
72 |
+# Distributed under the terms of the GNU General Public License v2 |
73 |
+# $Id$ |
74 |
+ |
75 |
+EAPI=5 |
76 |
+inherit eutils versionator |
77 |
+ |
78 |
+SLOT="0" |
79 |
+PV_STRING="$(get_version_component_range 4-6)" # Always name EAP-versions with '_pre' for clarity! |
80 |
+MY_PV="$(get_version_component_range 1-3)" |
81 |
+MY_PN="idea" |
82 |
+ |
83 |
+DESCRIPTION="A complete toolset for web, mobile and enterprise development" |
84 |
+HOMEPAGE="http://www.jetbrains.com/idea" |
85 |
+SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz" |
86 |
+ |
87 |
+LICENSE="IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal" |
88 |
+IUSE="" |
89 |
+KEYWORDS="~amd64 ~x86" # No keywords for EAP versions. Code quality sucks. |
90 |
+ |
91 |
+DEPEND="!dev-util/${PN}:14 |
92 |
+ !dev-util/${PN}:15" |
93 |
+RDEPEND="${DEPEND} |
94 |
+ >=virtual/jdk-1.7" |
95 |
+S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}" |
96 |
+ |
97 |
+QA_TEXTRELS="opt/${PN}-${MY_PV}/bin/libbreakgen.so" |
98 |
+QA_PRESTRIPPED="opt/${PN}-${MY_PV}/lib/libpty/linux/x86/libpty.so |
99 |
+ opt/${PN}-${MY_PV}/lib/libpty/linux/x86_64/libpty.so |
100 |
+ opt/${PN}-${MY_PV}/bin/libyjpagent-linux.so |
101 |
+ opt/${PN}-${MY_PV}/bin/libyjpagent-linux64.so" |
102 |
+ |
103 |
+src_install() { |
104 |
+ local dir="/opt/${PN}-${MY_PV}" |
105 |
+ |
106 |
+ insinto "${dir}" |
107 |
+ doins -r * |
108 |
+ fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}} |
109 |
+ |
110 |
+ make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" |
111 |
+ |
112 |
+ # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
113 |
+ mkdir -p "${D}/etc/sysctl.d/" |
114 |
+ echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" |
115 |
+} |
116 |
+ |
117 |
+pkg_postinst() { |
118 |
+ if [[ "$(get_version_component_range 7)x" = "prex" ]] |
119 |
+ then |
120 |
+ ewarn "Be aware, this is a release from their EAP. According to JetBrains, the code" |
121 |
+ ewarn "quality of such releases may be considerably below of what you might usually" |
122 |
+ ewarn "be used to from beta releases." |
123 |
+ ewarn "Don't use it for critical tasks. You have been warned." |
124 |
+ fi |
125 |
+} |
126 |
|
127 |
diff --git a/dev-util/idea-ultimate/idea-ultimate-15.0.0.142.3926.4_pre.ebuild b/dev-util/idea-ultimate/idea-ultimate-15.0.0.142.3926.4_pre.ebuild |
128 |
deleted file mode 100644 |
129 |
index a2eca22..0000000 |
130 |
--- a/dev-util/idea-ultimate/idea-ultimate-15.0.0.142.3926.4_pre.ebuild |
131 |
+++ /dev/null |
132 |
@@ -1,31 +0,0 @@ |
133 |
-# Copyright 1999-2015 Gentoo Foundation |
134 |
-# Distributed under the terms of the GNU General Public License v2 |
135 |
-# $Id$ |
136 |
- |
137 |
-EAPI=5 |
138 |
-inherit eutils versionator |
139 |
- |
140 |
-SLOT="$(get_major_version)" |
141 |
-MY_PV="$(get_version_component_range 4-6)" |
142 |
-MY_PN="idea" |
143 |
- |
144 |
-DESCRIPTION="A complete toolset for web, mobile and enterprise development" |
145 |
-HOMEPAGE="http://www.jetbrains.com/idea" |
146 |
-SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz" |
147 |
- |
148 |
-LICENSE="IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal" |
149 |
-IUSE="" |
150 |
-KEYWORDS="~amd64 ~x86" |
151 |
- |
152 |
-RDEPEND=">=virtual/jdk-1.7" |
153 |
-S=${WORKDIR}/${MY_PN}-IU-${MY_PV} |
154 |
- |
155 |
-src_install() { |
156 |
- local dir="/opt/${PN}" |
157 |
- |
158 |
- insinto "${dir}" |
159 |
- doins -r * |
160 |
- fperms 755 ${dir}/bin/{idea.sh,fsnotifier{,64}} |
161 |
- |
162 |
- make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" |
163 |
-} |
164 |
|
165 |
diff --git a/dev-util/idea-ultimate/idea-ultimate-15.0.0.142.5047.6_pre.ebuild b/dev-util/idea-ultimate/idea-ultimate-15.0.0.142.5047.6_pre.ebuild |
166 |
new file mode 100644 |
167 |
index 0000000..f4a3b2e |
168 |
--- /dev/null |
169 |
+++ b/dev-util/idea-ultimate/idea-ultimate-15.0.0.142.5047.6_pre.ebuild |
170 |
@@ -0,0 +1,90 @@ |
171 |
+# Copyright 1999-2015 Gentoo Foundation |
172 |
+# Distributed under the terms of the GNU General Public License v2 |
173 |
+# $Id$ |
174 |
+ |
175 |
+EAPI=5 |
176 |
+inherit eutils versionator |
177 |
+ |
178 |
+SLOT="0" |
179 |
+PV_STRING="$(get_version_component_range 4-6)" # Always name EAP-versions with '_pre' for clarity! |
180 |
+MY_PV="$(get_version_component_range 1-3)" |
181 |
+MY_PN="idea" |
182 |
+ |
183 |
+DESCRIPTION="A complete toolset for web, mobile and enterprise development" |
184 |
+HOMEPAGE="http://www.jetbrains.com/idea" |
185 |
+SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz" |
186 |
+ |
187 |
+LICENSE="IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal" |
188 |
+IUSE="" |
189 |
+KEYWORDS="~amd64 ~x86" # No keywords for EAP versions. Code quality sucks. |
190 |
+ |
191 |
+DEPEND="!dev-util/${PN}:14 |
192 |
+ !dev-util/${PN}:15" |
193 |
+RDEPEND="${DEPEND} |
194 |
+ >=virtual/jdk-1.7" |
195 |
+S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}" |
196 |
+ |
197 |
+QA_TEXTRELS="opt/${PN}-${MY_PV}/bin/libbreakgen.so" |
198 |
+QA_PRESTRIPPED="opt/${PN}-${MY_PV}/lib/libpty/linux/x86/libpty.so |
199 |
+ opt/${PN}-${MY_PV}/lib/libpty/linux/x86_64/libpty.so |
200 |
+ opt/${PN}-${MY_PV}/bin/libyjpagent-linux.so |
201 |
+ opt/${PN}-${MY_PV}/bin/libyjpagent-linux64.so" |
202 |
+QA_WX_LOAD=" |
203 |
+ opt/${PN}-${MY_PV}/bin/fsnotifier-arm |
204 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_auth.so |
205 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_console.so |
206 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_filesystem.so |
207 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_misc.so |
208 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/linux/ppc/libnative_synchronization.so |
209 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_auth.so |
210 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_console.so |
211 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_filesystem.so |
212 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_misc.so |
213 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/sparc/libnative_synchronization.so |
214 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_auth.so |
215 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_console.so |
216 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_filesystem.so |
217 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_misc.so |
218 |
+ opt/${PN}-${MY_PV}/plugins/tfsIntegration/lib/native/solaris/x86/libnative_synchronization.so" |
219 |
+ |
220 |
+src_prepare() { |
221 |
+ if ! use amd64; then |
222 |
+ rm -rf plugins/tfsIntegration/lib/native/linux/x86_64 |
223 |
+ fi |
224 |
+ if ! use arm; then |
225 |
+ rm bin/fsnotifier-arm |
226 |
+ rm -rf plugins/tfsIntegration/lib/native/linux/arm |
227 |
+ fi |
228 |
+ if ! use ppc; then |
229 |
+ rm -rf plugins/tfsIntegration/lib/native/linux/ppc |
230 |
+ fi |
231 |
+ if ! use x86; then |
232 |
+ rm -rf plugins/tfsIntegration/lib/native/linux/x86 |
233 |
+ fi |
234 |
+ rm -rf plugins/tfsIntegration/lib/native/solaris |
235 |
+ rm -rf plugins/tfsIntegration/lib/native/hpux |
236 |
+} |
237 |
+ |
238 |
+src_install() { |
239 |
+ local dir="/opt/${PN}-${MY_PV}" |
240 |
+ |
241 |
+ insinto "${dir}" |
242 |
+ doins -r * |
243 |
+ fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}} |
244 |
+ |
245 |
+ make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" |
246 |
+ |
247 |
+ # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
248 |
+ mkdir -p "${D}/etc/sysctl.d/" |
249 |
+ echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" |
250 |
+} |
251 |
+ |
252 |
+pkg_postinst() { |
253 |
+ if [[ "$(get_version_component_range 7)x" = "prex" ]] |
254 |
+ then |
255 |
+ ewarn "Be aware, this is a release from their EAP. According to JetBrains, the code" |
256 |
+ ewarn "quality of such releases may be considerably below of what you might usually" |
257 |
+ ewarn "be used to from beta releases." |
258 |
+ ewarn "Don't use it for critical tasks. You have been warned." |
259 |
+ fi |
260 |
+} |