Gentoo Archives: gentoo-commits

From: Samuel Bernardo <samuelbernardo.mail@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/user/ssnb:master commit in: dev-util/idea-community/, dev-util/idea-ultimate/
Date: Sun, 31 Jul 2016 23:51:14
Message-Id: 1470009014.5ef2f4e2c84e27a2e557d6cfd3ef3136caabd4ec.samuelbernardo@gentoo
1 commit: 5ef2f4e2c84e27a2e557d6cfd3ef3136caabd4ec
2 Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
3 AuthorDate: Sun Jul 31 23:50:14 2016 +0000
4 Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
5 CommitDate: Sun Jul 31 23:50:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=5ef2f4e2
7
8 added idea version 162.1121.32
9
10 dev-util/idea-community/Manifest | 2 +
11 .../idea-community-2016.2.162.1121.32.ebuild | 82 ++++++++++++++++++++++
12 dev-util/idea-ultimate/ChangeLog | 4 ++
13 dev-util/idea-ultimate/Manifest | 4 ++
14 .../idea-ultimate-2016.2.162.1121.32.ebuild | 82 ++++++++++++++++++++++
15 dev-util/idea-ultimate/metadata.xml | 15 ++++
16 6 files changed, 189 insertions(+)
17
18 diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest
19 index c93d819..67cd002 100644
20 --- a/dev-util/idea-community/Manifest
21 +++ b/dev-util/idea-community/Manifest
22 @@ -1,3 +1,5 @@
23 DIST ideaIC-15.0.3.tar.gz 232760076 SHA256 0a4b755f3a48b3b5ad1000e17a92462c33ad5a8cc4912d6e276bbc4bf1241296 SHA512 b25f6358aeb7d59349042a90a71830806b2b4469e68521d6aa221f1cfa1f952d029afe9f9396eb424ab852e9ccf75912a2bc2815178b0a981fe1a08bba6b2f62 WHIRLPOOL 1542cf28d8edcea8853c9a946e74af8f0e9fd44b052d73bfabefa48342191cb8fa3de0d9159f2960543ba0d9e237e930c6635e374287931b1ceb31030590aac4
24 +DIST ideaIC-2016.2.tar.gz 333652005 SHA256 6270c2feae18e10a790d7dda0ab5fed929e353ef41cb016560f7878101259d98 SHA512 b4c38f18356284b3c82df0841c921660dd1018320ad825bc41a9b511d7e701e560b9a01e4b6d26a16b77a20fe8e31240a0e39229846cddd2af49c1a1c394bf32 WHIRLPOOL be8cb4cf7a288600d744453a94cdeadeae29610e3bbfb86732469575cac256506c8d255f45b4c57e19c3f3ef4646dc676b51dd037090570fb5d4463528c43f81
25 EBUILD idea-community-15.0.3.143.1821.5.ebuild 1032 SHA256 7d77870884bb4f9597e704d7e235a70c200f52334199451fa5f0fced3c1bfb3b SHA512 192617dd7a82a04bb36270813da3affccf2aa4ee6af57be9d8f6853238e6f5e78c7a922ae3f7a4ab02b250d006d616f1a34c5a94fa35e058e06684375cdb483f WHIRLPOOL 819e86c346c653adc5768932d39858707b9c1723f545ebf5e2a3740a89fca9d1b4951cbe1a2995132be76506c8ced0004b4c0c6916872fe84460fc57fc02ea23
26 +EBUILD idea-community-2016.2.162.1121.32.ebuild 2253 SHA256 3e613e7dc3554c7cadd845ed434c049867489a160aff7c10c201f817ca5a9ed6 SHA512 ede0a6758308ab4ef2bdf806fba003ec141d4ff98701f70f60f37a54f41a02772ccd80a3f519ddf8e4ad0240400f0a061f59f4470b118ca730d027cafeefe9df WHIRLPOOL 278a82756c774f308abe08201d2032a3acd4a09d7b2f1910a4ae5f840ae5560f1e8294dc652e487c7661a098ee5e237cc4e43a96476f307c369625ecd2dba20f
27 MISC metadata.xml 246 SHA256 31de89a294c6ff90d5a88948104aa27a86ea35792c466f20db64ab434c682537 SHA512 cd6648a75839e6059cf877aa79a84600be0a63de66f59efd217ad91bac55a7ed4afd5ce88c90a262b4dd044734403fb90a049b8f19a42289ec3ef1d827b66d77 WHIRLPOOL 7f436435371f655a72f4564d4a14b1fdb1be0a130ca0e130804b17104fe9e2c6da44a3ddef859e41ba4eccadff8dfefddbb04dade3e4200fcc557c2fd7af703e
28
29 diff --git a/dev-util/idea-community/idea-community-2016.2.162.1121.32.ebuild b/dev-util/idea-community/idea-community-2016.2.162.1121.32.ebuild
30 new file mode 100644
31 index 0000000..b021ac7
32 --- /dev/null
33 +++ b/dev-util/idea-community/idea-community-2016.2.162.1121.32.ebuild
34 @@ -0,0 +1,82 @@
35 +# Copyright 1999-2016 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=5
40 +inherit eutils versionator
41 +
42 +SLOT="0"
43 +PV_STRING="$(get_version_component_range 3-5)"
44 +MY_PV="$(get_version_component_range 1-2)"
45 +MY_PN="idea"
46 +
47 +# distinguish settings for official stable releases and EAP-version releases
48 +if [[ "$(get_version_component_range 7)x" = "prex" ]]
49 +then
50 + # upstream EAP
51 + KEYWORDS=""
52 + SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${PV_STRING}.tar.gz"
53 +else
54 + # upstream stable
55 + KEYWORDS="~amd64 ~x86"
56 + SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${MY_PV}.tar.gz"
57 +fi
58 +
59 +DESCRIPTION="A complete toolset for web, mobile and enterprise development"
60 +HOMEPAGE="https://www.jetbrains.com/idea"
61 +
62 +LICENSE="IDEA
63 + || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )"
64 +IUSE="-custom-jdk"
65 +
66 +DEPEND="!dev-util/${PN}:14
67 + !dev-util/${PN}:15"
68 +RDEPEND="${DEPEND}
69 + >=virtual/jdk-1.7:*"
70 +if [[ "${PV_STRING}x" = "x" ]]
71 +then
72 + S="${WORKDIR}/${MY_PN}-IC-${MY_PV}"
73 +else
74 + S="${WORKDIR}/${MY_PN}-IC-${PV_STRING}"
75 +fi
76 +
77 +QA_PREBUILT="opt/${PN}-${MY_PV}/*"
78 +
79 +src_prepare() {
80 + if ! use amd64; then
81 + rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die
82 + fi
83 + if ! use arm; then
84 + rm bin/fsnotifier-arm || die
85 + rm -r plugins/tfsIntegration/lib/native/linux/arm || die
86 + fi
87 + if ! use ppc; then
88 + rm -r plugins/tfsIntegration/lib/native/linux/ppc || die
89 + fi
90 + if ! use x86; then
91 + rm -r plugins/tfsIntegration/lib/native/linux/x86 || die
92 + fi
93 + if ! use custom-jdk; then
94 + if [[ -d jre ]]; then
95 + rm -r jre || die
96 + fi
97 + fi
98 + rm -r plugins/tfsIntegration/lib/native/solaris || die
99 + rm -r plugins/tfsIntegration/lib/native/hpux || die
100 +}
101 +
102 +src_install() {
103 + local dir="/opt/${PN}-${MY_PV}"
104 +
105 + insinto "${dir}"
106 + doins -r *
107 + fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
108 +
109 + make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
110 + newicon "bin/${MY_PN}.png" "${PN}.png"
111 + make_desktop_entry ${PN} "IntelliJ IDEA $(get_version_component_range 1-2) (Community Edition)" "${PN}" "Development;IDE"
112 +
113 + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
114 + mkdir -p "${D}/etc/sysctl.d/" || die
115 + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
116 +}
117
118 diff --git a/dev-util/idea-ultimate/ChangeLog b/dev-util/idea-ultimate/ChangeLog
119 new file mode 100644
120 index 0000000..afe31a1
121 --- /dev/null
122 +++ b/dev-util/idea-ultimate/ChangeLog
123 @@ -0,0 +1,4 @@
124 +# ChangeLog for dev-util/idea-ultimate
125 +# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
126 +# (auto-generated from git log)
127 +
128
129 diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest
130 new file mode 100644
131 index 0000000..46e56d8
132 --- /dev/null
133 +++ b/dev-util/idea-ultimate/Manifest
134 @@ -0,0 +1,4 @@
135 +DIST ideaIU-2016.2.tar.gz 495029721 SHA256 647ea2b7c1954012ca2e1e027b59ad7fa6cf24dee2dcc22c135155c60cc41182 SHA512 d61ad48fe7751fbff3551426f290062124002f561eace16c7ddfddf6c8ee33b449b0e9c573e9536dc1d8750458b9f44cde82433168a91537bbfc5301e3aee2cd WHIRLPOOL 596157ed4fd4bd007539a2664f0c317b8fba7fb8f89aaa28d8bbbc5bdda75671a9d97bd536faed0328855e99bb81970abf694271c70cb566cf8e6814662341ba
136 +EBUILD idea-ultimate-2016.2.162.1121.32.ebuild 2210 SHA256 9be349e6eb5434619143be79ccac3ec416f85da3c92a0c2ba54eb489d6517f6b SHA512 feb88ffda2d85b17818e7179fa3bd8b68e4adc87ceef4b6ecac7cfd235043499d609cb7660fedfc38f303cfa47985745253202817deb9067f10b69ea782899c2 WHIRLPOOL 6d37677a90f0ebd69337be5e0158d6cfb59bd14b4750c60168ee2a62ec42eafb6a6d00284b75704336ce8dff432afb5711880985936ff5fa98293a2d06a32211
137 +MISC ChangeLog 142 SHA256 3fb664d9c210061dd87dc6be4948fadbcc413e5a6bd09f4a262aa092b7f09648 SHA512 f66d54089ee757d3bc997f4edba58e6b6b91d47c6fca9f33edf4bfc9e03acabfc7af723c1238c313ccf6cde747c7b91274e67c15abc92da8dd6dd5ac58006b7b WHIRLPOOL 57d321122e01e8aed81d0393610296a2c29b30f81c03b8114b7ac854dfe2f5eb03841fe08e9f25c63598640ca754352ba5063f432be64d79473553ce98735aa5
138 +MISC metadata.xml 594 SHA256 1261f2f20c826a09850a69f95d9f143f0eb6462177310a00624ae64b17e04209 SHA512 2c830e91b8a9f97f8708392469121a4f5309e99cd58138a0d661394a5ca8a7c07ce47bc0cc9516aa1e6b106131b492fbbee6522be419e6ed7690d88cf2510df2 WHIRLPOOL 68f94bf90d0099971d88923aee992131960665d9efc689fbac28cc69fe8b0b3a28434987a8032b998d4581eb735c439e8f7554366482497c5b11fed3db3d3d80
139
140 diff --git a/dev-util/idea-ultimate/idea-ultimate-2016.2.162.1121.32.ebuild b/dev-util/idea-ultimate/idea-ultimate-2016.2.162.1121.32.ebuild
141 new file mode 100644
142 index 0000000..0343bda
143 --- /dev/null
144 +++ b/dev-util/idea-ultimate/idea-ultimate-2016.2.162.1121.32.ebuild
145 @@ -0,0 +1,82 @@
146 +# Copyright 1999-2016 Gentoo Foundation
147 +# Distributed under the terms of the GNU General Public License v2
148 +# $Id$
149 +
150 +EAPI=5
151 +inherit eutils versionator
152 +
153 +SLOT="0"
154 +PV_STRING="$(get_version_component_range 3-5)"
155 +MY_PV="$(get_version_component_range 1-2)"
156 +MY_PN="idea"
157 +
158 +# distinguish settings for official stable releases and EAP-version releases
159 +if [[ "$(get_version_component_range 7)x" = "prex" ]]
160 +then
161 + # upstream EAP
162 + KEYWORDS=""
163 + SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz"
164 +else
165 + # upstream stable
166 + KEYWORDS="~amd64 ~x86"
167 + SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz"
168 +fi
169 +
170 +DESCRIPTION="A complete toolset for web, mobile and enterprise development"
171 +HOMEPAGE="https://www.jetbrains.com/idea"
172 +
173 +LICENSE="IDEA
174 + || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )"
175 +IUSE="-custom-jdk"
176 +
177 +DEPEND="!dev-util/${PN}:14
178 + !dev-util/${PN}:15"
179 +RDEPEND="${DEPEND}
180 + >=virtual/jdk-1.7:*"
181 +if [[ "${PV_STRING}x" = "x" ]]
182 +then
183 + S="${WORKDIR}/${MY_PN}-IU-${MY_PV}"
184 +else
185 + S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}"
186 +fi
187 +
188 +QA_PREBUILT="opt/${PN}-${MY_PV}/*"
189 +
190 +src_prepare() {
191 + if ! use amd64; then
192 + rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die
193 + fi
194 + if ! use arm; then
195 + rm bin/fsnotifier-arm || die
196 + rm -r plugins/tfsIntegration/lib/native/linux/arm || die
197 + fi
198 + if ! use ppc; then
199 + rm -r plugins/tfsIntegration/lib/native/linux/ppc || die
200 + fi
201 + if ! use x86; then
202 + rm -r plugins/tfsIntegration/lib/native/linux/x86 || die
203 + fi
204 + if ! use custom-jdk; then
205 + if [[ -d jre ]]; then
206 + rm -r jre || die
207 + fi
208 + fi
209 + rm -r plugins/tfsIntegration/lib/native/solaris || die
210 + rm -r plugins/tfsIntegration/lib/native/hpux || die
211 +}
212 +
213 +src_install() {
214 + local dir="/opt/${PN}-${MY_PV}"
215 +
216 + insinto "${dir}"
217 + doins -r *
218 + fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}}
219 +
220 + make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
221 + newicon "bin/${MY_PN}.png" "${PN}.png"
222 + make_desktop_entry "${PN}" "IntelliJ Idea Ultimate" "${PN}" "Development;IDE;"
223 +
224 + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
225 + mkdir -p "${D}/etc/sysctl.d/" || die
226 + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
227 +}
228
229 diff --git a/dev-util/idea-ultimate/metadata.xml b/dev-util/idea-ultimate/metadata.xml
230 new file mode 100644
231 index 0000000..92ad3e3
232 --- /dev/null
233 +++ b/dev-util/idea-ultimate/metadata.xml
234 @@ -0,0 +1,15 @@
235 +<?xml version="1.0" encoding="UTF-8"?>
236 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
237 +<pkgmetadata>
238 +<maintainer type="person">
239 + <email>samuelbernardo.mail@×××××.com</email>
240 + <name>Samuel Bernardo</name>
241 + <description>Personal repository</description>
242 +</maintainer>
243 +<longdescription lang="en">
244 + Excel at enterprise, mobile and web development with Java, Scala and Groovy, with all the latest modern technologies and frameworks available out of the box.
245 +</longdescription>
246 +<use>
247 + <flag name="custom-jdk">Install and use IntelliJ's custom JRE.</flag>
248 +</use>
249 +</pkgmetadata>