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: Tue, 05 Jul 2022 09:06:46
Message-Id: 1657011999.891441a2e4e55c2462baa52cd2f9e79325ef9b7b.juippis@gentoo
1 commit: 891441a2e4e55c2462baa52cd2f9e79325ef9b7b
2 Author: peeweep <peeweep <AT> 0x0 <DOT> ee>
3 AuthorDate: Tue Jul 5 08:41:01 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 5 09:06:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891441a2
7
8 dev-util/clion: drop 2022.1.1
9
10 Closes: https://github.com/gentoo/gentoo/pull/26052
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 dev-util/clion/Manifest | 1 -
14 dev-util/clion/clion-2022.1.1-r1.ebuild | 108 --------------------------------
15 2 files changed, 109 deletions(-)
16
17 diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest
18 index 2cc863cd73f0..92c2b61f684e 100644
19 --- a/dev-util/clion/Manifest
20 +++ b/dev-util/clion/Manifest
21 @@ -1,2 +1 @@
22 -DIST CLion-2022.1.1.tar.gz 785792506 BLAKE2B 9665bf3fe08aebb00b8bb1a26a0537c520444f66da679d01b9aab2230583abc0ecdf5b4510e7d6b39437ed6c9dc58939d5f9d1dab2568ea0c60438ad2c76e07d SHA512 bad80efeb9bcf88e31aa845605fb903dcc7deebe783100a40d0c5548c5f9ab3580804a2a924a511be007a94bc642df1c16bfd3477630719a0965ca075fdb72fb
23 DIST CLion-2022.1.3.tar.gz 785987464 BLAKE2B 5b23d54f260a8e6023cce936ba50320c9c815d7024495d4a28a6fe9fa795d9944cce36fedd7b619ccf8188750708eb3bca887f9fc856d2d4defe096505742852 SHA512 5caabc409e9e22e59a26886cb5a5785cc0f2c193e7548a9757d11b4e2b7dad5af7545f3c71b83e3111deb0e0c90507eb5ee6020dcba40e413c0882f2743ac49d
24
25 diff --git a/dev-util/clion/clion-2022.1.1-r1.ebuild b/dev-util/clion/clion-2022.1.1-r1.ebuild
26 deleted file mode 100644
27 index c6fcdf218e77..000000000000
28 --- a/dev-util/clion/clion-2022.1.1-r1.ebuild
29 +++ /dev/null
30 @@ -1,108 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -inherit desktop wrapper
37 -
38 -DESCRIPTION="A complete toolset for C and C++ development"
39 -HOMEPAGE="https://www.jetbrains.com/clion"
40 -SRC_URI="https://download.jetbrains.com/cpp/CLion-${PV}.tar.gz"
41 -
42 -LICENSE="|| ( IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )
43 - Apache-1.1 Apache-2.0 BSD BSD-2 CC0-1.0 CDDL-1.1 CPL-0.5 CPL-1.0
44 - EPL-1.0 EPL-2.0 GPL-2 GPL-2-with-classpath-exception GPL-3 ISC JDOM
45 - LGPL-2.1+ LGPL-3 MIT MPL-1.0 MPL-1.1 OFL public-domain PSF-2 UoI-NCSA ZLIB"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -RESTRICT="bindist mirror splitdebug"
49 -
50 -BDEPEND="dev-util/patchelf"
51 -
52 -# RDEPENDS may cause false positives in repoman.
53 -# clion requires cmake and gdb at runtime to build and debug C/C++ projects
54 -RDEPEND="
55 - app-accessibility/at-spi2-atk:2
56 - app-accessibility/at-spi2-core:2
57 - dev-libs/atk
58 - dev-libs/expat
59 - dev-libs/glib:2
60 - dev-libs/nspr
61 - dev-libs/nss
62 - dev-util/cmake
63 - dev-util/ninja
64 - media-libs/alsa-lib
65 - media-libs/freetype:2
66 - media-libs/mesa
67 - net-print/cups
68 - sys-apps/dbus
69 - sys-devel/gdb
70 - sys-libs/zlib
71 - x11-libs/libX11
72 - x11-libs/libXcomposite
73 - x11-libs/libXcursor
74 - x11-libs/libXdamage
75 - x11-libs/libXext
76 - x11-libs/libXfixes
77 - x11-libs/libXi
78 - x11-libs/libXrandr
79 - x11-libs/libXrender
80 - x11-libs/libXtst
81 - x11-libs/libXxf86vm
82 - x11-libs/libdrm
83 - x11-libs/libxcb
84 - x11-libs/libxkbcommon"
85 -
86 -QA_PREBUILT="opt/${P}/*"
87 -
88 -src_prepare() {
89 - default
90 -
91 - local remove_me=(
92 - bin/cmake
93 - bin/lldb/linux
94 - bin/gdb/linux
95 - bin/ninja
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}}
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 - dosym -r "${EPREFIX}/usr/bin/ninja" "${dir}"/bin/ninja/linux/ninja
130 -
131 - make_wrapper "${PN}" "${dir}/bin/${PN}.sh"
132 - newicon "bin/${PN}.svg" "${PN}.svg"
133 - make_desktop_entry "${PN}" "CLion" "${PN}" "Development;IDE;"
134 -
135 - # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
136 - dodir /usr/lib/sysctl.d/
137 - echo "fs.inotify.max_user_watches = 524288" > "${D}/usr/lib/sysctl.d/30-clion-inotify-watches.conf" || die
138 -}