Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clion/
Date: Fri, 03 Jun 2022 13:15:51
Message-Id: 1654262143.5056c61d9e45a550b2fd6c0c6de4387b74ea326a.juippis@gentoo
1 commit: 5056c61d9e45a550b2fd6c0c6de4387b74ea326a
2 Author: Joshua Goins <josh <AT> redstrate <DOT> com>
3 AuthorDate: Thu May 26 13:26:52 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 3 13:15:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5056c61d
7
8 dev-util/clion: drop 2021.3.2
9
10 Signed-off-by: Joshua Goins <josh <AT> redstrate.com>
11 Closes: https://github.com/gentoo/gentoo/pull/25623
12 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
13
14 dev-util/clion/Manifest | 1 -
15 dev-util/clion/clion-2021.3.2.ebuild | 106 -----------------------------------
16 2 files changed, 107 deletions(-)
17
18 diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest
19 index b71c149adb11..8bcfe11875eb 100644
20 --- a/dev-util/clion/Manifest
21 +++ b/dev-util/clion/Manifest
22 @@ -1,2 +1 @@
23 DIST CLion-2022.1.1.tar.gz 785792506 BLAKE2B 9665bf3fe08aebb00b8bb1a26a0537c520444f66da679d01b9aab2230583abc0ecdf5b4510e7d6b39437ed6c9dc58939d5f9d1dab2568ea0c60438ad2c76e07d SHA512 bad80efeb9bcf88e31aa845605fb903dcc7deebe783100a40d0c5548c5f9ab3580804a2a924a511be007a94bc642df1c16bfd3477630719a0965ca075fdb72fb
24 -DIST CLion-2021.3.2.tar.gz 747081798 BLAKE2B 68be520b06e2d59d3a240b03e8e64cdd0a96e96022fc72fd531813fe0d417055b58d36a6a5a0360e3121cbb111ccdecf96b25778e2368fb21b92f404013a4604 SHA512 6c965c745588e49fcb3c2ecadcca38817884bd3f830d6b5f1042a6edff5687419fc2375bb41063c808c894588c371d2a860a75ceed86a187eec7fd9fce380678
25
26 diff --git a/dev-util/clion/clion-2021.3.2.ebuild b/dev-util/clion/clion-2021.3.2.ebuild
27 deleted file mode 100644
28 index 93132025c95b..000000000000
29 --- a/dev-util/clion/clion-2021.3.2.ebuild
30 +++ /dev/null
31 @@ -1,106 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -inherit desktop wrapper
38 -
39 -DESCRIPTION="A complete toolset for C and C++ development"
40 -HOMEPAGE="https://www.jetbrains.com/clion"
41 -SRC_URI="https://download.jetbrains.com/cpp/CLion-${PV}.tar.gz"
42 -
43 -LICENSE="|| ( IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )
44 - Apache-1.1 Apache-2.0 BSD BSD-2 CC0-1.0 CDDL-1.1 CPL-0.5 CPL-1.0
45 - EPL-1.0 EPL-2.0 GPL-2 GPL-2-with-classpath-exception GPL-3 ISC JDOM
46 - LGPL-2.1+ LGPL-3 MIT MPL-1.0 MPL-1.1 OFL public-domain PSF-2 UoI-NCSA ZLIB"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~x86"
49 -RESTRICT="bindist mirror splitdebug"
50 -
51 -BDEPEND="dev-util/patchelf"
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 - app-accessibility/at-spi2-atk:2
57 - app-accessibility/at-spi2-core:2
58 - dev-libs/atk
59 - dev-libs/expat
60 - dev-libs/glib:2
61 - dev-libs/nspr
62 - dev-libs/nss
63 - dev-util/cmake
64 - dev-util/ninja
65 - media-libs/alsa-lib
66 - media-libs/freetype:2
67 - media-libs/mesa
68 - net-print/cups
69 - sys-apps/dbus
70 - sys-devel/gdb
71 - sys-libs/zlib
72 - x11-libs/libX11
73 - x11-libs/libXcomposite
74 - x11-libs/libXcursor
75 - x11-libs/libXdamage
76 - x11-libs/libXext
77 - x11-libs/libXfixes
78 - x11-libs/libXi
79 - x11-libs/libXrandr
80 - x11-libs/libXtst
81 - x11-libs/libXxf86vm
82 - x11-libs/libdrm
83 - x11-libs/libxcb
84 - x11-libs/libxkbcommon
85 - x11-libs/libxshmfence"
86 -
87 -QA_PREBUILT="opt/${P}/*"
88 -
89 -src_prepare() {
90 - default
91 -
92 - local remove_me=(
93 - bin/cmake
94 - bin/lldb/linux
95 - bin/gdb/linux
96 - license/CMake*
97 - lib/pty4j-native/linux/aarch64
98 - lib/pty4j-native/linux/arm
99 - lib/pty4j-native/linux/mips64el
100 - lib/pty4j-native/linux/ppc64le
101 - plugins/remote-dev-server/selfcontained
102 - )
103 -
104 - use amd64 || remove_me+=( lib/pty4j-native/linux/x86_64)
105 - use x86 || remove_me+=( lib/pty4j-native/linux/x86)
106 -
107 - rm -rv "${remove_me[@]}" || die
108 -
109 - for file in "jbr/lib/"/{libjcef.so,jcef_helper}
110 - do
111 - if [[ -f "${file}" ]]; then
112 - patchelf --set-rpath '$ORIGIN' ${file} || die
113 - fi
114 - done
115 -}
116 -
117 -src_install() {
118 - local dir="/opt/${P}"
119 -
120 - insinto "${dir}"
121 - doins -r *
122 - fperms 755 "${dir}"/bin/{clion.sh,fsnotifier,inspect.sh,ltedit.sh,repair,clang/linux/{clangd,clang-tidy,clazy-standalone,llvm-symbolizer},ninja/linux/ninja}
123 -
124 - if [[ -d jbr ]]; then
125 - fperms 755 "${dir}"/jbr/bin/{jaotc,java,javac,jdb,jjs,jrunscript,keytool,pack200,rmid,rmiregistry,serialver,unpack200}
126 - # Fix #763582
127 - fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
128 - fi
129 -
130 - make_wrapper "${PN}" "${dir}/bin/${PN}.sh"
131 - newicon "bin/${PN}.svg" "${PN}.svg"
132 - make_desktop_entry "${PN}" "clion" "${PN}" "Development;IDE;"
133 -
134 - # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
135 - dodir /usr/lib/sysctl.d/
136 - echo "fs.inotify.max_user_watches = 524288" > "${D}/usr/lib/sysctl.d/30-clion-inotify-watches.conf" || die
137 -}