1 |
commit: 32726cd6461f7a3c85ab216737fa9e6c095e4f75 |
2 |
Author: Christian Strahl <christian.strahl <AT> eppendorf <DOT> de> |
3 |
AuthorDate: Tue Apr 2 08:29:47 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 16 18:15:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32726cd6 |
7 |
|
8 |
dev-util/clion: remove old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
11 |
Signed-off-by: Christian Strahl <c.a.strahl <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/11569 |
13 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
14 |
|
15 |
dev-util/clion/Manifest | 1 - |
16 |
dev-util/clion/clion-2018.3.4.ebuild | 70 ------------------------------------ |
17 |
2 files changed, 71 deletions(-) |
18 |
|
19 |
diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest |
20 |
index c0c364e448c..5d11cb16815 100644 |
21 |
--- a/dev-util/clion/Manifest |
22 |
+++ b/dev-util/clion/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST clion-2018.3.4.tar.gz 454682485 BLAKE2B 5e56fe7abf86b10c78b307c510ba22ef14fe73cd9504c3ab093e0677f9d7901fd446bccc1b464a88d40042c0b105ea0cc8a46e985e359407d75a73b875766a52 SHA512 ffe594b2df390cb41cd2c5629a1b8f9a80cf8463c05d22d43af2da3a8db73e9d52ebd70c15771b813c049299ce4b3a3765a4bd6f65fe59cbd904b3536f182d75 |
25 |
DIST clion-2019.1.tar.gz 429061573 BLAKE2B 14c2227509fd4c24d09ca139ff9f58ab2be71ad249d8f8a09d615cdc1aa07e9d2e0be9618e795859f564b63705a34e61dc90f3de5a012ad8fdf9a2f8ba512c33 SHA512 5c919ad2ea87744e0b3488958e58a9f67d8a8dcfa6affd86f975842c9e562663464d73373c72ef8085cede8f16828342dc17e182e761c199936bffee2f398509 |
26 |
|
27 |
diff --git a/dev-util/clion/clion-2018.3.4.ebuild b/dev-util/clion/clion-2018.3.4.ebuild |
28 |
deleted file mode 100644 |
29 |
index 8ad83a90304..00000000000 |
30 |
--- a/dev-util/clion/clion-2018.3.4.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,70 +0,0 @@ |
33 |
-# Copyright 1999-2019 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-inherit desktop eutils |
39 |
- |
40 |
-DESCRIPTION="A complete toolset for C and C++ development" |
41 |
-HOMEPAGE="http://www.jetbrains.com/clion" |
42 |
-SRC_URI="http://download.jetbrains.com/cpp/CLion-${PV}.tar.gz -> ${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="IDEA |
45 |
- || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
-RESTRICT="splitdebug" |
49 |
-IUSE="custom-jdk" |
50 |
- |
51 |
-# RDEPENDS may cause false positives in repoman. |
52 |
-# clion requires cmake and gdb at runtime to build and debug C/C++ projects |
53 |
-RDEPEND=" |
54 |
- dev-util/cmake |
55 |
- sys-devel/gdb |
56 |
- !custom-jdk? ( virtual/jdk )" |
57 |
- |
58 |
-QA_PREBUILT="opt/${P}/*" |
59 |
- |
60 |
-src_prepare() { |
61 |
- default |
62 |
- |
63 |
- local remove_me=( |
64 |
- bin/gdb/linux |
65 |
- bin/lldb/linux |
66 |
- bin/cmake |
67 |
- license/CMake* |
68 |
- plugins/tfsIntegration/lib/native/hpux |
69 |
- plugins/tfsIntegration/lib/native/solaris |
70 |
- ) |
71 |
- |
72 |
- use amd64 || remove_me+=( plugins/tfsIntegration/lib/native/linux/x86_64 ) |
73 |
- use arm || remove_me+=( bin/fsnotifier-arm plugins/tfsIntegration/lib/native/linux/arm ) |
74 |
- use ppc || remove_me+=( plugins/tfsIntegration/lib/native/linux/ppc ) |
75 |
- use x86 || remove_me+=( plugins/tfsIntegration/lib/native/linux/x86 ) |
76 |
- |
77 |
- use custom-jdk || remove_me+=( jre64 ) |
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},clang/linux/clang{d,-tidy}} |
88 |
- |
89 |
- if use custom-jdk; then |
90 |
- if [[ -d jre64 ]]; then |
91 |
- fperms 755 "${dir}"/jre64/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200} |
92 |
- fi |
93 |
- fi |
94 |
- |
95 |
- make_wrapper "${PN}" "${dir}/bin/${PN}.sh" |
96 |
- newicon "bin/${PN}.svg" "${PN}.svg" |
97 |
- make_desktop_entry "${PN}" "clion" "${PN}" "Development;IDE;" |
98 |
- |
99 |
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
100 |
- dodir /usr/lib/sysctl.d/ |
101 |
- echo "fs.inotify.max_user_watches = 524288" > "${D}/usr/lib/sysctl.d/30-clion-inotify-watches.conf" || die |
102 |
-} |