1 |
commit: c947d12d932c8d68053289dda1720822d065ee40 |
2 |
Author: Christian Strahl <c.a.strahl <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Feb 4 16:17:39 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 17 15:26:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c947d12d |
7 |
|
8 |
dev-util/clion: version bump to 2017.3.3. |
9 |
|
10 |
Package-Manager: 2.3.19-r1, Repoman-2.3.6 |
11 |
|
12 |
Closes: https://bugs.gentoo.org/646420 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/7068 |
14 |
|
15 |
dev-util/clion/Manifest | 1 + |
16 |
dev-util/clion/clion-2017.3.3.ebuild | 62 ++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 63 insertions(+) |
18 |
|
19 |
diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest |
20 |
index 99f811179a0..d58344a7d76 100644 |
21 |
--- a/dev-util/clion/Manifest |
22 |
+++ b/dev-util/clion/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST clion-143.1186.tar.gz 220702330 BLAKE2B 05799e66aff500adbb66f553f6fc00c58d1ea5e352b0f3d2e50897fbaa48c0977438027ec6282133502c0ce29d2392c49b2c000eae35407d8c3947b7e2d5ebe7 SHA512 d4ea1bad5f3da3bab569380114011798c29e633009867c8020363c9af72326ebaa3232dff9c931a67dd0a0195bf4903647e250963c7aeebe9ad83340c988cbad |
25 |
DIST clion-2016.2.1.tar.gz 287103613 BLAKE2B a3b31d5a5de5a9640cc7298ee6431030ed3e5954455a34845ee525b0edd73a265d0ac38df50094564f68f9f7c17883571c61c2e5dadcdfe504f7320492d7380c SHA512 a4734c1b5d544cb7f6bd4752f5853d3c44e123e8ad8584b76098ef51a00261350d49bdd628d08c171f7c04b77862e8f28b5d8f16813c282542f83a16100c7415 |
26 |
DIST clion-2017.3.1.tar.gz 331052532 BLAKE2B 0cb3d983b17a36592ce56cada1643039302298e302f5d165d9d3b18fe412101326b02ec87e7b6b3050267cabd67771c86b98bda1c923c91fd2175af4e6ea69f5 SHA512 ef8526586f11eade4fe1b9c466206d727b98177fbee04378bd38bc1a050a6942d3ccdda11179891c57e188f884c3f639d74703b79e618fb9fac85bdacd43aa42 |
27 |
+DIST clion-2017.3.3.tar.gz 331047955 BLAKE2B eb12a2c5a22fe6541127f187da55eb2841ba878a1d8d1ff1b7c3bebf7e1a7895b451f089507306ecc5fa50190448826be69056ff848e1a25440330f3cb048f7c SHA512 b3003b8e3edd623f8356fae290a3c567b6712cd4dee335e7e4b35aed02bdf16abc57e8b4944e654d854d34f3e18d643bb4a3e0caf9e0ddac178d1e9d4bdb55ce |
28 |
|
29 |
diff --git a/dev-util/clion/clion-2017.3.3.ebuild b/dev-util/clion/clion-2017.3.3.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..e648402ebdb |
32 |
--- /dev/null |
33 |
+++ b/dev-util/clion/clion-2017.3.3.ebuild |
34 |
@@ -0,0 +1,62 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit desktop |
41 |
+inherit eutils |
42 |
+ |
43 |
+SLOT="0" |
44 |
+ |
45 |
+SRC_URI="http://download.jetbrains.com/cpp/CLion-${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+DESCRIPTION="A complete toolset for C and C++ development" |
47 |
+HOMEPAGE="http://www.jetbrains.com/clion" |
48 |
+ |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+LICENSE="IDEA |
51 |
+ || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" |
52 |
+ |
53 |
+# RDEPENDS may cause false positives in repoman. |
54 |
+# clion requires cmake and gdb at runtime to build and debug C/C++ projects |
55 |
+RDEPEND=" |
56 |
+ sys-devel/gdb |
57 |
+ dev-util/cmake" |
58 |
+ |
59 |
+QA_PREBUILT="opt/${P}/*" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ |
64 |
+ local remove_me=( |
65 |
+ bin/gdb/bin |
66 |
+ bin/gdb/lib |
67 |
+ bin/gdb/share |
68 |
+ bin/cmake |
69 |
+ license/CMake* |
70 |
+ plugins/tfsIntegration/lib/native/hpux |
71 |
+ plugins/tfsIntegration/lib/native/solaris |
72 |
+ ) |
73 |
+ |
74 |
+ use amd64 || remove_me+=( plugins/tfsIntegration/lib/native/linux/x86_64 ) |
75 |
+ use arm || remove_me+=( bin/fsnotifier-arm plugins/tfsIntegration/lib/native/linux/arm ) |
76 |
+ use ppc || remove_me+=( plugins/tfsIntegration/lib/native/linux/ppc ) |
77 |
+ use x86 || remove_me+=( plugins/tfsIntegration/lib/native/linux/x86 ) |
78 |
+ |
79 |
+ rm -rv "${remove_me[@]}" || die |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ local dir="/opt/${P}" |
84 |
+ |
85 |
+ insinto "${dir}" |
86 |
+ doins -r * |
87 |
+ fperms 755 "${dir}"/bin/{clion.sh,fsnotifier{,64}} |
88 |
+ |
89 |
+ make_wrapper "${PN}" "${dir}/bin/${PN}.sh" |
90 |
+ newicon "bin/${PN}.svg" "${PN}.svg" |
91 |
+ make_desktop_entry "${PN}" "clion" "${PN}" "Development;IDE;" |
92 |
+ |
93 |
+ # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
94 |
+ mkdir -p "${D}/etc/sysctl.d/" || die |
95 |
+ echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die |
96 |
+} |