summaryrefslogtreecommitdiff
path: root/dev-util/idea-community
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/idea-community')
-rw-r--r--dev-util/idea-community/Manifest6
-rw-r--r--dev-util/idea-community/idea-community-2017.2.2.172.3757.52-r1.ebuild (renamed from dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild)14
-rw-r--r--dev-util/idea-community/idea-community-2018.3.1.183.4588.61-r1.ebuild (renamed from dev-util/idea-community/idea-community-2017.2.2.172.3757.52.ebuild)14
-rw-r--r--dev-util/idea-community/idea-community-2018.3.3.183.5153.38.ebuild70
4 files changed, 88 insertions, 16 deletions
diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest
index 44f778eea62f..003cefd20ecd 100644
--- a/dev-util/idea-community/Manifest
+++ b/dev-util/idea-community/Manifest
@@ -1,5 +1,7 @@
DIST ideaIC-172.3757.52.tar.gz 442963100 BLAKE2B e44f924e279a5b8f2bddbe65cffa24306920fa0f5b85e23b823b1e51fd49e2de2c8953a010b66ea325c4b70ae60268639293b67cd6116f4315ded5e5f6130da1 SHA512 a0178c5ef10aeab527bb8064840c53fff97bf9be468a4e5248b83dba96c5114878f5ff1e20436a67ee488580affa3fb3a2ea627407ed57b87949f64fc1a215d2
DIST ideaIC-183.4588.61.tar.gz 541751086 BLAKE2B 51a5a4dae10d8fd00a0c239f87af3d53b86ffa50f7f9c4f1554265b349d866d60a8994a96f184cc9993fafe12de3dbfa77e3931626436a5f3d3854710b52fb9e SHA512 3e5956353fc0fabbe91b3a946e83b0b3229766a366fdf782c4c017acd7de5a86b3e0cc870a17abe2bdb8b090cb5c58b6c170555f60ba5e6a9a8198073545be87
-EBUILD idea-community-2017.2.2.172.3757.52.ebuild 1918 BLAKE2B b7fc3cb59edf859c51d9fa674ebfcbbcf3f88399f3f041f792930b98978edb0caaf59c576333bfa9eed5b5735666cbfea6562c1464f96d597658c04685cbb8e5 SHA512 53ff12fab08f75925e1627e8400c27a7868e0dfb2a157b0f10b0feea34222f3e71e0eb3af274db1e3aa4a24ee96e15a8e11adc4bf083ac8fe4cf1673a8272dca
-EBUILD idea-community-2018.3.1.183.4588.61.ebuild 1915 BLAKE2B b30df4353a74ad65d597026140b3d6d7e6ef2da3182ff800f84c33af87f6f758cc3a7424ac354df6804aa46683eb6a3db2818993e46389354aca57041cdbff76 SHA512 a195e09938cb1ca9126b31be4d645074dc00049cff5e2f0eab5d1867d0da3c8f991e6d1747781c904b9928fd7dec9171c857cc2bc3679b7a54a1358b53f817b6
+DIST ideaIC-183.5153.38.tar.gz 541754349 BLAKE2B 541054736db09c8f0106d5588b224d3033ec21a1e2b566fbc95300fafd39acae5c7f6755082bdb189c5619ed5375ea9fc3e777440d30523a84f864be29e5ad85 SHA512 0bb213da8bffda7d63fa29905d01ee36c3839249dd6e2a58b3941e4317a01bd9315e8bf639f088657938c8197eb2f05fc34fb3e0c49f8c243043cb03f8443f0f
+EBUILD idea-community-2017.2.2.172.3757.52-r1.ebuild 1881 BLAKE2B 00ede33b80b65b56cf716c76236590e470a24ada2ce6ac6350c09c3e7bcf8f478b79e671fa000e8bcd35b280b1fd25914017cba43e50cdeaa9a1e1b81aaa03dd SHA512 69b217495ba22e12ed6cb5bb753ae0d7357c8eb7311f1faf511c7fb9c5cd07b6cd6baab51d957e44c926f8a1010860010d1913655fa6cd6fec1767aaa00d5e26
+EBUILD idea-community-2018.3.1.183.4588.61-r1.ebuild 1881 BLAKE2B 00ede33b80b65b56cf716c76236590e470a24ada2ce6ac6350c09c3e7bcf8f478b79e671fa000e8bcd35b280b1fd25914017cba43e50cdeaa9a1e1b81aaa03dd SHA512 69b217495ba22e12ed6cb5bb753ae0d7357c8eb7311f1faf511c7fb9c5cd07b6cd6baab51d957e44c926f8a1010860010d1913655fa6cd6fec1767aaa00d5e26
+EBUILD idea-community-2018.3.3.183.5153.38.ebuild 1874 BLAKE2B 4934885f97219f27dcce193cbf7a59c2e48f7eb4921f57d048e6c595823c48b7a99ba832612cc3f32044366e6dcf3a21d20e82a95da7d1ca556b89ac0e6947ee SHA512 884d0ceccf5a93568d9eb5af2f5115d7c8c882d4515e69686336a91d0bd0a6fb5393f1a3845b91189130beb6b9ca45ba7ae4f171a3075bd0efb35b4aa892b47d
MISC metadata.xml 533 BLAKE2B 1c711c1c3f3527e91ac205b74abb70a8c163abe5a289837ed2a70dd7a37f510c3dae3e37d8540dad6bfa5d7fb7c82d7070df3dfd7e9ea0b1c85745d3eb66bd75 SHA512 b14bce0b72eb777929138e64a53b0069faf51ec4f1d8b3dbb24a9f2d7f9baf68d5e495e784c83c34c1190d52aea16de52485a815786de235091b75f2778d5e23
diff --git a/dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild b/dev-util/idea-community/idea-community-2017.2.2.172.3757.52-r1.ebuild
index cc1ffa36d7ae..bfb9c749e703 100644
--- a/dev-util/idea-community/idea-community-2018.3.1.183.4588.61.ebuild
+++ b/dev-util/idea-community/idea-community-2017.2.2.172.3757.52-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -24,8 +24,8 @@ 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 )"
+LICENSE="Apache-2.0
+ custom-jdk? ( GPL-2 )"
IUSE="-custom-jdk"
DEPEND="!dev-util/${PN}:14
@@ -41,8 +41,8 @@ src_prepare() {
rm bin/fsnotifier-arm || die
fi
if ! use custom-jdk; then
- if [[ -d jre ]]; then
- rm -r jre || die
+ if [[ -d jre64 ]]; then
+ rm -r jre64 || die
fi
fi
}
@@ -55,8 +55,8 @@ src_install() {
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}
+ if [[ -d jre64 ]]; then
+ fperms 755 "${dir}"/jre64/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200}
fi
fi
diff --git a/dev-util/idea-community/idea-community-2017.2.2.172.3757.52.ebuild b/dev-util/idea-community/idea-community-2018.3.1.183.4588.61-r1.ebuild
index a4f2eb0c7987..bfb9c749e703 100644
--- a/dev-util/idea-community/idea-community-2017.2.2.172.3757.52.ebuild
+++ b/dev-util/idea-community/idea-community-2018.3.1.183.4588.61-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -24,8 +24,8 @@ 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 )"
+LICENSE="Apache-2.0
+ custom-jdk? ( GPL-2 )"
IUSE="-custom-jdk"
DEPEND="!dev-util/${PN}:14
@@ -41,8 +41,8 @@ src_prepare() {
rm bin/fsnotifier-arm || die
fi
if ! use custom-jdk; then
- if [[ -d jre ]]; then
- rm -r jre || die
+ if [[ -d jre64 ]]; then
+ rm -r jre64 || die
fi
fi
}
@@ -55,8 +55,8 @@ src_install() {
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}
+ if [[ -d jre64 ]]; then
+ fperms 755 "${dir}"/jre64/bin/{java,jjs,keytool,orbd,pack200,policytool,rmid,rmiregistry,servertool,tnameserv,unpack200}
fi
fi
diff --git a/dev-util/idea-community/idea-community-2018.3.3.183.5153.38.ebuild b/dev-util/idea-community/idea-community-2018.3.3.183.5153.38.ebuild
new file mode 100644
index 000000000000..3811dacddc7e
--- /dev/null
+++ b/dev-util/idea-community/idea-community-2018.3.3.183.5153.38.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit eutils desktop
+
+SLOT="0"
+PV_STRING="$(ver_cut 4-6)"
+MY_PV="$(ver_cut 1-3)"
+MY_PN="idea"
+
+# distinguish settings for official stable releases and EAP-version releases
+if [[ "$(ver_cut 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="Apache-2.0
+ custom-jdk? ( GPL-2 )"
+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 jre64 ]]; then
+ rm -r jre64 || die
+ fi
+ fi
+ eapply_user
+}
+
+src_install() {
+ local dir="/opt/${PN}-${MY_PV}"
+
+ insinto "${dir}"
+ doins -r *
+ fperms 755 "${dir}"/bin/{format.sh,idea.sh,inspect.sh,printenv.py,restart.py,fsnotifier{,64}}
+
+ if use custom-jdk; then
+ if [[ -d jre64 ]]; then
+ fperms 755 "${dir}"/jre64//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
+}