From 0e1cd1a58c666a22ed77542f28da3ab5ea705814 Mon Sep 17 00:00:00 2001 From: Lukas Elsner Date: Thu, 13 Nov 2014 23:43:08 +1000 Subject: idea version bump --- dev-util/idea-community/Manifest | 4 +- .../idea-community-14.0.0.139.224.1.ebuild | 82 ---------------------- .../idea-community-14.0.1.139.225.3.ebuild | 82 ++++++++++++++++++++++ dev-util/idea-ultimate/Manifest | 4 +- .../idea-ultimate-14.0.0.139.224.1.ebuild | 82 ---------------------- .../idea-ultimate-14.0.1.139.225.3.ebuild | 82 ++++++++++++++++++++++ 6 files changed, 168 insertions(+), 168 deletions(-) delete mode 100644 dev-util/idea-community/idea-community-14.0.0.139.224.1.ebuild create mode 100644 dev-util/idea-community/idea-community-14.0.1.139.225.3.ebuild delete mode 100644 dev-util/idea-ultimate/idea-ultimate-14.0.0.139.224.1.ebuild create mode 100644 dev-util/idea-ultimate/idea-ultimate-14.0.1.139.225.3.ebuild diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest index 92475a5..5dc1956 100644 --- a/dev-util/idea-community/Manifest +++ b/dev-util/idea-community/Manifest @@ -6,7 +6,7 @@ AUX idea-community-14.sh.patch 279 SHA256 e6be4829f22fb1413493502715880ba94e1755 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-14.tar.gz 176745724 SHA256 72e1e7659aa90c0b520eed8190fa96899e26bde7448a9fe4ed43929ef25c508a SHA512 3847ecec58dd6d40983a063163ff511c916150eb3c731b157444555b4b1763dbea7dbc7929ee63bbca0c75df882dcdcfd6212b5956e9128babc8c1f08a6d5b8a WHIRLPOOL 855937f3f6ed785d6b2ab448941826e29155c743598c4ba005c705118a622941d6a75b7f0210d8ca7bdb716c2ed07cc37026b8374d2ba5f0b530a6025822a713 +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.0.139.224.1.ebuild 2397 SHA256 6ddf77ff72459ff6d9d1fac7c2483ecf4c4424cbab0d3fdb2a3770958f4d0ca5 SHA512 348510ede83ac53a7355465dc0185eeb0768790ae73e1df8d23d4a777ff6b22aaf08bdcdbcfdb1ff0dcc25be1641e93adcfb3bd92b7d60c7bf6fa4673ec1312e WHIRLPOOL 14cab11f318196ef51f0e9e9ef0bc5c2dccbe5009b5bf9ca05b4477dac12cb7d88496796432b35e596c047ce2b8eb74e70f0fb6e82f98139ce3d02e601625a3d +EBUILD idea-community-14.0.1.139.225.3.ebuild 2397 SHA256 181a1dc57b2b1d63cc23ad84511881aef88989251d6cdd8eae8e57b4c6ed338c SHA512 26339dd38c2ca9e705050a5367fca52c56e697ce2f811ed914cc0f72f79735846dcd573ae22d5a70e695b526f392d9d237f27ae449acfb3dc4114ab26dd9e494 WHIRLPOOL d0c0a0dda7a16320dbac5743577085f767ad6d6d761759f0ebb8680c681692c73ef345a465af56a865f292364c0b088706aa23ef77d922007fd82532dadc3104 diff --git a/dev-util/idea-community/idea-community-14.0.0.139.224.1.ebuild b/dev-util/idea-community/idea-community-14.0.0.139.224.1.ebuild deleted file mode 100644 index be3e57b..0000000 --- a/dev-util/idea-community/idea-community-14.0.0.139.224.1.ebuild +++ /dev/null @@ -1,82 +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="$(get_major_version)" -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[2]}" == "0" ]]; then - if [[ "${VER[4]}" == "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-community/idea-community-14.0.1.139.225.3.ebuild b/dev-util/idea-community/idea-community-14.0.1.139.225.3.ebuild new file mode 100644 index 0000000..c8891d0 --- /dev/null +++ b/dev-util/idea-community/idea-community-14.0.1.139.225.3.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="$(get_major_version)" +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[2]}" == "0" ]]; then + if [[ "${VER[4]}" == "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-3).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 76bc47f..4599222 100644 --- a/dev-util/idea-ultimate/Manifest +++ b/dev-util/idea-ultimate/Manifest @@ -6,7 +6,7 @@ AUX idea-ultimate-14.sh.patch 278 SHA256 a8f6cb7c7957eea70f97461abaaaec271f5530f 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-14.tar.gz 287708668 SHA256 e1c86f0b39e74b3468f7512d299ad9e0ca0c492316e996e65089368aff5446c6 SHA512 9409b5730524bfd2932412a6004429ede9709f3c78e0a278d412e1070993277f93446d0afc8cb36523b32f6a658608071edcea0a72613f70530064b0f59381ba WHIRLPOOL 834a70ab938d6a17eae0f8ccc05da877d69c9fdd6e7103e45e8530eb3e61782f46d405c8257111ac9ccbf17d028f7c1bd2347c896412d7c9c0dcac9a56906511 +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.0.139.224.1.ebuild 2397 SHA256 6ddf77ff72459ff6d9d1fac7c2483ecf4c4424cbab0d3fdb2a3770958f4d0ca5 SHA512 348510ede83ac53a7355465dc0185eeb0768790ae73e1df8d23d4a777ff6b22aaf08bdcdbcfdb1ff0dcc25be1641e93adcfb3bd92b7d60c7bf6fa4673ec1312e WHIRLPOOL 14cab11f318196ef51f0e9e9ef0bc5c2dccbe5009b5bf9ca05b4477dac12cb7d88496796432b35e596c047ce2b8eb74e70f0fb6e82f98139ce3d02e601625a3d +EBUILD idea-ultimate-14.0.1.139.225.3.ebuild 2397 SHA256 181a1dc57b2b1d63cc23ad84511881aef88989251d6cdd8eae8e57b4c6ed338c SHA512 26339dd38c2ca9e705050a5367fca52c56e697ce2f811ed914cc0f72f79735846dcd573ae22d5a70e695b526f392d9d237f27ae449acfb3dc4114ab26dd9e494 WHIRLPOOL d0c0a0dda7a16320dbac5743577085f767ad6d6d761759f0ebb8680c681692c73ef345a465af56a865f292364c0b088706aa23ef77d922007fd82532dadc3104 diff --git a/dev-util/idea-ultimate/idea-ultimate-14.0.0.139.224.1.ebuild b/dev-util/idea-ultimate/idea-ultimate-14.0.0.139.224.1.ebuild deleted file mode 100644 index be3e57b..0000000 --- a/dev-util/idea-ultimate/idea-ultimate-14.0.0.139.224.1.ebuild +++ /dev/null @@ -1,82 +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="$(get_major_version)" -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[2]}" == "0" ]]; then - if [[ "${VER[4]}" == "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/idea-ultimate-14.0.1.139.225.3.ebuild b/dev-util/idea-ultimate/idea-ultimate-14.0.1.139.225.3.ebuild new file mode 100644 index 0000000..c8891d0 --- /dev/null +++ b/dev-util/idea-ultimate/idea-ultimate-14.0.1.139.225.3.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="$(get_major_version)" +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[2]}" == "0" ]]; then + if [[ "${VER[4]}" == "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-3).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