1 |
commit: 3d241be87b5c9615f79df58b2143554afe10b523 |
2 |
Author: Christian Strahl <c.a.strahl <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jan 17 13:05:50 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 20 13:03:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d241be8 |
7 |
|
8 |
dev-util/clion: remove old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Christian Strahl <c.a.strahl <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/14366 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
dev-util/clion/Manifest | 1 - |
16 |
dev-util/clion/clion-2019.3.ebuild | 79 -------------------------------------- |
17 |
2 files changed, 80 deletions(-) |
18 |
|
19 |
diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest |
20 |
index facfaa70a4d..f3b8c65d643 100644 |
21 |
--- a/dev-util/clion/Manifest |
22 |
+++ b/dev-util/clion/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
DIST clion-2019.3.2.tar.gz 504918530 BLAKE2B fd209977752f2e97c42113d082f0e57de0a4c73c3f18d29ba00872f19f753843c719abc96e1e7c1ba2d8afdfd724ef929e803d1ec009019ee9bef735347ae8a0 SHA512 def10008f685c5bac523c2a15920b41482f4877cdfcc26f3aac2dfdfe2cf0e23ebff236750d4f1b04f0076ec6967c127abaf61f0cb1da5a51d873fd0cd029f2a |
25 |
-DIST clion-2019.3.tar.gz 499054562 BLAKE2B 5655d39a573915431d296e5cc0a0aee1e0aaa95878e885b578a961b53b001ff8327338cf7e8e9a6eb71d758336cb8d71f7b21d94b4aa72504cc8f73df274dee6 SHA512 9d16ae4e2219d5cecb165934a8c378df2125ae6b14f924d04cad6776b985e19ea1957d1fb15e1c75d078eac56b47eaed2dfed02efedbf0d5ff649bab519ecc1c |
26 |
|
27 |
diff --git a/dev-util/clion/clion-2019.3.ebuild b/dev-util/clion/clion-2019.3.ebuild |
28 |
deleted file mode 100644 |
29 |
index e207a118618..00000000000 |
30 |
--- a/dev-util/clion/clion-2019.3.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,79 +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="https://www.jetbrains.com/clion" |
42 |
-SRC_URI="https://download.jetbrains.com/cpp/CLion-${PV}.tar.gz -> ${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="|| ( IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal ) |
45 |
- Apache-1.1 Apache-2.0 BSD BSD-2 CC0-1.0 CDDL-1.1 CPL-0.5 CPL-1.0 |
46 |
- EPL-1.0 EPL-2.0 GPL-2 GPL-2-with-classpath-exception GPL-3 ISC JDOM |
47 |
- LGPL-2.1+ LGPL-3 MIT MPL-1.0 MPL-1.1 OFL public-domain PSF-2 UoI-NCSA ZLIB" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~amd64 ~x86" |
50 |
-RESTRICT="bindist mirror splitdebug" |
51 |
-IUSE="custom-jdk" |
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 |
- dev-util/cmake |
57 |
- sys-devel/gdb |
58 |
- !custom-jdk? ( virtual/jdk )" |
59 |
- |
60 |
-QA_PREBUILT="opt/${P}/*" |
61 |
- |
62 |
-src_prepare() { |
63 |
- default |
64 |
- |
65 |
- local remove_me=( |
66 |
- bin/gdb/linux |
67 |
- bin/lldb/linux |
68 |
- bin/cmake |
69 |
- license/CMake* |
70 |
- lib/pty4j-native/linux/ppc64le |
71 |
- ) |
72 |
- |
73 |
- use amd64 || remove_me+=( bin/fsnotifier64 lib/pty4j-native/linux/x86_64) |
74 |
- use x86 || remove_me+=( bin/fsnotifier lib/pty4j-native/linux/x86) |
75 |
- |
76 |
- use custom-jdk || remove_me+=( jbr ) |
77 |
- |
78 |
- rm -rv "${remove_me[@]}" || die |
79 |
-} |
80 |
- |
81 |
-src_install() { |
82 |
- local dir="/opt/${P}" |
83 |
- |
84 |
- insinto "${dir}" |
85 |
- doins -r * |
86 |
- fperms 755 "${dir}"/bin/{clion.sh,clang/linux/clang{d,-tidy}} |
87 |
- |
88 |
- if use amd64; then |
89 |
- fperms 755 "${dir}"/bin/fsnotifier64 |
90 |
- fi |
91 |
- if use arm; then |
92 |
- fperms 755 "${dir}"/bin/fsnotifier-arm |
93 |
- fi |
94 |
- if use x86; then |
95 |
- fperms 755 "${dir}"/bin/fsnotifier |
96 |
- fi |
97 |
- |
98 |
- if use custom-jdk; then |
99 |
- if [[ -d jbr ]]; then |
100 |
- fperms 755 "${dir}"/jbr/bin/{jaotc,java,javac,jdb,jjs,jrunscript,keytool,pack200,rmid,rmiregistry,serialver,unpack200} |
101 |
- fi |
102 |
- fi |
103 |
- |
104 |
- make_wrapper "${PN}" "${dir}/bin/${PN}.sh" |
105 |
- newicon "bin/${PN}.svg" "${PN}.svg" |
106 |
- make_desktop_entry "${PN}" "clion" "${PN}" "Development;IDE;" |
107 |
- |
108 |
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
109 |
- dodir /usr/lib/sysctl.d/ |
110 |
- echo "fs.inotify.max_user_watches = 524288" > "${D}/usr/lib/sysctl.d/30-clion-inotify-watches.conf" || die |
111 |
-} |