diff options
author | Daniel Solano Gómez <daniel@solanogomez.org> | 2018-04-18 15:45:20 -0500 |
---|---|---|
committer | Daniel Solano Gómez <daniel@solanogomez.org> | 2018-04-18 15:45:20 -0500 |
commit | c06145de9b97044628b0799eb73542791b9d64a0 (patch) | |
tree | 668cc6913e28e86ed61fa81cb9e7213469f3b544 | |
parent | Add tarsnap-1.0.39 (diff) | |
download | sattvik-c06145de9b97044628b0799eb73542791b9d64a0.tar.gz sattvik-c06145de9b97044628b0799eb73542791b9d64a0.tar.bz2 sattvik-c06145de9b97044628b0799eb73542791b9d64a0.zip |
Add dev-util/idea-ultimate-2018.1.1
-rw-r--r-- | dev-util/idea-ultimate/Manifest | 4 | ||||
-rw-r--r-- | dev-util/idea-ultimate/idea-ultimate-2018.1.1.181.4445.78.ebuild | 92 | ||||
-rw-r--r-- | dev-util/idea-ultimate/metadata.xml | 14 |
3 files changed, 110 insertions, 0 deletions
diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest new file mode 100644 index 0000000..5446fba --- /dev/null +++ b/dev-util/idea-ultimate/Manifest @@ -0,0 +1,4 @@ +DIST ideaIU-181.4445.78-no-jdk.tar.gz 593654001 BLAKE2B 1666ec049468d9aaf9f3625dfce9647c220032f58b7f0a15857e39392c401998a72dcc740424ef5bf566f29eebdd08e6361dcee3b654f9a80b302a1426e9c05b SHA512 cae379bccd3cdb38adb2ff2f14b7e3e076c7d05de61a4b4d30fea686dc6373fd8995115240bd64c5925dafb2cb8ddf4ad3fc5935b09c555adc476c7f0c562a4a +DIST ideaIU-181.4445.78.tar.gz 667175317 BLAKE2B aad2d16febe059b051ab1a10ea0d567635ec6f811a9eb0577d5beb3bdf451b63631a12165526700962afd5d150a5eca52e9faafa937f94096593fb31eb4cdb3f SHA512 3a336b43044a9180c6fc422fbc64b2b3c37664858caa85891e6551683342e03cc43de95bca09e584e95b8ddbc3dc944fe5a37858ce1d9344c33af13026d7d14e +EBUILD idea-ultimate-2018.1.1.181.4445.78.ebuild 2846 BLAKE2B decf62c20a3f7e485a8922c7eea857b7199e6ac683ce4dcd777e1a207642a12e20b44fc0c874d64195a6e22979f3318e9db98872ecae202c70469682c0c72c24 SHA512 5c866da03c70e4e337dd184be889ae1ba5839c94cb4d41540ebc8b0f482d525f0161560ecae8ce98a330cd2239430e9cf795249588e5e168fdeed8d3654ff33f +MISC metadata.xml 535 BLAKE2B 60d09c4839b751d9c6a7ea683ea541ca962d6360bb96526075ff4cc941796cb5ca082834dc81926133533c96b791ba57257c09c4caead13775079242df717b54 SHA512 a01da16279cb79d0b6a0b806bdf78f1030877ab491de95461c5d27ee6c1c8565a580cba03dcbed836e438be9c7a94ea5958c91383cce1e40398622435f86bfe8 diff --git a/dev-util/idea-ultimate/idea-ultimate-2018.1.1.181.4445.78.ebuild b/dev-util/idea-ultimate/idea-ultimate-2018.1.1.181.4445.78.ebuild new file mode 100644 index 0000000..991d854 --- /dev/null +++ b/dev-util/idea-ultimate/idea-ultimate-2018.1.1.181.4445.78.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2018 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)" +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="" + SRC_URI=" + !custom-jdk? ( https://download-cf.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}-no-jdk.tar.gz ) + custom-jdk? ( https://download-cf.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz ) + " +else + # upstream stable + KEYWORDS="~amd64 ~x86" + SRC_URI=" + !custom-jdk? ( https://download-cf.jetbrains.com/idea/${MY_PN}IU-${MY_PV}-no-jdk.tar.gz -> ${MY_PN}IU-${PV_STRING}-no-jdk.tar.gz ) + custom-jdk? ( https://download-cf.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="https://www.jetbrains.com/idea" + +LICENSE="|| ( IDEA IDEA_Academic IDEA_Classroom IDEA_OpenSource IDEA_Personal ) +INRIA EPL-1.0 EPL-2.0 Growl Apache-1.1 Apache-2.0 Javolution CDDL-1.1 The_Werken_Company +Brett_McLaughlin_and_Jason_Hunter Nathan_Sweet Michael_Baranov MiG_InfoCom_AB NanoContainer_Organization sun-bcla +LGPL-2.1+ MIT BSD" + +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() { + eapply_user + 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 + if ! use custom-jdk; then + if [[ -d jre ]]; then + rm -r jre || die + fi + 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}} + + if use custom-jdk; then + if [[ -d jre ]]; then + fperms 755 "${dir}"/jre/jre/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200} + fi + fi + + 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 +} diff --git a/dev-util/idea-ultimate/metadata.xml b/dev-util/idea-ultimate/metadata.xml new file mode 100644 index 0000000..a6968e8 --- /dev/null +++ b/dev-util/idea-ultimate/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>alicef@gentoo.org</email> + <name>Ferrazzi Alice</name> +</maintainer> +<longdescription lang="en"> + Excel at enterprise, mobile and web development with Java, Scala and Groovy, with all the latest modern technologies and frameworks available out of the box. +</longdescription> +<use> + <flag name="custom-jdk">Install and use IntelliJ's custom JRE.</flag> +</use> +</pkgmetadata> |