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 48C0B13832E for ; Thu, 11 Aug 2016 08:35:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44083E0B6A; Thu, 11 Aug 2016 08:35:42 +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 C304AE0B6A for ; Thu, 11 Aug 2016 08:35:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 38AA5340AA1 for ; Thu, 11 Aug 2016 08:35:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF34E8DE for ; Thu, 11 Aug 2016 08:35:37 +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: <1470904533.891e0f0a6235116176ccb7d5d7c0f435396cf2d8.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-2016.2.1.ebuild X-VCS-Directories: dev-util/clion/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 891e0f0a6235116176ccb7d5d7c0f435396cf2d8 X-VCS-Branch: master Date: Thu, 11 Aug 2016 08:35:37 +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: 2c99b9e8-5f8f-40a2-915a-9000f65cd0bd X-Archives-Hash: 3f8a0d5a824153fe53db7ba3cdb9631c commit: 891e0f0a6235116176ccb7d5d7c0f435396cf2d8 Author: Patrice Clement gentoo org> AuthorDate: Thu Aug 11 08:34:52 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Thu Aug 11 08:35:33 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=891e0f0a dev-util/clion: version bump to 2016.2.1. Courtesy of Christian Strahl gmail.com>. Gentoo-Bug: https://bugs.gentoo.org/586782 Package-Manager: portage-2.2.28 dev-util/clion/Manifest | 1 + dev-util/clion/clion-2016.2.1.ebuild | 73 ++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest index 09ef998..8a66ef6 100644 --- a/dev-util/clion/Manifest +++ b/dev-util/clion/Manifest @@ -1 +1,2 @@ DIST clion-143.1186.tar.gz 220702330 SHA256 a2d6960afbfae77f59481c5ad30bc7c5afe9451bdf9d12cd9435f605b57b522b SHA512 d4ea1bad5f3da3bab569380114011798c29e633009867c8020363c9af72326ebaa3232dff9c931a67dd0a0195bf4903647e250963c7aeebe9ad83340c988cbad WHIRLPOOL 2a0855b6a32a5e23a1c7266d7a3dc00ad3ba905c5a8fa6d1e9959d6d4f67c73d35c94bfbe0837fde0d1736bd48dcb9212a219cfa81732cb169abdb1fb5dc4dd7 +DIST clion-2016.2.1.tar.gz 287103613 SHA256 444f760740811d0bb135cdd7d1d3a559b4d3247cdabf4eb9f77a21eea8c74805 SHA512 a4734c1b5d544cb7f6bd4752f5853d3c44e123e8ad8584b76098ef51a00261350d49bdd628d08c171f7c04b77862e8f28b5d8f16813c282542f83a16100c7415 WHIRLPOOL 83737f1677fff6870fd4dd717d54126f6680ec7c4966bc4b89f300e1fd327a431a13ceb6b04a52287c89813a7bb0e86ebaddf5c98f0330d595314c465d4a9534 diff --git a/dev-util/clion/clion-2016.2.1.ebuild b/dev-util/clion/clion-2016.2.1.ebuild new file mode 100644 index 0000000..8061d4e --- /dev/null +++ b/dev-util/clion/clion-2016.2.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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 )" + +IUSE="" + +RDEPEND=" + ${DEPEND} + sys-devel/gdb + dev-util/cmake" + +S="${WORKDIR}/${PN}-${MY_PV}" + +QA_PREBUILT="opt/${PN}-${MY_PV}/*" + +src_prepare() { + if ! use amd64; then + rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die + fi + if ! use arm; then + rm bin/fsnotifier-arm || die + rm -r plugins/tfsIntegration/lib/native/linux/arm || die + fi + if ! use ppc; then + rm -r plugins/tfsIntegration/lib/native/linux/ppc || die + fi + if ! use x86; then + rm -r plugins/tfsIntegration/lib/native/linux/x86 || die + fi + + local REMOVE_ME=( + bin/gdb + bin/cmake + license/GDB* + license/CMake* + plugins/tfsIntegration/lib/native/hpux + plugins/tfsIntegration/lib/native/solaris + ) + + rm -r "${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 +}