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