1 |
commit: bca716124fa34e6b6e7a06034084f88c70aba86b |
2 |
Author: Christian Strahl <c.a.strahl <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 9 12:16:01 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 15 16:48:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca71612 |
7 |
|
8 |
dev-util/clion: remove old versions |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Christian Strahl <c.a.strahl <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/12890 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
dev-util/clion/Manifest | 1 - |
16 |
dev-util/clion/clion-2019.2.ebuild | 78 -------------------------------------- |
17 |
2 files changed, 79 deletions(-) |
18 |
|
19 |
diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest |
20 |
index 02134953746..45b11b461f5 100644 |
21 |
--- a/dev-util/clion/Manifest |
22 |
+++ b/dev-util/clion/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
DIST clion-2019.2.1.tar.gz 493159056 BLAKE2B 8264befab42af1a73f9332a9a1bbfc91e9bf09108b0a544d18296feafd200f6c0013be768a5f7dfba29da689903945d81e54b95291d0952c2336be98b0f6357f SHA512 ed96df5872f0c3d911df15b3d00e045df5726d0d4d70225ace2b41b2e8e7ab3c04f22a8f00e9232472853a5ff5baa62b8b2363fbb6d68ba785a74e34c05d4abc |
25 |
-DIST clion-2019.2.tar.gz 485913295 BLAKE2B db723c1785cdf09f35299f89bb89f21c4f4ea96cc89de73484e31d042088cf613f634fc16e4c9d927f6903be3c401002836c0628cb80be7b029c4b28a67515ee SHA512 eb0a1acb9f267fa36f3cb2924cd9caa2f84367401c271d99458fc90b40cd62f97f566270ef1cd03bd0ce4160ab4bc92182fd468b860c67f2358e3c6adb021ddb |
26 |
|
27 |
diff --git a/dev-util/clion/clion-2019.2.ebuild b/dev-util/clion/clion-2019.2.ebuild |
28 |
deleted file mode 100644 |
29 |
index b3360455dab..00000000000 |
30 |
--- a/dev-util/clion/clion-2019.2.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,78 +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 |
45 |
- || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
-RESTRICT="mirror 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 |
- lib/pty4j-native/linux/ppc64le |
69 |
- ) |
70 |
- |
71 |
- use amd64 || remove_me+=( bin/fsnotifier64 lib/pty4j-native/linux/x86_64) |
72 |
- use arm || remove_me+=( bin/fsnotifier-arm ) |
73 |
- use x86 || remove_me+=( bin/fsnotifier lib/pty4j-native/linux/x86) |
74 |
- |
75 |
- use custom-jdk || remove_me+=( jbr ) |
76 |
- |
77 |
- rm -rv "${remove_me[@]}" || die |
78 |
-} |
79 |
- |
80 |
-src_install() { |
81 |
- local dir="/opt/${P}" |
82 |
- |
83 |
- insinto "${dir}" |
84 |
- doins -r * |
85 |
- fperms 755 "${dir}"/bin/{clion.sh,clang/linux/clang{d,-tidy}} |
86 |
- |
87 |
- if use amd64; then |
88 |
- fperms 755 "${dir}"/bin/fsnotifier64 |
89 |
- fi |
90 |
- if use arm; then |
91 |
- fperms 755 "${dir}"/bin/fsnotifier-arm |
92 |
- fi |
93 |
- if use x86; then |
94 |
- fperms 755 "${dir}"/bin/fsnotifier |
95 |
- fi |
96 |
- |
97 |
- if use custom-jdk; then |
98 |
- if [[ -d jbr ]]; then |
99 |
- fperms 755 "${dir}"/jbr/bin/{jaotc,java,javac,jdb,jjs,jrunscript,keytool,pack200,rmid,rmiregistry,serialver,unpack200} |
100 |
- fi |
101 |
- fi |
102 |
- |
103 |
- make_wrapper "${PN}" "${dir}/bin/${PN}.sh" |
104 |
- newicon "bin/${PN}.svg" "${PN}.svg" |
105 |
- make_desktop_entry "${PN}" "clion" "${PN}" "Development;IDE;" |
106 |
- |
107 |
- # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit |
108 |
- dodir /usr/lib/sysctl.d/ |
109 |
- echo "fs.inotify.max_user_watches = 524288" > "${D}/usr/lib/sysctl.d/30-clion-inotify-watches.conf" || die |
110 |
-} |