From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 604D3138334 for ; Mon, 6 Aug 2018 15:47:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29953E078A; Mon, 6 Aug 2018 15:47:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF2C1E0833 for ; Mon, 6 Aug 2018 15:47:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 307F2335CF1 for ; Mon, 6 Aug 2018 15:47:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B90E377 for ; Mon, 6 Aug 2018 15:47:21 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1533570373.abfa5347c25d4c90954d25799a402bb980ddc565.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clion/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/clion/Manifest dev-util/clion/clion-2018.2.ebuild X-VCS-Directories: dev-util/clion/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: abfa5347c25d4c90954d25799a402bb980ddc565 X-VCS-Branch: master Date: Mon, 6 Aug 2018 15:47:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 173afc34-7763-444f-87d7-899c0f454157 X-Archives-Hash: 2885a3351555a6c7656693dbaa802dd8 commit: abfa5347c25d4c90954d25799a402bb980ddc565 Author: Christian Strahl gmail com> AuthorDate: Sat Apr 14 08:48:15 2018 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Mon Aug 6 15:46:13 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfa5347 dev-util/clion: version bump to 2018.2 Closes: https://bugs.gentoo.org/653952 Closes: https://bugs.gentoo.org/659070 Closes: https://github.com/gentoo/gentoo/pull/9356 Package-Manager: 2.3.40-r1, Repoman-2.3.9 dev-util/clion/Manifest | 1 + dev-util/clion/clion-2018.2.ebuild | 59 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest index dea3a001311..b2ee33de599 100644 --- a/dev-util/clion/Manifest +++ b/dev-util/clion/Manifest @@ -1,2 +1,3 @@ DIST clion-2017.3.4.tar.gz 331195446 BLAKE2B 5d868de5b1d97a80dd2d63977dfda8d3ab56840c95e4cdba5b8e55cf626dbd68e1015fd8dae664dbdf8161853a96a492ce43a78e0e6bd13138144d28e1146f78 SHA512 044e713e2ab3724b891b48a1d75936dce1580be0fded174101f768f6976f76f2557768128fd596cc8855c15f27dbd9a1e9d4299b947ad00ca458c537d81fd0b8 DIST clion-2018.1.tar.gz 333789580 BLAKE2B 026ebe63049f3b80c2924079092707379d07fa838b532b7e191ee5fbc66dfa50dbc97ad78cbafd6794f99bc29ce66f4d54882d0bbc1339e08a2f35bd5f195bc5 SHA512 ac95b5d346f077ab26882ff4c0f71420c6fcd0a929aa33c60b427d0a10839bec3a2e5363d8cd18d9e2d6988da17dd0deacd9fd3b3c5f0619c9925acf263f56bd +DIST clion-2018.2.tar.gz 456219123 BLAKE2B 1cb719596568b7208658f01c9495b2948490c2f27f9d3eec6bb652d65e60374232b286b6fc889510c88855cfdd890c516e268c783b1d3ae5e54c42fbd68c047e SHA512 ce21c94e89c7966784a4ebe07c2324cf674187e67eb9362af9bcd6a299b1ef69f45c8b95f91db244db4a2a70e72d849a752741b2c9730477df35f09ab13ab807 diff --git a/dev-util/clion/clion-2018.2.ebuild b/dev-util/clion/clion-2018.2.ebuild new file mode 100644 index 00000000000..803c11d46cf --- /dev/null +++ b/dev-util/clion/clion-2018.2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" + +# RDEPENDS may cause false positives in repoman. +# clion requires cmake and gdb at runtime to build and debug C/C++ projects +RDEPEND=" + sys-devel/gdb + dev-util/cmake" + +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 ) + + 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}} + + 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 +}