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 10795139695 for ; Thu, 13 Apr 2017 13:12:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1E13E0CB9; Thu, 13 Apr 2017 13:12:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF033E0CB9 for ; Thu, 13 Apr 2017 13:12: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 7D783340A23 for ; Thu, 13 Apr 2017 13:12:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7F2787429 for ; Thu, 13 Apr 2017 13:12:18 +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: <1492089134.d65a89a3d2ac77802a27e5a4950322824253c97f.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/clion/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/clion/clion-2017.1-r1.ebuild X-VCS-Directories: dev-util/clion/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: d65a89a3d2ac77802a27e5a4950322824253c97f X-VCS-Branch: master Date: Thu, 13 Apr 2017 13:12:18 +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: d0a41281-7885-416a-b458-e271d64cd154 X-Archives-Hash: c097fe39b71860a7e23d37eb6cc843bc commit: d65a89a3d2ac77802a27e5a4950322824253c97f Author: Patrice Clement gentoo org> AuthorDate: Thu Apr 13 13:11:55 2017 +0000 Commit: Patrice Clement gentoo org> CommitDate: Thu Apr 13 13:12:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d65a89a3 dev-util/clion: EAPI 6 bump. Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-util/clion/clion-2017.1-r1.ebuild | 63 +++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/dev-util/clion/clion-2017.1-r1.ebuild b/dev-util/clion/clion-2017.1-r1.ebuild new file mode 100644 index 00000000000..476a15ca93e --- /dev/null +++ b/dev-util/clion/clion-2017.1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils versionator + +SLOT="0" +PV_STRING="$(get_version_component_range 4-6)" +MY_PV="$(get_version_component_range 1-3)" + +SRC_URI="http://download.jetbrains.com/cpp/CLion-${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" +DESCRIPTION="A complete toolset for C and C++ development" +HOMEPAGE="http://www.jetbrains.com/clion" + +KEYWORDS="~amd64 ~x86" +LICENSE="IDEA + || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" + +RDEPEND=" + ${DEPEND} + sys-devel/gdb + dev-util/cmake" + +S="${WORKDIR}/${PN}-${MY_PV}" + +QA_PREBUILT="opt/${PN}-${MY_PV}/*" + +src_prepare() { + default + + local remove_me=( + bin/gdb + bin/cmake + license/GDB* + 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/${PN}-${MY_PV}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{clion.sh,fsnotifier{,64}} + + 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 + mkdir -p "${D}/etc/sysctl.d/" || die + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die +}