diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2021-04-14 17:59:20 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2021-04-14 17:59:20 +0100 |
commit | fe8da070289dcb92ab5c77270228d03c301d60b1 (patch) | |
tree | caf7beefb4a97aea1ee28c8282a122b465ce382a /dev-util | |
parent | Add snooty-lextudio required to visual studio code reStructuredText extension (diff) | |
download | ssnb-fe8da070289dcb92ab5c77270228d03c301d60b1.tar.gz ssnb-fe8da070289dcb92ab5c77270228d03c301d60b1.tar.bz2 ssnb-fe8da070289dcb92ab5c77270228d03c301d60b1.zip |
Update idea-ultimate to 2021.1
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/idea-ultimate/Manifest | 2 | ||||
-rw-r--r-- | dev-util/idea-ultimate/idea-ultimate-2021.1.0.211.6693.111.ebuild | 143 |
2 files changed, 145 insertions, 0 deletions
diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest index 20b3060..cbacc3c 100644 --- a/dev-util/idea-ultimate/Manifest +++ b/dev-util/idea-ultimate/Manifest @@ -5,6 +5,7 @@ DIST ideaIU-2019.3.3.tar.gz 812882348 BLAKE2B 402158c4586d87b84ccfaaa03abdb7e3e8 DIST ideaIU-2019.3.4.tar.gz 813068241 BLAKE2B d80c5c0faec4d53a5443aec430e11c2a6661b7aa3955cdb65dd460cdb8fec3f4cf6bc0effec477c32c4bd3949780407599515838dba3b00dda1af5c7975515a5 SHA512 0b2862df695a0d44470bcf6f1ac962c47b1d0433088de5e15503b1dc7622262bac1c7958fef2aa9feb063018d5ff9b109f845143a21fd741b35605c2ec418f8b DIST ideaIU-2019.3.tar.gz 795790818 BLAKE2B 05396e642597b1f6c1341e2f3b4d02acc6fcf2254b93a00ae43c9be1afaef39db42bf894141bc9adc846ea7e8260a777c60563f928f2b73ddcb4d8f3e74c4ef2 SHA512 638f4a29720fc8b21593106295576c1a7db8fe67ad4eca5d8f98b1220264b074227f058af56225f10a13fb537a11ce12d415d463fba7891eba8138c6e9fb78e0 DIST ideaIU-202.7660.26.tar.gz 660682655 BLAKE2B 7c052121176593cce3c635f6da37dda09caf0e55c787176392a53839913b49133d6adeeaf057e43ddc3bd9aab904e2dc0894930ad75e0bd8bc9a1d0483be36f8 SHA512 e6355cf946804f2443c3fd1462eb887f26486e59e2c083d24a96e26440578a536dab0d298c5c5f21444a96b52aaad21e87e461f3819653a4bf113d088e3c17ac +DIST ideaIU-211.6693.111.tar.gz 775964421 BLAKE2B b5e9e75cde9e74d46247be72ae9663b0f40cf4a0333c81534ba40a8ce327d92f44438c692e5c4c77ec578389434b7d9ccb7a675f1f5e5612a0cabdf21db2b3ea SHA512 48bcb62b9cbcf87b62f83179b8ed3a5dc9d99e72edff3b128f2fd33007cd2dc96d56fb1322870a215bce666dc639d3a699361ccaf58053b99b333eff306bbf2c DIST jbr-11_0_2-linux-x64-b164.tar.gz 131483925 BLAKE2B fb9c55094aeb4a9e6b89ef41699252355895fa4bf55eaa0d3c0a637b6485b5a91a0445b5f4af1872b62cd67b639f7354e05770970d41dcfa58ffeda7ae43c5b6 SHA512 4f32940166cc8ad5a138866e18d4cbfcd07f4326a85c051b7a622c9dcb8ee4b6d493331ef24d0c01999134fa2a9bad901f026982c16780fdc5e6b9308821db34 DIST jbrx-8u202-linux-i586-b1483.37.tar.gz 80726147 BLAKE2B e4e5a076a541fd7153e861193ff4247c02ecbc144396ed28737afa7440f7771569b8d968b7c67b3dac333a89ff0b54cc9e5e76d1651b174cc7c0c21b1deb033c SHA512 53693f2ce994f4891807873ae3fe46ce60bee000b78be03c5d3df06b436328abe5b5d7e75d43e57f35f24187f49915187d034b39589e29806f55deeb14a029f2 DIST jbrx-8u202-linux-x64-b1483.37.tar.gz 81812743 BLAKE2B 86ddf0c8dc992a27e680caa821f54fa4d647a8bff78b9fdbef82996bfbba828a2f68f1a00ed64bd92ce24a62bfc6c0240837c396644c6e91244cb0d980b6c704 SHA512 cd31a3c4da7b8c65e9ae89326c2c8b260b51890258d30f64b1e8a7c6c1442bb2cb68ea2aa80387ce0c1a8f50e3533e8231f72c5935b639e3cf82bc1ffedee8e9 @@ -15,5 +16,6 @@ EBUILD idea-ultimate-2019.3.4.193.6911.18.ebuild 1750 BLAKE2B 62e3e1a0c342e8465a EBUILD idea-ultimate-2020.1.0.201.6668.121.ebuild 4571 BLAKE2B e5379b8e794739e25b86ba16dbd8be51e409a5a261c3a6b83ea6baa80461fd3ba63d1be30292920980f572a1e921a62e4b530e32d0691cbf76ec07082a08bd91 SHA512 427d94a12ca25b3518aa039f9cf6bd84ffe1b65201e2b2f3a72e9ec3fca24522091f9293853cf3c89500f499a0a59f748d87af5d3d30ba2241fdfb9c67ebc402 EBUILD idea-ultimate-2020.2.3.202.6397.94.ebuild 4571 BLAKE2B e5379b8e794739e25b86ba16dbd8be51e409a5a261c3a6b83ea6baa80461fd3ba63d1be30292920980f572a1e921a62e4b530e32d0691cbf76ec07082a08bd91 SHA512 427d94a12ca25b3518aa039f9cf6bd84ffe1b65201e2b2f3a72e9ec3fca24522091f9293853cf3c89500f499a0a59f748d87af5d3d30ba2241fdfb9c67ebc402 EBUILD idea-ultimate-2020.2.3.202.7660.26.ebuild 4571 BLAKE2B 716008b3ed86ba32395628544118884aa1544bba00d943a5a2a2a109f8d726b9731dbd75571e4e46e4e63602e2a482d327f9f853c74c438e7013a3679c4c2d9b SHA512 4481dd6abbec9a402b8723d70d9bf9c03e976fe332c428829c4c4bdbddc55ef27a9112e6690dcd3dde52457ff8658943c0cef5b4c512561b35ecdaf929e4ebb8 +EBUILD idea-ultimate-2021.1.0.211.6693.111.ebuild 4571 BLAKE2B c9dce20b4b8ae59e2d6338e69bb366d6567da24e42234fb9a2157b90bc50502fc6f2b7431715eae9edc38228a42b89230c3a331e730164d2c0cce9bfa82765ee SHA512 2b164a775e704c4c3214816b7d176d3add91e46bc1a417755dd55e269e1c01fcda65127a41b84d43eaa03504d743a5a2fbe8e1354f4f2986b9aef83260bd7d53 MISC ChangeLog 142 BLAKE2B d6bb9a7ff30fcbf78573ea65cf495cdc21393b0e9e546f9b5df7f9b5d358b362e7741509b6625d1dee6ae4f6b7ea33e4a88fc7e6d53b34745c3234c377ba690d SHA512 f66d54089ee757d3bc997f4edba58e6b6b91d47c6fca9f33edf4bfc9e03acabfc7af723c1238c313ccf6cde747c7b91274e67c15abc92da8dd6dd5ac58006b7b MISC metadata.xml 786 BLAKE2B 4d178ed573815c59c26f4ca4873250df7da55588762b231f34a69cddbe2844a130fd743fbb796a0c0bf6445405d5034a60eabd59d4eebcc055da86c8a53f6d21 SHA512 13eb523dd3b6fcf90fef0135a27195f8deb7cbd635b74beaa99ab479310fdedb9aca88071c66738cf7b6a22a808ba3e5bbe1a6c6e9b243b0539c8f474dbb7fc6 diff --git a/dev-util/idea-ultimate/idea-ultimate-2021.1.0.211.6693.111.ebuild b/dev-util/idea-ultimate/idea-ultimate-2021.1.0.211.6693.111.ebuild new file mode 100644 index 0000000..9f9b21f --- /dev/null +++ b/dev-util/idea-ultimate/idea-ultimate-2021.1.0.211.6693.111.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2020 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-2)" +MY_PN="idea" +# Using the most recent Jetbrains Runtime binaries available at the time of writing +# As the exact bundled versions ( jre 11 build 159.30 and jre 8 build 1483.39 ) aren't +# available separately +JRE11_BASE="11_0_2" +JRE11_VER="164" +JRE_BASE="8u202" +JRE_VER="1483.37" + +# 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}IU-${PV_STRING}.tar.gz" +else + # upstream stable + KEYWORDS="~amd64 ~x86" + SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IU-${MY_PV}-no-jbr.tar.gz -> ${MY_PN}IU-${PV_STRING}.tar.gz + jbr8? ( x86? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrx-${JRE_BASE}-linux-i586-b${JRE_VER}.tar.gz -> jbrx-${JRE_BASE}-linux-i586-b${JRE_VER}.tar.gz ) + amd64? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrx-${JRE_BASE}-linux-x64-b${JRE_VER}.tar.gz -> jbrx-${JRE_BASE}-linux-x64-b${JRE_VER}.tar.gz ) ) + jbr11? ( amd64? ( https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz -> jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.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 )" + +#Splitting custom-jdk into jbr8 and jbr11 as upstream now offers downloads with +#either (or neither) bundled +#Defaulting to jbr8 to match upstream +IUSE="+jbr8 -jbr11" +REQUIRED_USE="jbr8? ( !jbr11 )" + +DEPEND="!dev-util/${PN}:14 + !dev-util/${PN}:15" +RDEPEND="${DEPEND} + >=virtual/jdk-1.7:* + dev-java/jansi-native + dev-libs/libdbusmenu + dev-util/lldb" +BDEPEND="dev-util/patchelf" +RESTRICT="splitdebug" +S="${WORKDIR}/${MY_PN}-IU-$(ver_cut 4-6)" + +QA_PREBUILT="opt/${PN}-${MY_PV}/*" + +# jbr11 binary doesn't unpack nicely into a single folder +src_unpack() { + if use !jbr11 ; then + default_src_unpack + else + cd "${WORKDIR}" + unpack ${MY_PN}IU-${PV_STRING}.tar.gz + cd "${S}" + mkdir jre64 && cd jre64 && unpack jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz + fi +} + +src_prepare() { + if use amd64; then + JRE_DIR=jre64 + else + JRE_DIR=jre + fi + + if use jbr8; then + mv "${WORKDIR}/jre" ./"${JRE_DIR}" + PLUGIN_DIR="${S}/${JRE_DIR}/lib/${ARCH}" + else + PLUGIN_DIR="${S}/${JRE_DIR}/lib/" + fi + + rm -vf ${PLUGIN_DIR}/libavplugin* + rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* + rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le + rm -vf "${S}"/bin/libdbm64* + + if [[ -d "${S}"/"${JRE_DIR}" ]]; then + for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so} + do + if [[ -f "$file" ]]; then + patchelf --set-rpath '$ORIGIN' $file || die + fi + done + fi + + patchelf --replace-needed liblldb.so liblldb.so.9 "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend || die "Unable to patch LLDBFrontend for lldb" + + sed -i \ + -e "\$a\\\\" \ + -e "\$a#-----------------------------------------------------------------------" \ + -e "\$a# Disable automatic updates as these are handled through Gentoo's" \ + -e "\$a# package manager. See bug #704494" \ + -e "\$a#-----------------------------------------------------------------------" \ + -e "\$aide.no.platform.update=Gentoo" bin/idea.properties + + 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 amd64; then + JRE_DIR=jre64 + else + JRE_DIR=jre + fi + if use jbr8 || use jbr11 ; then + if use jbr8; then + JRE_BINARIES="java jjs keytool orbd pack200 policytool rmid rmiregistry servertool tnameserv unpack200" + else + JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200" + fi + if [[ -d ${JRE_DIR} ]]; then + for jrebin in $JRE_BINARIES; do + fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}" + done + 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 +} |