From 68910de0df57661b781d68d6c80657fc7ae5f57a Mon Sep 17 00:00:00 2001 From: Lukas Elsner Date: Thu, 4 Dec 2014 20:02:20 +1000 Subject: idea version bump --- dev-util/idea-community/Manifest | 4 +- .../idea-community-14.0.0.138.2458.8_pre1.ebuild | 84 ---------------------- .../idea-community-14.0.2.139.560.4_pre1.ebuild | 83 +++++++++++++++++++++ dev-util/idea-ultimate/Manifest | 4 +- .../idea-ultimate-14.0.0.138.2458.8_pre1.ebuild | 83 --------------------- .../idea-ultimate-14.0.2.139.560.4_pre1.ebuild | 82 +++++++++++++++++++++ 6 files changed, 169 insertions(+), 171 deletions(-) delete mode 100644 dev-util/idea-community/idea-community-14.0.0.138.2458.8_pre1.ebuild create mode 100644 dev-util/idea-community/idea-community-14.0.2.139.560.4_pre1.ebuild delete mode 100644 dev-util/idea-ultimate/idea-ultimate-14.0.0.138.2458.8_pre1.ebuild create mode 100644 dev-util/idea-ultimate/idea-ultimate-14.0.2.139.560.4_pre1.ebuild diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest index 5dc1956..b82509b 100644 --- a/dev-util/idea-community/Manifest +++ b/dev-util/idea-community/Manifest @@ -5,8 +5,8 @@ AUX idea-community-13.sh.patch 279 SHA256 30991ce711c222aff04cee7f38b9ee2800b4ea AUX idea-community-14.sh.patch 279 SHA256 e6be4829f22fb1413493502715880ba94e17555473ac2475ac27aeefcac4199a SHA512 f72afbc287e8e26ec2eab871515c1dfcc2e5a2d434a5e6d18cc1cea968a6438d30fc8121756c91cdfd6a31eba082bbb963351e051dd78979342d3d4eff54b90a WHIRLPOOL 65e30b611adb316c5a3792d27a7d2e902b89d901f095d443e1d2c73a0555ef3a0405bb3ec761e1670c963237068bb8f02acd54e6e6d5a9bbef97c68532683075 AUX idea-community-eap.sh.patch 280 SHA256 03b569c010bba2ee593775b53b29c6eca3bae2bbc9a635339889430bbef04f52 SHA512 02ab5b92089e5f038f1dff49b7e7ed24ac089335d30e11a9cb923a771401fae9554d6ec7be8dcd75f922061d4e6f784fd0b05f6bd3f40342a34ea82781a601fc WHIRLPOOL d67a11198c79da9b4661b950ab26480816063f0576968545b2e437564d3765b497ba1dfda6d469e075b4991f6f65ea301029c66edc84abdb13470526d70eeb82 DIST ideaIC-13.1.5.tar.gz 172480977 SHA256 e08b9adad0ed9aa62a43f3026a1b499d1663710314d00a3bec2e171a6c375f09 SHA512 7d0f1e7708b1a75e02b3ca1b2799de9998702cc764e0504b55450f36f74d345c59a4dbbc9a4c3f913447f0bf96c6dd5b9988b9cdd073d3f50565f5919564aeb7 WHIRLPOOL fc1c93bc7514ca841e12ecb2e1d4bd9554a20bf1f562331fad7c2b2de1facaeb851a15c2765ffe2ed4233afba8dee2057f3a27f2b6f7e86786782daf73934166 -DIST ideaIC-14-PublicPreview.tar.gz 173567680 SHA256 a154635a026a2938cfd5b5790691e3742518e4e6ae4d116e26302acddf83a2e4 SHA512 3cc3e9e8bd4177100a61631a113587b11d5b73d637cebdee1007a62e8bf57b3c8a6d0a371bc0a805f27c14f0352b0e831f4af4af1c8f66824d012e90395049e3 WHIRLPOOL ca7a36341bc9629218a7583d48f67b207ad63504ae9966ee975ea90f4c2bbe6c8e8a398d05092bf867eee5a900f8e2115860934b4ab72348894a37f3da3effec +DIST ideaIC-139.560.4.tar.gz 182512782 SHA256 0a00a65c12f201e9c1459372459d31c3a4a1127f9d66dcd424ef4f9f471051de SHA512 9a2065936ebe5842ab00a6be04682ad7a077132e9d35ec5cad0603070495d5aa31fd33e02676650125a557e597fea3652ff5e7c9780ba1828ab36855b18e4b0f WHIRLPOOL 91f699757f7ba98d2815ada3f43164293dbe218664160ef41a6ea5325f6ed219e59e2e682347aa7cfef035904b68abaee4f70abd1c5e848667e112fec9736848 DIST ideaIC-14.0.1.tar.gz 176754439 SHA256 6f5b9f825e26ea409ab4addfbd868162b068a6aaa876feb7e392e0317029d598 SHA512 f42e612269d1d300071e3a1634fcc4e47a3e2d788ec07ce8962812163ba71d6b0e83dc643ca92672a6bdb829e95470e7e2717ddfbe3ec0a37f6737bfd4ac66c7 WHIRLPOOL 2ad521f2d68873da4e4569f5bfc48dec31315aeed17c0bfce268a602e5f63e7fe829f06636ec4767ab1a3afb88f90085e22e5ccf8750a940a7751bb0bccc7c46 EBUILD idea-community-13.1.5.135.1289.ebuild 2397 SHA256 41d1b7d5309e806404e101dfc152ffb2822dc93ed072ab0104357f3497379e06 SHA512 efcaba87918d3819b05be35b8276766a5f83ef015524ab1d5a5258c3c8954929af02201b27fff7cc5ac166eb4301a6ede84a2f59ef79becac5350fab2c7b756d WHIRLPOOL ef30e814e0d26d78923b37fee193f9fec138b42d35e251aa48f505676aca9060b4448b8f3b8acf76e95bb22e403ed653901b4928612db9716243882015216cc9 -EBUILD idea-community-14.0.0.138.2458.8_pre1.ebuild 2499 SHA256 9141338ca44fe8c75c4ab6ca2a06452eb5de14e007ecbdab95b0a527d15d3b5a SHA512 8648ba4def347ece0e7a69a0ccb0bd89de47ed515bef93f3d7bf736fca239ab349fedec9c78811aba3738488a5a0f89b132bf6e1f97a404461b94c2cb31e2e29 WHIRLPOOL a20ab1501517ea6cf191e0658a87c64aaf29062ca63898971194b111ed477d9efc6e3dcde789d47cdeed41b7279b5fb6763dd12e8df93e9e0bf141df8612ee4a EBUILD idea-community-14.0.1.139.225.3.ebuild 2397 SHA256 181a1dc57b2b1d63cc23ad84511881aef88989251d6cdd8eae8e57b4c6ed338c SHA512 26339dd38c2ca9e705050a5367fca52c56e697ce2f811ed914cc0f72f79735846dcd573ae22d5a70e695b526f392d9d237f27ae449acfb3dc4114ab26dd9e494 WHIRLPOOL d0c0a0dda7a16320dbac5743577085f767ad6d6d761759f0ebb8680c681692c73ef345a465af56a865f292364c0b088706aa23ef77d922007fd82532dadc3104 +EBUILD idea-community-14.0.2.139.560.4_pre1.ebuild 2381 SHA256 f5f3b14f5304c374759907e4c7acb866e8c6716fa6c48c5a01be3a1c25632133 SHA512 2dace174771685ac6aa1a4cb66ce81eddd550d09673bc48712b042bd1c37eb691a8c13f667ee0f9709b30f7266c35b4e8dd1abaa132f05d8e033b999d2fd879a WHIRLPOOL d54bc22857e20fa36d443b71a239aceb83bf13e1d82d486d92f521c3282a4ba1b90aaa38aeec7e91fd168b1d074dda58973dbbfcbc949d40620550e491f1190a diff --git a/dev-util/idea-community/idea-community-14.0.0.138.2458.8_pre1.ebuild b/dev-util/idea-community/idea-community-14.0.0.138.2458.8_pre1.ebuild deleted file mode 100644 index beeec3d..0000000 --- a/dev-util/idea-community/idea-community-14.0.0.138.2458.8_pre1.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -inherit eutils versionator - -SLOT="eap" -RDEPEND=">=virtual/jdk-1.6" - -PN1=${PN%-*} -PN2=${PN#*-} -PNS=${PN1:0:1}${PN2:0:1} - -MY_PV="$(get_version_component_range 4-6)" -MY_PRE="$(get_version_component_range 7-7)" -MY_PRE=${MY_PRE/pre/} - -RESTRICT="strip mirror" -QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" - -DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE" -HOMEPAGE="http://jetbrains.com/idea/" - -if [ -z $MY_PRE ]; then - VER=($(get_all_version_components)) - if [[ "${VER[4]}" == "0" ]]; then - if [[ "${VER[2]}" == "0" ]]; then - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1).tar.gz" - else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-2).tar.gz" - fi - else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-3).tar.gz" - fi -else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-${MY_PV}.tar.gz" -fi - -SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1)-PublicPreview.tar.gz" - -LICENSE="IntelliJ-IDEA" -IUSE="" -KEYWORDS="~x86 ~amd64" -S="${WORKDIR}/${PN1}-${PNS^^}-${MY_PV}" - -src_prepare() { - epatch ${FILESDIR}/${PN}-${SLOT}.sh.patch || die -} - -src_install() { - local dir="/opt/${P}" - local exe="${PN}-${SLOT}" - newconfd "${FILESDIR}/config-${PN}-${SLOT}" ${PN}-${SLOT} - # config files - insinto "/etc/idea" - mv bin/idea.properties bin/${PN}-${SLOT}.properties - doins bin/${PN}-${SLOT}.properties - rm bin/${PN}-${SLOT}.properties - case $ARCH in - amd64|ppc64) - cat bin/idea64.vmoptions > bin/idea.vmoptions - rm bin/idea64.vmoptions - ;; - esac - mv bin/idea.vmoptions bin/${PN}-${SLOT}.vmoptions - doins bin/${PN}-${SLOT}.vmoptions - rm bin/${PN}-${SLOT}.vmoptions - ln -s /etc/idea/${PN}-${SLOT}.properties bin/idea.properties - ln -s /etc/idea/${PN}-${SLOT}.vmoptions bin/idea.vmoptions - # idea itself - insinto "${dir}" - doins -r * - fperms 755 "${dir}/bin/${PN1}.sh" - fperms 755 "${dir}/bin/fsnotifier" - fperms 755 "${dir}/bin/fsnotifier64" - newicon "bin/${PN1}.png" "${exe}.png" - make_wrapper "${exe}" "/opt/${P}/bin/${PN1}.sh" - make_desktop_entry ${exe} "IntelliJ IDEA ${PV}" "${exe}" "Development;IDE" - # Protect idea conf on upgrade - env_file="${T}/25${PN}-${SLOT}" - echo "CONFIG_PROTECT=\"\${CONFIG_PROTECT} /etc/idea/conf\"" > "${env_file}" || die - doenvd "${env_file}" -} diff --git a/dev-util/idea-community/idea-community-14.0.2.139.560.4_pre1.ebuild b/dev-util/idea-community/idea-community-14.0.2.139.560.4_pre1.ebuild new file mode 100644 index 0000000..12b3d32 --- /dev/null +++ b/dev-util/idea-community/idea-community-14.0.2.139.560.4_pre1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit eutils versionator + +SLOT="eap" +RDEPEND=">=virtual/jdk-1.6" + +PN1=${PN%-*} +PN2=${PN#*-} +PNS=${PN1:0:1}${PN2:0:1} + +MY_PV="$(get_version_component_range 4-6)" +MY_PRE="$(get_version_component_range 7-7)" +MY_PRE=${MY_PRE/pre/} + +RESTRICT="strip mirror" +QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" + +DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE" +HOMEPAGE="http://jetbrains.com/idea/" + +if [ -z $MY_PRE ]; then + VER=($(get_all_version_components)) + if [[ "${VER[4]}" == "0" ]]; then + if [[ "${VER[2]}" == "0" ]]; then + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1).tar.gz" + else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-2).tar.gz" + fi + else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-3).tar.gz" + fi +else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-${MY_PV}.tar.gz" +fi + + +LICENSE="IntelliJ-IDEA" +IUSE="" +KEYWORDS="~x86 ~amd64" +S="${WORKDIR}/${PN1}-${PNS^^}-${MY_PV}" + +src_prepare() { + epatch ${FILESDIR}/${PN}-${SLOT}.sh.patch || die +} + +src_install() { + local dir="/opt/${P}" + local exe="${PN}-${SLOT}" + newconfd "${FILESDIR}/config-${PN}-${SLOT}" ${PN}-${SLOT} + # config files + insinto "/etc/idea" + mv bin/idea.properties bin/${PN}-${SLOT}.properties + doins bin/${PN}-${SLOT}.properties + rm bin/${PN}-${SLOT}.properties + case $ARCH in + amd64|ppc64) + cat bin/idea64.vmoptions > bin/idea.vmoptions + rm bin/idea64.vmoptions + ;; + esac + mv bin/idea.vmoptions bin/${PN}-${SLOT}.vmoptions + doins bin/${PN}-${SLOT}.vmoptions + rm bin/${PN}-${SLOT}.vmoptions + ln -s /etc/idea/${PN}-${SLOT}.properties bin/idea.properties + ln -s /etc/idea/${PN}-${SLOT}.vmoptions bin/idea.vmoptions + # idea itself + insinto "${dir}" + doins -r * + fperms 755 "${dir}/bin/${PN1}.sh" + fperms 755 "${dir}/bin/fsnotifier" + fperms 755 "${dir}/bin/fsnotifier64" + newicon "bin/${PN1}.png" "${exe}.png" + make_wrapper "${exe}" "/opt/${P}/bin/${PN1}.sh" + make_desktop_entry ${exe} "IntelliJ IDEA ${PV}" "${exe}" "Development;IDE" + # Protect idea conf on upgrade + env_file="${T}/25${PN}-${SLOT}" + echo "CONFIG_PROTECT=\"\${CONFIG_PROTECT} /etc/idea/conf\"" > "${env_file}" || die + doenvd "${env_file}" +} diff --git a/dev-util/idea-ultimate/Manifest b/dev-util/idea-ultimate/Manifest index 4599222..b1dd54f 100644 --- a/dev-util/idea-ultimate/Manifest +++ b/dev-util/idea-ultimate/Manifest @@ -5,8 +5,8 @@ AUX idea-ultimate-13.sh.patch 278 SHA256 4fe375e9ef2d3cca17ebd8945429711ab101970 AUX idea-ultimate-14.sh.patch 278 SHA256 a8f6cb7c7957eea70f97461abaaaec271f5530f671ea57d18054bfd6f7885b57 SHA512 b6f7ccdeb65ef8d43e4d9a79057f075efd0833625c87c48a58beed34373eb60fa78ca16eae8c3ccc950281798b75f1bce4a2d278edbc91cf9c34a0b9a3458f05 WHIRLPOOL b93c679ca9667295c63bb798542d999159cdd57f2d055a3634a61feae84a9f8e78a8f689a0b9a3bb235e62d2044f139ed8dd5d910cdd22b6ff8d4bb8b9c3cdcf AUX idea-ultimate-eap.sh.patch 279 SHA256 9392e8ffba3b41dc4d76188922ffa6d34cac5e06ab96efa7550e8d1d30b0edc3 SHA512 2430d197ca3cb35e2fe25b0d7dec13be8fe093ee7cdbb044effd40d574a537eb3b3ab988a285be62af9713f38383205174e87da90b67015eb1a9583f4984b021 WHIRLPOOL abf5a543036fca9b9cc5c8acc15c88051a096a0bcc9688851a021354052b56864f92ab61a01e1345df099fc190a2d59ae85058ed63436e33fa532731ba4eebeb DIST ideaIU-13.1.5.tar.gz 283593776 SHA256 0800b1ffc135f884e46f1004289fb75850148d705afc447d3374cfd281c231a2 SHA512 57b1b3acca7d776f059369016a0e1ce68c0e0cfe1160d0fad055b9fd299626567050bd9938c4d1a04e3dafcc1b0935f8f97dc00f1fba0cd66755e6d1d5eda3d2 WHIRLPOOL 7490f504c6f8788d10061bebf86f8cb16847415959173bdcd612c92edd4be7fd1f9d2bdd0333fa98821355e5521f0060ee304084763fa88de04fad7267a6ac76 -DIST ideaIU-14-PublicPreview.tar.gz 283716662 SHA256 b93d6659cefe25a0e0ed4fa0592944ba867c36de3a090126b8deffbc7860ca26 SHA512 2b56edbcae3dd7c5f7539349fb67fbf78f3cfad9fc277206bb76d4a00c9f7b0cc33aaf46c560e3182b1081946af5a5058bb7496c889349015795228e4011f066 WHIRLPOOL b0a7e0eb61802d1cd9647453b24e2eb2231d4c7d15e4a2ed372ea805ab474a104edb58ad3d6e76f23e291ccffa5fa4a0d1d074e7d056cd41d8f719cf31ffa5de +DIST ideaIU-139.560.4.tar.gz 294491648 SHA256 39334eee5b21918d098122902a343ce79f8cdd4848f50ef41c03c252a782692e SHA512 96c003456388e56916e4b199e36b0bf223e901d52205fc53204239f927b1771c368dd4401186c5a76e9563aa9401f3ea4bd0852ede829eb3c607d41c495636a1 WHIRLPOOL 03b5fd4fa0e5393dbb3fd56bd2c9a9ba62a306b2c5d01c02494a23c4d7c680658181875a5c0b5f42d6058d426c1dac022d2663a534bb1ff27377192384ea44a1 DIST ideaIU-14.0.1.tar.gz 287944824 SHA256 9828f9d169ee7d7e4b166bb4a4b9842e389bc3eee6ec29ec30539d2486230842 SHA512 122b14c87bddcec6b3bf3e09d8cf7d9996beb634feea915ba110183001d1acb41b5e1553c79c1f55968a38af867800a73b8c2b75a00ba3bd0a65f5844e373e13 WHIRLPOOL 6d234d4155167ec9a892a679a98dd4ae6e016210f124cd0291435ec3859eafdc02ae49c0b86c9694c235ba3176c1a013aab5b27bca0f0bf8d51d18262ed95caf EBUILD idea-ultimate-13.1.5.135.1289.ebuild 2397 SHA256 41d1b7d5309e806404e101dfc152ffb2822dc93ed072ab0104357f3497379e06 SHA512 efcaba87918d3819b05be35b8276766a5f83ef015524ab1d5a5258c3c8954929af02201b27fff7cc5ac166eb4301a6ede84a2f59ef79becac5350fab2c7b756d WHIRLPOOL ef30e814e0d26d78923b37fee193f9fec138b42d35e251aa48f505676aca9060b4448b8f3b8acf76e95bb22e403ed653901b4928612db9716243882015216cc9 -EBUILD idea-ultimate-14.0.0.138.2458.8_pre1.ebuild 2500 SHA256 9c707844000038ec2a172f43aea7652fd773541c1a297a5539cd7551d83b3988 SHA512 b90c9863dcc933a5d074347934ae743a108932dfef96d19a0fc5aa9f3d2e0d4b8a5f0963bc47defea888ecda8c7d2220e37f52673f5e501f4322c82362facddf WHIRLPOOL fee1a5e28f01df8743f02ea614520895a67009bbcecd57c6928419b1d8e29e0de07f88fe6e81c2e2e31c69a6affe7e37726a754a8c0f07cb0558bfe8971241e9 EBUILD idea-ultimate-14.0.1.139.225.3.ebuild 2397 SHA256 181a1dc57b2b1d63cc23ad84511881aef88989251d6cdd8eae8e57b4c6ed338c SHA512 26339dd38c2ca9e705050a5367fca52c56e697ce2f811ed914cc0f72f79735846dcd573ae22d5a70e695b526f392d9d237f27ae449acfb3dc4114ab26dd9e494 WHIRLPOOL d0c0a0dda7a16320dbac5743577085f767ad6d6d761759f0ebb8680c681692c73ef345a465af56a865f292364c0b088706aa23ef77d922007fd82532dadc3104 +EBUILD idea-ultimate-14.0.2.139.560.4_pre1.ebuild 2380 SHA256 5a700b1316c7659cef2ef3de217119b643c091ec7d952e4df22d8a831d9a197e SHA512 755cec5092dc808c03c82798d60b8bc698d13919ff7b4bd7c780427fe100393938ca2c0486aef4901e6cc189ecac3af116126ae81bc24f4b2caa4cf9a24f536a WHIRLPOOL c4e450228afc715e1affeb8b94130722598daa06631e7ff3c4d54c187aa79ab0cd41890756935c952a799cb792bfe2780176a5b46241fa15777cea6a97f122bb diff --git a/dev-util/idea-ultimate/idea-ultimate-14.0.0.138.2458.8_pre1.ebuild b/dev-util/idea-ultimate/idea-ultimate-14.0.0.138.2458.8_pre1.ebuild deleted file mode 100644 index 05b12f5..0000000 --- a/dev-util/idea-ultimate/idea-ultimate-14.0.0.138.2458.8_pre1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=4 -inherit eutils versionator - -SLOT="eap" -RDEPEND=">=virtual/jdk-1.6" - -PN1=${PN%-*} -PN2=${PN#*-} -PNS=${PN1:0:1}${PN2:0:1} - -MY_PV="$(get_version_component_range 4-6)" -MY_PRE="$(get_version_component_range 7-7)" -MY_PRE=${MY_PRE/pre/} - -RESTRICT="strip mirror" -QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" - -DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE" -HOMEPAGE="http://jetbrains.com/idea/" - -if [ -z $MY_PRE ]; then - VER=($(get_all_version_components)) - if [[ "${VER[4]}" == "0" ]]; then - if [[ "${VER[2]}" == "0" ]]; then - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1).tar.gz" - else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-2).tar.gz" - fi - else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-3).tar.gz" - fi -else - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-${MY_PV}.tar.gz" -fi - - SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1)-PublicPreview.tar.gz" -LICENSE="IntelliJ-IDEA" -IUSE="" -KEYWORDS="~x86 ~amd64" -S="${WORKDIR}/${PN1}-${PNS^^}-${MY_PV}" - -src_prepare() { - epatch ${FILESDIR}/${PN}-${SLOT}.sh.patch || die -} - -src_install() { - local dir="/opt/${P}" - local exe="${PN}-${SLOT}" - newconfd "${FILESDIR}/config-${PN}-${SLOT}" ${PN}-${SLOT} - # config files - insinto "/etc/idea" - mv bin/idea.properties bin/${PN}-${SLOT}.properties - doins bin/${PN}-${SLOT}.properties - rm bin/${PN}-${SLOT}.properties - case $ARCH in - amd64|ppc64) - cat bin/idea64.vmoptions > bin/idea.vmoptions - rm bin/idea64.vmoptions - ;; - esac - mv bin/idea.vmoptions bin/${PN}-${SLOT}.vmoptions - doins bin/${PN}-${SLOT}.vmoptions - rm bin/${PN}-${SLOT}.vmoptions - ln -s /etc/idea/${PN}-${SLOT}.properties bin/idea.properties - ln -s /etc/idea/${PN}-${SLOT}.vmoptions bin/idea.vmoptions - # idea itself - insinto "${dir}" - doins -r * - fperms 755 "${dir}/bin/${PN1}.sh" - fperms 755 "${dir}/bin/fsnotifier" - fperms 755 "${dir}/bin/fsnotifier64" - newicon "bin/${PN1}.png" "${exe}.png" - make_wrapper "${exe}" "/opt/${P}/bin/${PN1}.sh" - make_desktop_entry ${exe} "IntelliJ IDEA ${PV}" "${exe}" "Development;IDE" - # Protect idea conf on upgrade - env_file="${T}/25${PN}-${SLOT}" - echo "CONFIG_PROTECT=\"\${CONFIG_PROTECT} /etc/idea/conf\"" > "${env_file}" || die - doenvd "${env_file}" -} diff --git a/dev-util/idea-ultimate/idea-ultimate-14.0.2.139.560.4_pre1.ebuild b/dev-util/idea-ultimate/idea-ultimate-14.0.2.139.560.4_pre1.ebuild new file mode 100644 index 0000000..ac59236 --- /dev/null +++ b/dev-util/idea-ultimate/idea-ultimate-14.0.2.139.560.4_pre1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 +inherit eutils versionator + +SLOT="eap" +RDEPEND=">=virtual/jdk-1.6" + +PN1=${PN%-*} +PN2=${PN#*-} +PNS=${PN1:0:1}${PN2:0:1} + +MY_PV="$(get_version_component_range 4-6)" +MY_PRE="$(get_version_component_range 7-7)" +MY_PRE=${MY_PRE/pre/} + +RESTRICT="strip mirror" +QA_TEXTRELS="opt/${P}/bin/libbreakgen.so" + +DESCRIPTION="IntelliJ IDEA is an intelligent Java IDE" +HOMEPAGE="http://jetbrains.com/idea/" + +if [ -z $MY_PRE ]; then + VER=($(get_all_version_components)) + if [[ "${VER[4]}" == "0" ]]; then + if [[ "${VER[2]}" == "0" ]]; then + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-1).tar.gz" + else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-2).tar.gz" + fi + else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-$(get_version_component_range 1-3).tar.gz" + fi +else + SRC_URI="http://download.jetbrains.com/${PN1}/${PN1}${PNS^^}-${MY_PV}.tar.gz" +fi + +LICENSE="IntelliJ-IDEA" +IUSE="" +KEYWORDS="~x86 ~amd64" +S="${WORKDIR}/${PN1}-${PNS^^}-${MY_PV}" + +src_prepare() { + epatch ${FILESDIR}/${PN}-${SLOT}.sh.patch || die +} + +src_install() { + local dir="/opt/${P}" + local exe="${PN}-${SLOT}" + newconfd "${FILESDIR}/config-${PN}-${SLOT}" ${PN}-${SLOT} + # config files + insinto "/etc/idea" + mv bin/idea.properties bin/${PN}-${SLOT}.properties + doins bin/${PN}-${SLOT}.properties + rm bin/${PN}-${SLOT}.properties + case $ARCH in + amd64|ppc64) + cat bin/idea64.vmoptions > bin/idea.vmoptions + rm bin/idea64.vmoptions + ;; + esac + mv bin/idea.vmoptions bin/${PN}-${SLOT}.vmoptions + doins bin/${PN}-${SLOT}.vmoptions + rm bin/${PN}-${SLOT}.vmoptions + ln -s /etc/idea/${PN}-${SLOT}.properties bin/idea.properties + ln -s /etc/idea/${PN}-${SLOT}.vmoptions bin/idea.vmoptions + # idea itself + insinto "${dir}" + doins -r * + fperms 755 "${dir}/bin/${PN1}.sh" + fperms 755 "${dir}/bin/fsnotifier" + fperms 755 "${dir}/bin/fsnotifier64" + newicon "bin/${PN1}.png" "${exe}.png" + make_wrapper "${exe}" "/opt/${P}/bin/${PN1}.sh" + make_desktop_entry ${exe} "IntelliJ IDEA ${PV}" "${exe}" "Development;IDE" + # Protect idea conf on upgrade + env_file="${T}/25${PN}-${SLOT}" + echo "CONFIG_PROTECT=\"\${CONFIG_PROTECT} /etc/idea/conf\"" > "${env_file}" || die + doenvd "${env_file}" +} -- cgit v1.2.3-65-gdbad