diff options
author | Ivan Larkou <larkou.ivan@yandex.ru> | 2018-12-09 19:52:20 +0300 |
---|---|---|
committer | Alice Ferrazzi <alicef@gentoo.org> | 2018-12-11 03:15:05 +0000 |
commit | e934cb40b2b344e8fac514473b6855a47bb7d96d (patch) | |
tree | 8377ecfc73295a822ac086fe241b48595606feca /dev-util/idea-community | |
parent | sys-kernel/rt-sources: remove old (diff) | |
download | gentoo-e934cb40b2b344e8fac514473b6855a47bb7d96d.tar.gz gentoo-e934cb40b2b344e8fac514473b6855a47bb7d96d.tar.bz2 gentoo-e934cb40b2b344e8fac514473b6855a47bb7d96d.zip |
dev-util/idea-community: Version bump to 2018.03.01
Signed-off-by: Ivan Larkou <larkou.ivan@yandex.ru>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10596
Signed-off-by: Alice Ferrazzi <alicef@gentoo.org>
Diffstat (limited to 'dev-util/idea-community')
-rw-r--r-- | dev-util/idea-community/Manifest | 1 | ||||
-rw-r--r-- | dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest index 42ea4e3f1f3d..6f56feeb5326 100644 --- a/dev-util/idea-community/Manifest +++ b/dev-util/idea-community/Manifest @@ -1 +1,2 @@ DIST ideaIC-172.3757.52.tar.gz 442963100 BLAKE2B e44f924e279a5b8f2bddbe65cffa24306920fa0f5b85e23b823b1e51fd49e2de2c8953a010b66ea325c4b70ae60268639293b67cd6116f4315ded5e5f6130da1 SHA512 a0178c5ef10aeab527bb8064840c53fff97bf9be468a4e5248b83dba96c5114878f5ff1e20436a67ee488580affa3fb3a2ea627407ed57b87949f64fc1a215d2 +DIST ideaIC-183.4588.61.tar.gz 541751086 BLAKE2B 51a5a4dae10d8fd00a0c239f87af3d53b86ffa50f7f9c4f1554265b349d866d60a8994a96f184cc9993fafe12de3dbfa77e3931626436a5f3d3854710b52fb9e SHA512 3e5956353fc0fabbe91b3a946e83b0b3229766a366fdf782c4c017acd7de5a86b3e0cc870a17abe2bdb8b090cb5c58b6c170555f60ba5e6a9a8198073545be87 diff --git a/dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild b/dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild new file mode 100644 index 000000000000..cc1ffa36d7ae --- /dev/null +++ b/dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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="" + SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${PV_STRING}.tar.gz" +else + # upstream stable + KEYWORDS="~amd64 ~x86" + SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${MY_PV}.tar.gz -> ${MY_PN}IC-${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 )" +IUSE="-custom-jdk" + +DEPEND="!dev-util/${PN}:14 + !dev-util/${PN}:15" +RDEPEND="${DEPEND} + >=virtual/jdk-1.7:*" +S="${WORKDIR}/${MY_PN}-IC-${PV_STRING}" + +QA_PREBUILT="opt/${PN}-${MY_PV}/*" + +src_prepare() { + if ! use arm; then + rm bin/fsnotifier-arm || die + fi + if ! use custom-jdk; then + if [[ -d jre ]]; then + rm -r jre || die + fi + fi +} + +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 Community" "${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 +} |