diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-03-05 09:16:13 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-03-05 11:25:53 +0000 |
commit | 7ede02eb717eca3c4a3f9b1ea7ca1cc7305499a7 (patch) | |
tree | e52b89bdbda35abc313330e731b86e7d9e650695 /dev-util | |
parent | dev-ml/pxp: bump to 1.2.8 (diff) | |
parent | dev-util/idea-ultimate: Version bump (diff) | |
download | gentoo-7ede02eb717eca3c4a3f9b1ea7ca1cc7305499a7.tar.gz gentoo-7ede02eb717eca3c4a3f9b1ea7ca1cc7305499a7.tar.bz2 gentoo-7ede02eb717eca3c4a3f9b1ea7ca1cc7305499a7.zip |
Merge github#977: dev-util/idea-ultimate: Version bump.
Pull-Request: https://github.com/gentoo/gentoo/pull/977
Reporter: Gert <pellingert@gmail.com>
Acked-by: Matthew Brewer <tomboy64@sina.cn>
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/idea-ultimate/Manifest | 3 | ||||
-rw-r--r-- | dev-util/idea-ultimate/idea-ultimate-14.1.5.141.3056.5.ebuild | 55 | ||||
-rw-r--r-- | dev-util/idea-ultimate/idea-ultimate-16.0.0.145.184.1_pre.ebuild | 73 |
3 files changed, 131 insertions, 0 deletions
diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest index e973f2237479..0690d60f77d2 100644 --- a/dev-util/idea-ultimate/Manifest +++ b/dev-util/idea-ultimate/Manifest @@ -1,5 +1,8 @@ DIST idea-ultimate-14.1.5.141.2735.5.tar.gz 318054935 SHA256 6912902ec97a57f5553247367d6dd5b8e3041e99faf32c48b672cd31413dab73 SHA512 7ab3a45593c2324957455b254ae0257a36e8ecbc63014e18feba813413432dccb25d18971840f43cf22174c3338738eec44304091eb30c6ba2d0119b73cc6fa0 WHIRLPOOL 44a4bef99fdb638cf3cb0f24559b7765b7a4c7cb94aed5c3b8e503cbdf9fa1354f6d6026a9650fc58faec037b95482190891681f41219c61fc7d67a40e71f168 +DIST idea-ultimate-14.1.5.141.3056.5.tar.gz 318054935 SHA256 6912902ec97a57f5553247367d6dd5b8e3041e99faf32c48b672cd31413dab73 SHA512 7ab3a45593c2324957455b254ae0257a36e8ecbc63014e18feba813413432dccb25d18971840f43cf22174c3338738eec44304091eb30c6ba2d0119b73cc6fa0 WHIRLPOOL 44a4bef99fdb638cf3cb0f24559b7765b7a4c7cb94aed5c3b8e503cbdf9fa1354f6d6026a9650fc58faec037b95482190891681f41219c61fc7d67a40e71f168 DIST ideaIU-143.1821.5.tar.gz 392844742 SHA256 90c2a880c03bc1213c41be05e56d50a5104175e2589e492ba140987b94d8680b SHA512 0841c3ea509500949358f826405d5c62d84f51657ce4ad621d3b33100a1966d8d85b793286cd4b85c6d2d6d0ca99c4b6a2f84cf5d596538cf530abf73fe8be21 WHIRLPOOL d59367e7671121619d0f787f585a4be436027e4ff39f10849566e441b407295166131cda8af506a7ecf5c34c21231bedd1419c4ee1e2657a38fa3b70a6b424dc DIST ideaIU-143.2287.1.tar.gz 395915812 SHA256 c4365098055f492483204742626b77d6005f559bba2bb46ec161aa9ce7f12610 SHA512 ccf1191b1b94c8374f7abd3014970f6c85c0284e6bec43b0aafaa06bdb2c0e384c6681436d5b67714429fe9af9e2724123a39e674703055bd715608a91900327 WHIRLPOOL 7b9a7af5a380f5e6166e811f27750ea00b88e475f9e3a89421688e7cf0cf9c50dd63a66a70bf70d935aeadb66abca6308eb4da3fc287ed7aabfd9b325b6b4bad DIST ideaIU-144.3143.6-custom-jdk-linux.tar.gz 444026233 SHA256 7d43fef31ec373fa700c1bcf6408429abf5549314f134e458335f52feb44772b SHA512 86ef4f9d89184acfcbaee8fbce67be8e226ab363df9892f803bb61fe61c50972bcf1ec260c9a9652998fc3f73cc72311950df3ae23bf01ae4a45336b7830ca01 WHIRLPOOL 9dee3db866fa55f2ddd3fa28120def4455ff4e7bc0a3a86289c6cb46f7a8a48c5fa0c6e9f35753b52cf66848831c3de2540d41673239130529c8848dba914aa6 DIST ideaIU-144.3143.6-no-jdk.tar.gz 399209252 SHA256 c11de6c199c90873976958c4e319176647fb4458370a041b8611007277a057d3 SHA512 6c4b8224901be58b0d41ca59dc6d8215510617470ed15b25c9d84074d4f660e335d6bb450062e353df3bb217a4892eb8783fc9086d2f4e4addada5aa7c5c7e85 WHIRLPOOL 2ea6bfc95c47fb20008c6503a2158a5a6d677e072cb9db41fba198d4dfda0df57db784b3289ecccd64849d1dc59fdb0f3b35aa3490323a7f40df383547cf940f +DIST ideaIU-145.184.1-no-jdk.tar.gz 404208089 SHA256 95c9e116e090050676641dab9c00bfb3e04c690ea05346c4a1fdfeb15c773315 SHA512 32702e36f6a4b8ade2cf944dbcaf3da5031fc29c61c65a82361ad582d05ed735dbd1d1b8861e85d9ae27e758cb2e7747be0103719d0a8cf59cacaa74e12cba07 WHIRLPOOL 2097058d595e191bb52365a0094f2d43af1fd06c97724265d7bf0e334cb07b9de3005d269bc290d3b54aac9327f82a3d0e487371e1001c642e574ebbf2d996f3 +DIST ideaIU-145.184.1.tar.gz 449217363 SHA256 a434ef20468f5349dc8ebb6e21cd8710bb61014c2398df6c2636d040c5bd94bf SHA512 750b57c07b308466e9a05713e765e51b00f60213b88578c34dcec6786350a3100893fc23ca7c50b29cc90cf245ea23a5184b7371e09e63bb1f03cdf5ea5506c8 WHIRLPOOL b60ab29d8a792b7c53802e3af56b884f74976caab4f83e0cf887024d729a3087b8c7f653d98a04375066bf07b9bccf4122e60a4bcd856e66512eb94f6b7b4aac diff --git a/dev-util/idea-ultimate/idea-ultimate-14.1.5.141.3056.5.ebuild b/dev-util/idea-ultimate/idea-ultimate-14.1.5.141.3056.5.ebuild new file mode 100644 index 000000000000..f98f0e573093 --- /dev/null +++ b/dev-util/idea-ultimate/idea-ultimate-14.1.5.141.3056.5.ebuild @@ -0,0 +1,55 @@ +# 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)" # Always name EAP-versions with '_pre' for clarity! +MY_PV="$(get_version_component_range 1-3)" +MY_PN="idea" + +DESCRIPTION="A complete toolset for web, mobile and enterprise development" +HOMEPAGE="http://www.jetbrains.com/idea" +SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz -> ${P}.tar.gz" + +LICENSE="IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal" +IUSE="" +KEYWORDS="~amd64 ~x86" # No keywords for EAP versions. Code quality sucks. + +DEPEND="!dev-util/${PN}:14 + !dev-util/${PN}:15" +RDEPEND="${DEPEND} + >=virtual/jdk-1.7" +S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}" + +QA_TEXTRELS="opt/${PN}-${MY_PV}/bin/libbreakgen.so" +QA_PRESTRIPPED="opt/${PN}-${MY_PV}/lib/libpty/linux/x86/libpty.so + opt/${PN}-${MY_PV}/lib/libpty/linux/x86_64/libpty.so + opt/${PN}-${MY_PV}/bin/libyjpagent-linux.so + opt/${PN}-${MY_PV}/bin/libyjpagent-linux64.so" + +src_install() { + local dir="/opt/${PN}-${MY_PV}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}} + + make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + mkdir -p "${D}/etc/sysctl.d/" + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" +} + +pkg_postinst() { + if [[ "$(get_version_component_range 7)x" = "prex" ]] + then + ewarn "Be aware, this is a release from their EAP. According to JetBrains, the code" + ewarn "quality of such releases may be considerably below of what you might usually" + ewarn "be used to from beta releases." + ewarn "Don't use it for critical tasks. You have been warned." + fi +} diff --git a/dev-util/idea-ultimate/idea-ultimate-16.0.0.145.184.1_pre.ebuild b/dev-util/idea-ultimate/idea-ultimate-16.0.0.145.184.1_pre.ebuild new file mode 100644 index 000000000000..b5f96c74c4e0 --- /dev/null +++ b/dev-util/idea-ultimate/idea-ultimate-16.0.0.145.184.1_pre.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)" +MY_PN="idea" + +# distinguish settings for official stable releases and EAP-version releases +if [[ "$(get_version_component_range 7)x" = "prex" ]] +then + # upstream EAP + KEYWORDS="~amd64 ~x86" + SRC_URI="custom-jdk? ( http://download.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz ) + !custom-jdk? ( http://download.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}-no-jdk.tar.gz )" +else + # upstream stable + KEYWORDS="amd64 x86" + SRC_URI="http://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz -> ${MY_PN}IU-${PV_STRING}.tar.gz" +fi + +DESCRIPTION="A complete toolset for web, mobile and enterprise development" +HOMEPAGE="http://www.jetbrains.com/idea" + +LICENSE="IDEA + || ( IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal )" +IUSE="-custom-jdk" + +DEPEND="!dev-util/${PN}:14 + !dev-util/${PN}:15" +RDEPEND="${DEPEND} + >=virtual/jdk-1.7:*" +S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}" + +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 + rm -r plugins/tfsIntegration/lib/native/solaris || die + rm -r plugins/tfsIntegration/lib/native/hpux || die +} + +src_install() { + local dir="/opt/${PN}-${MY_PV}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{idea.sh,fsnotifier{,64}} + + make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh" + newicon "bin/${MY_PN}.png" "${PN}.png" + make_desktop_entry "${PN}" "IntelliJ Idea Ultimate" "${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 +} |