diff options
author | Christian Strahl <christian.strahl@eppendorf.de> | 2019-02-15 12:48:44 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-02-16 00:12:28 +0100 |
commit | ecbf3112d44b0f8b28be434138400aef03aa2d73 (patch) | |
tree | 4585342c75832b7578c258688c3ea089cfab626a /dev-util/clion | |
parent | net-irc/ircstats: clean up old. (diff) | |
download | gentoo-ecbf3112d44b0f8b28be434138400aef03aa2d73.tar.gz gentoo-ecbf3112d44b0f8b28be434138400aef03aa2d73.tar.bz2 gentoo-ecbf3112d44b0f8b28be434138400aef03aa2d73.zip |
dev-util/clion: version bump to 2018.3.4.
Package-Manager: Portage-2.3.51-r1, Repoman-2.3.11
Signed-off-by: Christian Strahl <c.a.strahl@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11058
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-util/clion')
-rw-r--r-- | dev-util/clion/Manifest | 1 | ||||
-rw-r--r-- | dev-util/clion/clion-2018.3.4.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest index d80302567fec..665c77b0e7c1 100644 --- a/dev-util/clion/Manifest +++ b/dev-util/clion/Manifest @@ -1 +1,2 @@ DIST clion-2018.3.3.tar.gz 454542257 BLAKE2B 77266c7858295c77428ed3e700623bcded610e7da97dbbbeeabd5674a5efb4c836824174896b737fcd2f9bda8fde4995b61c70e013ec783cc358208c5df80842 SHA512 5a74d83a0d15300710dffc37d0b781fcf1cd8c7cf40cbc55f3210e09ca35abfc26bd9596adbec7fea3340e4fa452a1656db06ea06f0dda738051b83867534be0 +DIST clion-2018.3.4.tar.gz 454682485 BLAKE2B 5e56fe7abf86b10c78b307c510ba22ef14fe73cd9504c3ab093e0677f9d7901fd446bccc1b464a88d40042c0b105ea0cc8a46e985e359407d75a73b875766a52 SHA512 ffe594b2df390cb41cd2c5629a1b8f9a80cf8463c05d22d43af2da3a8db73e9d52ebd70c15771b813c049299ce4b3a3765a4bd6f65fe59cbd904b3536f182d75 diff --git a/dev-util/clion/clion-2018.3.4.ebuild b/dev-util/clion/clion-2018.3.4.ebuild new file mode 100644 index 000000000000..8ad83a903043 --- /dev/null +++ b/dev-util/clion/clion-2018.3.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils + +DESCRIPTION="A complete toolset for C and C++ development" +HOMEPAGE="http://www.jetbrains.com/clion" +SRC_URI="http://download.jetbrains.com/cpp/CLion-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="IDEA + || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="splitdebug" +IUSE="custom-jdk" + +# RDEPENDS may cause false positives in repoman. +# clion requires cmake and gdb at runtime to build and debug C/C++ projects +RDEPEND=" + dev-util/cmake + sys-devel/gdb + !custom-jdk? ( virtual/jdk )" + +QA_PREBUILT="opt/${P}/*" + +src_prepare() { + default + + local remove_me=( + bin/gdb/linux + bin/lldb/linux + bin/cmake + license/CMake* + plugins/tfsIntegration/lib/native/hpux + plugins/tfsIntegration/lib/native/solaris + ) + + use amd64 || remove_me+=( plugins/tfsIntegration/lib/native/linux/x86_64 ) + use arm || remove_me+=( bin/fsnotifier-arm plugins/tfsIntegration/lib/native/linux/arm ) + use ppc || remove_me+=( plugins/tfsIntegration/lib/native/linux/ppc ) + use x86 || remove_me+=( plugins/tfsIntegration/lib/native/linux/x86 ) + + use custom-jdk || remove_me+=( jre64 ) + + rm -rv "${remove_me[@]}" || die +} + +src_install() { + local dir="/opt/${P}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{clion.sh,fsnotifier{,64},clang/linux/clang{d,-tidy}} + + if use custom-jdk; then + if [[ -d jre64 ]]; then + fperms 755 "${dir}"/jre64/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200} + fi + fi + + make_wrapper "${PN}" "${dir}/bin/${PN}.sh" + newicon "bin/${PN}.svg" "${PN}.svg" + make_desktop_entry "${PN}" "clion" "${PN}" "Development;IDE;" + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + dodir /usr/lib/sysctl.d/ + echo "fs.inotify.max_user_watches = 524288" > "${D}/usr/lib/sysctl.d/30-clion-inotify-watches.conf" || die +} |