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 429ED138334 for ; Fri, 15 Feb 2019 23:13:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3B92CE088C; Fri, 15 Feb 2019 23:13:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 ED8B6E088C for ; Fri, 15 Feb 2019 23:13:02 +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 EB0D9335CEC for ; Fri, 15 Feb 2019 23:12:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FD42544 for ; Fri, 15 Feb 2019 23:12:36 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1550272348.ecbf3112d44b0f8b28be434138400aef03aa2d73.monsieurp@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.3.4.ebuild X-VCS-Directories: dev-util/clion/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: ecbf3112d44b0f8b28be434138400aef03aa2d73 X-VCS-Branch: master Date: Fri, 15 Feb 2019 23:12:36 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 11c83e9b-d3de-4991-93b1-6f52fc4cb3aa X-Archives-Hash: 68b4d200d9c9c3823900231b99865df8 commit: ecbf3112d44b0f8b28be434138400aef03aa2d73 Author: Christian Strahl eppendorf de> AuthorDate: Fri Feb 15 11:48:44 2019 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Feb 15 23:12:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecbf3112 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 gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11058 Signed-off-by: Patrice Clement gentoo.org> dev-util/clion/Manifest | 1 + dev-util/clion/clion-2018.3.4.ebuild | 70 ++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest index d80302567fe..665c77b0e7c 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 00000000000..8ad83a90304 --- /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 +}