summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Strahl <c.a.strahl@gmail.com>2017-05-21 18:50:50 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-21 20:53:05 +0200
commit5d5fd96cf9f2a084d8bd4c5a92e2f46e38383cc7 (patch)
treedc95fa31ed4efc12e7ae42cae0b00bbe0da09742 /dev-util/clion
parentdev-python/jira: add dev-python/requests-toolbelt to RDEPEND in 1.0.10 (bug #... (diff)
downloadgentoo-5d5fd96cf9f2a084d8bd4c5a92e2f46e38383cc7.tar.gz
gentoo-5d5fd96cf9f2a084d8bd4c5a92e2f46e38383cc7.tar.bz2
gentoo-5d5fd96cf9f2a084d8bd4c5a92e2f46e38383cc7.zip
dev-util/clion: version bump to 2017.1.2
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-util/clion')
-rw-r--r--dev-util/clion/Manifest1
-rw-r--r--dev-util/clion/clion-2017.1.2.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-util/clion/Manifest b/dev-util/clion/Manifest
index d847bffddc49..e3f508260902 100644
--- a/dev-util/clion/Manifest
+++ b/dev-util/clion/Manifest
@@ -1,3 +1,4 @@
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
DIST clion-2017.1.1.tar.gz 294574159 SHA256 9abd6bd38801ae6cf29db2cd133c700e8da11841093de872312fe33ed51309ae SHA512 a8304dd101a4d069209870086fee13b91ea57667509e3267744670e13c1c1a7e7bf296c93f24a1cffe44d6d02c87524236a17e2c40aa22d3fc8c46e462fbbc35 WHIRLPOOL f262a5998b4be35333c636f746c6facd181f84d4c360198a94b53e89cabf559714ddcf2397c6d11bc655f1b22b433933e483063832cc1f4d8c0b45b66dccf0d8
+DIST clion-2017.1.2.tar.gz 294894181 SHA256 90a8f53fce2230a91b8f6b2ac19f1cd8a857c29f2afb7b4b105bcfbc8fc24816 SHA512 56fb3d27c2e7ad7eb19e021c3eeb75485af51deaf861eb5bfd8247e6d2e7e0114855cf86df8021ddea37994e478ed4b681988626a847345efb58edb5cdbaba69 WHIRLPOOL ac34620e7e6466cd22e40bec0427310c52e74be12cfaa9f1e7266c021ea3b4146ac95a7aa0c458ec98e8c1c9f5845c30da72fc9f967987259620bf93c6a6091b
diff --git a/dev-util/clion/clion-2017.1.2.ebuild b/dev-util/clion/clion-2017.1.2.ebuild
new file mode 100644
index 000000000000..27dd8130724e
--- /dev/null
+++ b/dev-util/clion/clion-2017.1.2.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
+}