Gentoo Archives: gentoo-commits

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