1 |
commit: f557e3049eb77b402adea6f0d7740d70318feee8 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 27 20:05:45 2020 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 27 20:05:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f557e304 |
7 |
|
8 |
dev-util/idea-community: Version bump, clean-up old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-2.3.23 |
11 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
12 |
|
13 |
dev-util/idea-community/Manifest | 5 +- |
14 |
.../idea-community-2020.1.2.201.7846.76.ebuild | 142 --------------------- |
15 |
.../idea-community-2020.1.4.201.8743.12.ebuild | 142 --------------------- |
16 |
... => idea-community-2020.2.1.202.6948.69.ebuild} | 0 |
17 |
.../idea-community-2020.2.202.6397.94.ebuild | 142 --------------------- |
18 |
5 files changed, 1 insertion(+), 430 deletions(-) |
19 |
|
20 |
diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest |
21 |
index 959d5500323..1a1f40518d4 100644 |
22 |
--- a/dev-util/idea-community/Manifest |
23 |
+++ b/dev-util/idea-community/Manifest |
24 |
@@ -1,7 +1,4 @@ |
25 |
-DIST ideaIC-1.2.201.7846.76_20200507.tar.gz 529076492 BLAKE2B ec93303776324fca08db6e0a0e8058cdc4aa009852cf02beeb27193ea479845319f7b9a11983d56b10b31e280f4da5bfc6f43c802d42fa3c85d43ccbaa67a965 SHA512 59a6e87788dd0776ed11e882ae3f0b9e18f63d899602a4c576f946a7979d895a8750af20947f6273db8fde3fccce05cbd5b6bd4c0142450935d0abaace405679 |
26 |
-DIST ideaIC-1.3.201.8538.31.tar.gz 529511746 BLAKE2B d6eb9a4bc333136475432110ab767efd763d4631379f811a8b9ce70b415d621936630b1e0db55c90f572862176db40b50c76c34d1a179927d1ec7d234b6dc137 SHA512 34dcb365f0c1cd7362cd4660677e25b333557f1440b6835bf42ad365fc660849daf6733f09b1fc7aac8046752532c5a3f329656649708f629a812aa8989df50e |
27 |
-DIST ideaIC-1.4.201.8743.12.tar.gz 529515629 BLAKE2B 68a14df3945d35e6b1d6780ffe9ce1a14f03289fab2770bb33960c4d6d880d5428c5fafea38ab5b22e8ab3b82abf1c92d438e77257a4f8ab3f11a3a32a9702b1 SHA512 6389c5aaa2c38dc3e920253318ac6989f57f72caef749cabda34551d1a6c235c831e9fe29078f3b92b6f6189ad90577b057396776d4d16b4ff46d096e283061d |
28 |
-DIST ideaIC-2.202.6397.94.tar.gz 526710783 BLAKE2B 70ea95e09d2dcd3a09b8dbd35e4a86552800015d7f97a66d7144164bd5dc3ae40cb708e0b7541a274995cf026fa90ebbaae16967f4f4328206f653dbd16f0b76 SHA512 39a17494c31854d4dc7525af39f234cea18fcb112c1b05eeca4a0baa19069765cdc213691b5b379a4cfc05b0469e1a532ef0427955b8e1a10041db100d83b495 |
29 |
+DIST ideaIC-2.1.202.6948.69.tar.gz 529563846 BLAKE2B df3771c8ca85a276a1ed9db5e9483f922a98f25ab82061cc54dee791f84d44dcd7d813180d587a3a9f3cd91d10b83881a3d42da11ecee3be77dccbe2ee7e98c5 SHA512 bc32e01297785bfcf2a57f97e697b7ec8f894f49c5f27959ed3fd5bab6ade0cff8f0091847809f7ee5f7b7299c2bda3e4bdb83cadc68a7a3056242dd83c1c4b9 |
30 |
DIST jbr-11_0_2-linux-x64-b164.tar.gz 131483925 BLAKE2B fb9c55094aeb4a9e6b89ef41699252355895fa4bf55eaa0d3c0a637b6485b5a91a0445b5f4af1872b62cd67b639f7354e05770970d41dcfa58ffeda7ae43c5b6 SHA512 4f32940166cc8ad5a138866e18d4cbfcd07f4326a85c051b7a622c9dcb8ee4b6d493331ef24d0c01999134fa2a9bad901f026982c16780fdc5e6b9308821db34 |
31 |
DIST jbrx-8u202-linux-i586-b1483.37.tar.gz 80726147 BLAKE2B e4e5a076a541fd7153e861193ff4247c02ecbc144396ed28737afa7440f7771569b8d968b7c67b3dac333a89ff0b54cc9e5e76d1651b174cc7c0c21b1deb033c SHA512 53693f2ce994f4891807873ae3fe46ce60bee000b78be03c5d3df06b436328abe5b5d7e75d43e57f35f24187f49915187d034b39589e29806f55deeb14a029f2 |
32 |
DIST jbrx-8u202-linux-x64-b1483.37.tar.gz 81812743 BLAKE2B 86ddf0c8dc992a27e680caa821f54fa4d647a8bff78b9fdbef82996bfbba828a2f68f1a00ed64bd92ce24a62bfc6c0240837c396644c6e91244cb0d980b6c704 SHA512 cd31a3c4da7b8c65e9ae89326c2c8b260b51890258d30f64b1e8a7c6c1442bb2cb68ea2aa80387ce0c1a8f50e3533e8231f72c5935b639e3cf82bc1ffedee8e9 |
33 |
|
34 |
diff --git a/dev-util/idea-community/idea-community-2020.1.2.201.7846.76.ebuild b/dev-util/idea-community/idea-community-2020.1.2.201.7846.76.ebuild |
35 |
deleted file mode 100644 |
36 |
index 5759edc135c..00000000000 |
37 |
--- a/dev-util/idea-community/idea-community-2020.1.2.201.7846.76.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,142 +0,0 @@ |
40 |
-# Copyright 1999-2020 Gentoo Authors |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=7 |
44 |
-inherit eutils desktop |
45 |
- |
46 |
-SLOT="0" |
47 |
-PV_STRING="$(ver_cut 2-6)" |
48 |
-MY_PV="$(ver_cut 1-3)" |
49 |
-MY_PN="idea" |
50 |
-# Using the most recent Jetbrains Runtime binaries available at the time of writing |
51 |
-# As the exact bundled versions ( jre 11 build 159.30 and jre 8 build 1483.39 ) aren't |
52 |
-# available separately |
53 |
-JRE11_BASE="11_0_2" |
54 |
-JRE11_VER="164" |
55 |
-JRE_BASE="8u202" |
56 |
-JRE_VER="1483.37" |
57 |
- |
58 |
-# distinguish settings for official stable releases and EAP-version releases |
59 |
-if [[ "$(ver_cut 7)"x = "prex" ]] |
60 |
-then |
61 |
- # upstream EAP |
62 |
- KEYWORDS="" |
63 |
- SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${PV_STRING}.tar.gz" |
64 |
-else |
65 |
- # upstream stable |
66 |
- KEYWORDS="~amd64 ~x86" |
67 |
- SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${MY_PV}-no-jbr.tar.gz -> ${MY_PN}IC-${PV_STRING}_20200507.tar.gz |
68 |
- jbr8? ( x86? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrx-${JRE_BASE}-linux-i586-b${JRE_VER}.tar.gz -> jbrx-${JRE_BASE}-linux-i586-b${JRE_VER}.tar.gz ) |
69 |
- amd64? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrx-${JRE_BASE}-linux-x64-b${JRE_VER}.tar.gz -> jbrx-${JRE_BASE}-linux-x64-b${JRE_VER}.tar.gz ) ) |
70 |
- jbr11? ( amd64? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz -> jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz ) )" |
71 |
-fi |
72 |
- |
73 |
-DESCRIPTION="A complete toolset for web, mobile and enterprise development" |
74 |
-HOMEPAGE="https://www.jetbrains.com/idea" |
75 |
- |
76 |
-LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CDDL-1.1 |
77 |
- codehaus-classworlds CPL-1.0 EPL-1.0 EPL-2.0 jbr8? ( GPL-2 ) |
78 |
- jbr11? ( GPL-2 ) GPL-2 GPL-2-with-classpath-exception ISC |
79 |
- JDOM LGPL-2.1 LGPL-2.1+ LGPL-3-with-linking-exception MIT |
80 |
- MPL-1.0 MPL-1.1 OFL ZLIB" |
81 |
- |
82 |
-#Splitting custom-jdk into jbr8 and jbr11 as upstream now offers downloads with |
83 |
-#either (or neither) bundled |
84 |
-#Defaulting to jbr8 to match upstream |
85 |
-IUSE="+jbr8 -jbr11" |
86 |
-REQUIRED_USE="jbr8? ( !jbr11 )" |
87 |
- |
88 |
-DEPEND="!dev-util/${PN}:14 |
89 |
- !dev-util/${PN}:15" |
90 |
-RDEPEND="${DEPEND} |
91 |
- >=virtual/jdk-1.7:* |
92 |
- dev-java/jansi-native |
93 |
- dev-libs/libdbusmenu |
94 |
- =dev-util/lldb-9*" |
95 |
-BDEPEND="dev-util/patchelf" |
96 |
-RESTRICT="splitdebug" |
97 |
-S="${WORKDIR}/${MY_PN}-IC-$(ver_cut 4-6)" |
98 |
- |
99 |
-QA_PREBUILT="opt/${PN}-${MY_PV}/*" |
100 |
- |
101 |
-# jbr11 binary doesn't unpack nicely into a single folder |
102 |
-src_unpack() { |
103 |
- default_src_unpack |
104 |
- if use jbr11 ; then |
105 |
- mkdir jre64 && cd jre64 && unpack jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz |
106 |
- fi |
107 |
-} |
108 |
- |
109 |
-src_prepare() { |
110 |
- if use amd64; then |
111 |
- JRE_DIR=jre64 |
112 |
- else |
113 |
- JRE_DIR=jre |
114 |
- fi |
115 |
- |
116 |
- if use jbr8; then |
117 |
- mv "${WORKDIR}/jre" ./"${JRE_DIR}" |
118 |
- PLUGIN_DIR="${S}/${JRE_DIR}/lib/${ARCH}" |
119 |
- else |
120 |
- PLUGIN_DIR="${S}/${JRE_DIR}/lib/" |
121 |
- fi |
122 |
- |
123 |
- rm -vf ${PLUGIN_DIR}/libavplugin* |
124 |
- rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* |
125 |
- rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le |
126 |
- rm -vf "${S}"/bin/libdbm64* |
127 |
- |
128 |
- if [[ -d "${S}"/"${JRE_DIR}" ]]; then |
129 |
- for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so} |
130 |
- do |
131 |
- if [[ -f "$file" ]]; then |
132 |
- patchelf --set-rpath '$ORIGIN' $file || die |
133 |
- fi |
134 |
- done |
135 |
- fi |
136 |
- |
137 |
- patchelf --replace-needed liblldb.so liblldb.so.9 "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend || die "Unable to patch LLDBFrontend for lldb" |
138 |
- |
139 |
- sed -i \ |
140 |
- -e "\$a\\\\" \ |
141 |
- -e "\$a#-----------------------------------------------------------------------" \ |
142 |
- -e "\$a# Disable automatic updates as these are handled through Gentoo's" \ |
143 |
- -e "\$a# package manager. See bug #704494" \ |
144 |
- -e "\$a#-----------------------------------------------------------------------" \ |
145 |
- -e "\$aide.no.platform.update=Gentoo" bin/idea.properties |
146 |
- |
147 |
- eapply_user |
148 |
-} |
149 |
- |
150 |
-src_install() { |
151 |
- local dir="/opt/${PN}-${MY_PV}" |
152 |
- |
153 |
- insinto "${dir}" |
154 |
- doins -r * |
155 |
- fperms 755 "${dir}"/bin/{format.sh,idea.sh,inspect.sh,printenv.py,restart.py,fsnotifier{,64}} |
156 |
- if use amd64; then |
157 |
- JRE_DIR=jre64 |
158 |
- else |
159 |
- JRE_DIR=jre |
160 |
- fi |
161 |
- if use jbr8 || use jbr11 ; then |
162 |
- if use jbr8; then |
163 |
- JRE_BINARIES="java jjs keytool orbd pack200 policytool rmid rmiregistry servertool tnameserv unpack200" |
164 |
- else |
165 |
- JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200" |
166 |
- fi |
167 |
- if [[ -d ${JRE_DIR} ]]; then |
168 |
- for jrebin in $JRE_BINARIES; do |
169 |
- fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}" |
170 |
- done |
171 |
- fi |
172 |
- fi |
173 |
- |
174 |
- make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" |
175 |
- newicon "bin/${MY_PN}.png" "${PN}.png" |
176 |
- make_desktop_entry "${PN}" "IntelliJ Idea Community" "${PN}" "Development;IDE;" |
177 |
- |
178 |
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
179 |
- mkdir -p "${D}/etc/sysctl.d/" || die |
180 |
- echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die |
181 |
-} |
182 |
|
183 |
diff --git a/dev-util/idea-community/idea-community-2020.1.4.201.8743.12.ebuild b/dev-util/idea-community/idea-community-2020.1.4.201.8743.12.ebuild |
184 |
deleted file mode 100644 |
185 |
index 97ec35a8801..00000000000 |
186 |
--- a/dev-util/idea-community/idea-community-2020.1.4.201.8743.12.ebuild |
187 |
+++ /dev/null |
188 |
@@ -1,142 +0,0 @@ |
189 |
-# Copyright 1999-2020 Gentoo Authors |
190 |
-# Distributed under the terms of the GNU General Public License v2 |
191 |
- |
192 |
-EAPI=7 |
193 |
-inherit eutils desktop |
194 |
- |
195 |
-SLOT="0" |
196 |
-PV_STRING="$(ver_cut 2-6)" |
197 |
-MY_PV="$(ver_cut 1-3)" |
198 |
-MY_PN="idea" |
199 |
-# Using the most recent Jetbrains Runtime binaries available at the time of writing |
200 |
-# As the exact bundled versions ( jre 11 build 159.30 and jre 8 build 1483.39 ) aren't |
201 |
-# available separately |
202 |
-JRE11_BASE="11_0_2" |
203 |
-JRE11_VER="164" |
204 |
-JRE_BASE="8u202" |
205 |
-JRE_VER="1483.37" |
206 |
- |
207 |
-# distinguish settings for official stable releases and EAP-version releases |
208 |
-if [[ "$(ver_cut 7)"x = "prex" ]] |
209 |
-then |
210 |
- # upstream EAP |
211 |
- KEYWORDS="~arm64" |
212 |
- SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${PV_STRING}.tar.gz" |
213 |
-else |
214 |
- # upstream stable |
215 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
216 |
- SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${MY_PV}-no-jbr.tar.gz -> ${MY_PN}IC-${PV_STRING}.tar.gz |
217 |
- jbr8? ( x86? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrx-${JRE_BASE}-linux-i586-b${JRE_VER}.tar.gz -> jbrx-${JRE_BASE}-linux-i586-b${JRE_VER}.tar.gz ) |
218 |
- amd64? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrx-${JRE_BASE}-linux-x64-b${JRE_VER}.tar.gz -> jbrx-${JRE_BASE}-linux-x64-b${JRE_VER}.tar.gz ) ) |
219 |
- jbr11? ( amd64? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz -> jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz ) )" |
220 |
-fi |
221 |
- |
222 |
-DESCRIPTION="A complete toolset for web, mobile and enterprise development" |
223 |
-HOMEPAGE="https://www.jetbrains.com/idea" |
224 |
- |
225 |
-LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CDDL-1.1 |
226 |
- codehaus-classworlds CPL-1.0 EPL-1.0 EPL-2.0 jbr8? ( GPL-2 ) |
227 |
- jbr11? ( GPL-2 ) GPL-2 GPL-2-with-classpath-exception ISC |
228 |
- JDOM LGPL-2.1 LGPL-2.1+ LGPL-3-with-linking-exception MIT |
229 |
- MPL-1.0 MPL-1.1 OFL ZLIB" |
230 |
- |
231 |
-#Splitting custom-jdk into jbr8 and jbr11 as upstream now offers downloads with |
232 |
-#either (or neither) bundled |
233 |
-#Defaulting to jbr8 to match upstream |
234 |
-IUSE="+jbr8 -jbr11" |
235 |
-REQUIRED_USE="jbr8? ( !jbr11 )" |
236 |
- |
237 |
-DEPEND="!dev-util/${PN}:14 |
238 |
- !dev-util/${PN}:15" |
239 |
-RDEPEND="${DEPEND} |
240 |
- >=virtual/jdk-1.7:* |
241 |
- dev-java/jansi-native |
242 |
- dev-libs/libdbusmenu |
243 |
- =dev-util/lldb-9*" |
244 |
-BDEPEND="dev-util/patchelf" |
245 |
-RESTRICT="splitdebug" |
246 |
-S="${WORKDIR}/${MY_PN}-IC-$(ver_cut 4-6)" |
247 |
- |
248 |
-QA_PREBUILT="opt/${PN}-${MY_PV}/*" |
249 |
- |
250 |
-# jbr11 binary doesn't unpack nicely into a single folder |
251 |
-src_unpack() { |
252 |
- default_src_unpack |
253 |
- if use jbr11 ; then |
254 |
- mkdir jre64 && cd jre64 && unpack jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz |
255 |
- fi |
256 |
-} |
257 |
- |
258 |
-src_prepare() { |
259 |
- if use amd64; then |
260 |
- JRE_DIR=jre64 |
261 |
- else |
262 |
- JRE_DIR=jre |
263 |
- fi |
264 |
- |
265 |
- if use jbr8; then |
266 |
- mv "${WORKDIR}/jre" ./"${JRE_DIR}" |
267 |
- PLUGIN_DIR="${S}/${JRE_DIR}/lib/${ARCH}" |
268 |
- else |
269 |
- PLUGIN_DIR="${S}/${JRE_DIR}/lib/" |
270 |
- fi |
271 |
- |
272 |
- rm -vf ${PLUGIN_DIR}/libavplugin* |
273 |
- rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* |
274 |
- rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le |
275 |
- rm -vf "${S}"/bin/libdbm64* |
276 |
- |
277 |
- if [[ -d "${S}"/"${JRE_DIR}" ]]; then |
278 |
- for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so} |
279 |
- do |
280 |
- if [[ -f "$file" ]]; then |
281 |
- patchelf --set-rpath '$ORIGIN' $file || die |
282 |
- fi |
283 |
- done |
284 |
- fi |
285 |
- |
286 |
- patchelf --replace-needed liblldb.so liblldb.so.9 "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend || die "Unable to patch LLDBFrontend for lldb" |
287 |
- |
288 |
- sed -i \ |
289 |
- -e "\$a\\\\" \ |
290 |
- -e "\$a#-----------------------------------------------------------------------" \ |
291 |
- -e "\$a# Disable automatic updates as these are handled through Gentoo's" \ |
292 |
- -e "\$a# package manager. See bug #704494" \ |
293 |
- -e "\$a#-----------------------------------------------------------------------" \ |
294 |
- -e "\$aide.no.platform.update=Gentoo" bin/idea.properties |
295 |
- |
296 |
- eapply_user |
297 |
-} |
298 |
- |
299 |
-src_install() { |
300 |
- local dir="/opt/${PN}-${MY_PV}" |
301 |
- |
302 |
- insinto "${dir}" |
303 |
- doins -r * |
304 |
- fperms 755 "${dir}"/bin/{format.sh,idea.sh,inspect.sh,printenv.py,restart.py,fsnotifier{,64}} |
305 |
- if use amd64; then |
306 |
- JRE_DIR=jre64 |
307 |
- else |
308 |
- JRE_DIR=jre |
309 |
- fi |
310 |
- if use jbr8 || use jbr11 ; then |
311 |
- if use jbr8; then |
312 |
- JRE_BINARIES="java jjs keytool orbd pack200 policytool rmid rmiregistry servertool tnameserv unpack200" |
313 |
- else |
314 |
- JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200" |
315 |
- fi |
316 |
- if [[ -d ${JRE_DIR} ]]; then |
317 |
- for jrebin in $JRE_BINARIES; do |
318 |
- fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}" |
319 |
- done |
320 |
- fi |
321 |
- fi |
322 |
- |
323 |
- make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" |
324 |
- newicon "bin/${MY_PN}.png" "${PN}.png" |
325 |
- make_desktop_entry "${PN}" "IntelliJ Idea Community" "${PN}" "Development;IDE;" |
326 |
- |
327 |
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
328 |
- mkdir -p "${D}/etc/sysctl.d/" || die |
329 |
- echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die |
330 |
-} |
331 |
|
332 |
diff --git a/dev-util/idea-community/idea-community-2020.1.3.201.8538.31.ebuild b/dev-util/idea-community/idea-community-2020.2.1.202.6948.69.ebuild |
333 |
similarity index 100% |
334 |
rename from dev-util/idea-community/idea-community-2020.1.3.201.8538.31.ebuild |
335 |
rename to dev-util/idea-community/idea-community-2020.2.1.202.6948.69.ebuild |
336 |
|
337 |
diff --git a/dev-util/idea-community/idea-community-2020.2.202.6397.94.ebuild b/dev-util/idea-community/idea-community-2020.2.202.6397.94.ebuild |
338 |
deleted file mode 100644 |
339 |
index bc1a221116a..00000000000 |
340 |
--- a/dev-util/idea-community/idea-community-2020.2.202.6397.94.ebuild |
341 |
+++ /dev/null |
342 |
@@ -1,142 +0,0 @@ |
343 |
-# Copyright 1999-2020 Gentoo Authors |
344 |
-# Distributed under the terms of the GNU General Public License v2 |
345 |
- |
346 |
-EAPI=7 |
347 |
-inherit eutils desktop |
348 |
- |
349 |
-SLOT="0" |
350 |
-PV_STRING="$(ver_cut 2-6)" |
351 |
-MY_PV="$(ver_cut 1-2)" |
352 |
-MY_PN="idea" |
353 |
-# Using the most recent Jetbrains Runtime binaries available at the time of writing |
354 |
-# As the exact bundled versions ( jre 11 build 159.30 and jre 8 build 1483.39 ) aren't |
355 |
-# available separately |
356 |
-JRE11_BASE="11_0_2" |
357 |
-JRE11_VER="164" |
358 |
-JRE_BASE="8u202" |
359 |
-JRE_VER="1483.37" |
360 |
- |
361 |
-# distinguish settings for official stable releases and EAP-version releases |
362 |
-if [[ "$(ver_cut 7)"x = "prex" ]] |
363 |
-then |
364 |
- # upstream EAP |
365 |
- KEYWORDS="~arm64" |
366 |
- SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${PV_STRING}.tar.gz" |
367 |
-else |
368 |
- # upstream stable |
369 |
- KEYWORDS="~amd64 ~arm64 ~x86" |
370 |
- SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${MY_PV}-no-jbr.tar.gz -> ${MY_PN}IC-${PV_STRING}.tar.gz |
371 |
- jbr8? ( x86? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrx-${JRE_BASE}-linux-i586-b${JRE_VER}.tar.gz -> jbrx-${JRE_BASE}-linux-i586-b${JRE_VER}.tar.gz ) |
372 |
- amd64? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrx-${JRE_BASE}-linux-x64-b${JRE_VER}.tar.gz -> jbrx-${JRE_BASE}-linux-x64-b${JRE_VER}.tar.gz ) ) |
373 |
- jbr11? ( amd64? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz -> jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz ) )" |
374 |
-fi |
375 |
- |
376 |
-DESCRIPTION="A complete toolset for web, mobile and enterprise development" |
377 |
-HOMEPAGE="https://www.jetbrains.com/idea" |
378 |
- |
379 |
-LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CDDL-1.1 |
380 |
- codehaus-classworlds CPL-1.0 EPL-1.0 EPL-2.0 jbr8? ( GPL-2 ) |
381 |
- jbr11? ( GPL-2 ) GPL-2 GPL-2-with-classpath-exception ISC |
382 |
- JDOM LGPL-2.1 LGPL-2.1+ LGPL-3-with-linking-exception MIT |
383 |
- MPL-1.0 MPL-1.1 OFL ZLIB" |
384 |
- |
385 |
-#Splitting custom-jdk into jbr8 and jbr11 as upstream now offers downloads with |
386 |
-#either (or neither) bundled |
387 |
-#Defaulting to jbr8 to match upstream |
388 |
-IUSE="+jbr8 -jbr11" |
389 |
-REQUIRED_USE="jbr8? ( !jbr11 )" |
390 |
- |
391 |
-DEPEND="!dev-util/${PN}:14 |
392 |
- !dev-util/${PN}:15" |
393 |
-RDEPEND="${DEPEND} |
394 |
- >=virtual/jdk-1.7:* |
395 |
- dev-java/jansi-native |
396 |
- dev-libs/libdbusmenu |
397 |
- =dev-util/lldb-9*" |
398 |
-BDEPEND="dev-util/patchelf" |
399 |
-RESTRICT="splitdebug" |
400 |
-S="${WORKDIR}/${MY_PN}-IC-$(ver_cut 3-6)" |
401 |
- |
402 |
-QA_PREBUILT="opt/${PN}-${MY_PV}/*" |
403 |
- |
404 |
-# jbr11 binary doesn't unpack nicely into a single folder |
405 |
-src_unpack() { |
406 |
- default_src_unpack |
407 |
- if use jbr11 ; then |
408 |
- mkdir jre64 && cd jre64 && unpack jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz |
409 |
- fi |
410 |
-} |
411 |
- |
412 |
-src_prepare() { |
413 |
- if use amd64; then |
414 |
- JRE_DIR=jre64 |
415 |
- else |
416 |
- JRE_DIR=jre |
417 |
- fi |
418 |
- |
419 |
- if use jbr8; then |
420 |
- mv "${WORKDIR}/jre" ./"${JRE_DIR}" |
421 |
- PLUGIN_DIR="${S}/${JRE_DIR}/lib/${ARCH}" |
422 |
- else |
423 |
- PLUGIN_DIR="${S}/${JRE_DIR}/lib/" |
424 |
- fi |
425 |
- |
426 |
- rm -vf ${PLUGIN_DIR}/libavplugin* |
427 |
- rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* |
428 |
- rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le |
429 |
- rm -vf "${S}"/bin/libdbm64* |
430 |
- |
431 |
- if [[ -d "${S}"/"${JRE_DIR}" ]]; then |
432 |
- for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so} |
433 |
- do |
434 |
- if [[ -f "$file" ]]; then |
435 |
- patchelf --set-rpath '$ORIGIN' $file || die |
436 |
- fi |
437 |
- done |
438 |
- fi |
439 |
- |
440 |
- patchelf --replace-needed liblldb.so liblldb.so.9 "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend || die "Unable to patch LLDBFrontend for lldb" |
441 |
- |
442 |
- sed -i \ |
443 |
- -e "\$a\\\\" \ |
444 |
- -e "\$a#-----------------------------------------------------------------------" \ |
445 |
- -e "\$a# Disable automatic updates as these are handled through Gentoo's" \ |
446 |
- -e "\$a# package manager. See bug #704494" \ |
447 |
- -e "\$a#-----------------------------------------------------------------------" \ |
448 |
- -e "\$aide.no.platform.update=Gentoo" bin/idea.properties |
449 |
- |
450 |
- eapply_user |
451 |
-} |
452 |
- |
453 |
-src_install() { |
454 |
- local dir="/opt/${PN}-${MY_PV}" |
455 |
- |
456 |
- insinto "${dir}" |
457 |
- doins -r * |
458 |
- fperms 755 "${dir}"/bin/{format.sh,idea.sh,inspect.sh,printenv.py,restart.py,fsnotifier{,64}} |
459 |
- if use amd64; then |
460 |
- JRE_DIR=jre64 |
461 |
- else |
462 |
- JRE_DIR=jre |
463 |
- fi |
464 |
- if use jbr8 || use jbr11 ; then |
465 |
- if use jbr8; then |
466 |
- JRE_BINARIES="java jjs keytool orbd pack200 policytool rmid rmiregistry servertool tnameserv unpack200" |
467 |
- else |
468 |
- JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200" |
469 |
- fi |
470 |
- if [[ -d ${JRE_DIR} ]]; then |
471 |
- for jrebin in $JRE_BINARIES; do |
472 |
- fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}" |
473 |
- done |
474 |
- fi |
475 |
- fi |
476 |
- |
477 |
- make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" |
478 |
- newicon "bin/${MY_PN}.png" "${PN}.png" |
479 |
- make_desktop_entry "${PN}" "IntelliJ Idea Community" "${PN}" "Development;IDE;" |
480 |
- |
481 |
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
482 |
- mkdir -p "${D}/etc/sysctl.d/" || die |
483 |
- echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die |
484 |
-} |