summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Elsner <open@mindrunner.de>2014-05-07 20:21:40 +0200
committerLukas Elsner <open@mindrunner.de>2014-05-07 20:21:40 +0200
commita0510b474e19788beb5120aa2c4244843c0d65aa (patch)
treeb1a23e958f6357894905dea5ba0856df24f9cd26
parentfixed idea slot/config problem (diff)
downloadluman-a0510b474e19788beb5120aa2c4244843c0d65aa.tar.gz
luman-a0510b474e19788beb5120aa2c4244843c0d65aa.tar.bz2
luman-a0510b474e19788beb5120aa2c4244843c0d65aa.zip
revision bump
-rw-r--r--dev-util/idea-community/Manifest4
-rw-r--r--dev-util/idea-community/idea-community-13.1.2.135.690.ebuild81
-rw-r--r--dev-util/idea-community/idea-community-13.1.3.135.815_pre1.ebuild81
-rw-r--r--dev-util/idea-ultimate/Manifest4
-rw-r--r--dev-util/idea-ultimate/idea-ultimate-13.1.2.135.690.ebuild81
-rw-r--r--dev-util/idea-ultimate/idea-ultimate-13.1.3.135.815_pre1.ebuild81
6 files changed, 4 insertions, 328 deletions
diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest
index 34943f9..549a200 100644
--- a/dev-util/idea-community/Manifest
+++ b/dev-util/idea-community/Manifest
@@ -4,5 +4,5 @@ AUX idea-community-13.sh.patch 269 SHA256 f021bcc9de7cb0d1d560baca9415c77b10ed3b
AUX idea-community-eap.sh.patch 269 SHA256 f021bcc9de7cb0d1d560baca9415c77b10ed3be9de29d9d6d6fc5e09be064bf5 SHA512 3d8c28a63a3865710891d100f1e72f036130ce1226a7b36abb32a9218b95d1026bced77abff43132b19e734f9ae8584353a61d7f3974264ec3a59ac464ad37ee WHIRLPOOL e76322e5fa1c6af064dc16acced1aa98400318ab93df1771ad3d9181f2f6d43c944c75037a7e3e91d6e80e2a2fa45d9d1363759a06494b2d01d8344af4daa72a
DIST ideaIC-13.1.2.tar.gz 169383212 SHA256 59fde67bf23e4638edd4b5ada133ac1c61c3132dea936eb7de7ee5ea259cc102 SHA512 dae9beda8f7d5b898d911f0b712cd7185c66108408d4af4695a21402ddfe30b264988649e87a6b5feadbe8d6bd98d9c7269bbf1da69b5a2ade5f1ead565d1ee0 WHIRLPOOL 24481b65b4aae4b146f0335bd49f270bedef328013eaa89a40921a2a99ca46f12809d5b781e0c9b31f838736d9b069f6e6684d62a32397ba0a9ec6f662d8a4c1
DIST ideaIC-135.815.tar.gz 169912854 SHA256 15299667284b97039ed6943a03065b25d1be2fdf84e7cddf9c419c014338ef15 SHA512 9a579cda8f9c31b3316f667968a361c8724c568c15d666a16c86fc65a60744c9e6315355bcb9a0461252ec8622d7d1f150ca465425b41bba0f3f2ffe9783b414 WHIRLPOOL 6bfc024b8c898314f0c419f4c3123a57dbe57ba07c8a21b0882671a07096ad211260139cd66a82d8671c24497835b02908231011041fdf3e8b5382a7c0666d46
-EBUILD idea-community-13.1.2.135.690.ebuild 2338 SHA256 8ab28a69fdfac6253b485e5078ce23b5b440648bf1ec9f03b1fc6f601e66affe SHA512 cb431f0154bafa85fddc6d7e8c560264ab5f25c293dc0e9c20162ddc0786163ee4795045854772875744c2652adfc1522f0e995f9fb115e25268fedbe63bc598 WHIRLPOOL 490f64b80d5e032d433600bb069cdd852a3dbc68de6c7c56ab2bf4b9108e20cd9e2b32b6ccb24b851a9cbcba43594cca9cf799138eab064fc8d603d136cdcb31
-EBUILD idea-community-13.1.3.135.815_pre1.ebuild 2338 SHA256 8ab28a69fdfac6253b485e5078ce23b5b440648bf1ec9f03b1fc6f601e66affe SHA512 cb431f0154bafa85fddc6d7e8c560264ab5f25c293dc0e9c20162ddc0786163ee4795045854772875744c2652adfc1522f0e995f9fb115e25268fedbe63bc598 WHIRLPOOL 490f64b80d5e032d433600bb069cdd852a3dbc68de6c7c56ab2bf4b9108e20cd9e2b32b6ccb24b851a9cbcba43594cca9cf799138eab064fc8d603d136cdcb31
+EBUILD idea-community-13.1.2.135.690-r1.ebuild 2338 SHA256 8ab28a69fdfac6253b485e5078ce23b5b440648bf1ec9f03b1fc6f601e66affe SHA512 cb431f0154bafa85fddc6d7e8c560264ab5f25c293dc0e9c20162ddc0786163ee4795045854772875744c2652adfc1522f0e995f9fb115e25268fedbe63bc598 WHIRLPOOL 490f64b80d5e032d433600bb069cdd852a3dbc68de6c7c56ab2bf4b9108e20cd9e2b32b6ccb24b851a9cbcba43594cca9cf799138eab064fc8d603d136cdcb31
+EBUILD idea-community-13.1.3.135.815_pre2.ebuild 2338 SHA256 8ab28a69fdfac6253b485e5078ce23b5b440648bf1ec9f03b1fc6f601e66affe SHA512 cb431f0154bafa85fddc6d7e8c560264ab5f25c293dc0e9c20162ddc0786163ee4795045854772875744c2652adfc1522f0e995f9fb115e25268fedbe63bc598 WHIRLPOOL 490f64b80d5e032d433600bb069cdd852a3dbc68de6c7c56ab2bf4b9108e20cd9e2b32b6ccb24b851a9cbcba43594cca9cf799138eab064fc8d603d136cdcb31
diff --git a/dev-util/idea-community/idea-community-13.1.2.135.690.ebuild b/dev-util/idea-community/idea-community-13.1.2.135.690.ebuild
deleted file mode 100644
index 2229976..0000000
--- a/dev-util/idea-community/idea-community-13.1.2.135.690.ebuild
+++ /dev/null
@@ -1,81 +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-5)"
-MY_PRE="$(get_version_component_range 6-6)"
-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-${PN2}-${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
- # 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-13.1.3.135.815_pre1.ebuild b/dev-util/idea-community/idea-community-13.1.3.135.815_pre1.ebuild
deleted file mode 100644
index 2229976..0000000
--- a/dev-util/idea-community/idea-community-13.1.3.135.815_pre1.ebuild
+++ /dev/null
@@ -1,81 +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-5)"
-MY_PRE="$(get_version_component_range 6-6)"
-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-${PN2}-${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
- # 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 122ce43..04ae3ee 100644
--- a/dev-util/idea-ultimate/Manifest
+++ b/dev-util/idea-ultimate/Manifest
@@ -4,5 +4,5 @@ AUX idea-ultimate-13.sh.patch 278 SHA256 4fe375e9ef2d3cca17ebd8945429711ab101970
AUX idea-ultimate-eap.sh.patch 279 SHA256 9392e8ffba3b41dc4d76188922ffa6d34cac5e06ab96efa7550e8d1d30b0edc3 SHA512 2430d197ca3cb35e2fe25b0d7dec13be8fe093ee7cdbb044effd40d574a537eb3b3ab988a285be62af9713f38383205174e87da90b67015eb1a9583f4984b021 WHIRLPOOL abf5a543036fca9b9cc5c8acc15c88051a096a0bcc9688851a021354052b56864f92ab61a01e1345df099fc190a2d59ae85058ed63436e33fa532731ba4eebeb
DIST ideaIU-13.1.2.tar.gz 280167863 SHA256 ccbaed495e2f099c92d1f747a59d7af9f9d41d75cf10e8a299d11825d78685ad SHA512 1d8ffbc16de5a1fa3dd1750b6f9450ba6136040d9deb7cda850da09019790ce9402558bc7ad7b6e5cb00d4e3b670a672771e73082e6a18a66cd71bfe07123ba7 WHIRLPOOL 12283f09d4b0bee19e40393062bc6c5716db85f687e320cfbc2086bf59888eecdb4e8129a5db744832c2a4c0c099c96a37bfa43362ba522db7ad523b5b0e5bd2
DIST ideaIU-135.815.tar.gz 280656433 SHA256 bb987dbd43587be25d2f9da44dd688e7e38dcde90d69dde1193adeb08e0b1b49 SHA512 516613d757c04e3a26a2e1cd6fd412b8f10c25d065ca1de3a135ad85f0952981ab0e2f5c8579cecae0dd37dd5f92074565b1d60505376db8aae59cde46cac37f WHIRLPOOL 38b90acdabe110abdd55d8abe9e73a937e3678e5e7a29fa48ca766d06e7524035c911456867fe60e202e355cd636875ba602568b7f15a65c0cb5d2e302db8e46
-EBUILD idea-ultimate-13.1.2.135.690.ebuild 2338 SHA256 8ab28a69fdfac6253b485e5078ce23b5b440648bf1ec9f03b1fc6f601e66affe SHA512 cb431f0154bafa85fddc6d7e8c560264ab5f25c293dc0e9c20162ddc0786163ee4795045854772875744c2652adfc1522f0e995f9fb115e25268fedbe63bc598 WHIRLPOOL 490f64b80d5e032d433600bb069cdd852a3dbc68de6c7c56ab2bf4b9108e20cd9e2b32b6ccb24b851a9cbcba43594cca9cf799138eab064fc8d603d136cdcb31
-EBUILD idea-ultimate-13.1.3.135.815_pre1.ebuild 2338 SHA256 8ab28a69fdfac6253b485e5078ce23b5b440648bf1ec9f03b1fc6f601e66affe SHA512 cb431f0154bafa85fddc6d7e8c560264ab5f25c293dc0e9c20162ddc0786163ee4795045854772875744c2652adfc1522f0e995f9fb115e25268fedbe63bc598 WHIRLPOOL 490f64b80d5e032d433600bb069cdd852a3dbc68de6c7c56ab2bf4b9108e20cd9e2b32b6ccb24b851a9cbcba43594cca9cf799138eab064fc8d603d136cdcb31
+EBUILD idea-ultimate-13.1.2.135.690-r1.ebuild 2338 SHA256 8ab28a69fdfac6253b485e5078ce23b5b440648bf1ec9f03b1fc6f601e66affe SHA512 cb431f0154bafa85fddc6d7e8c560264ab5f25c293dc0e9c20162ddc0786163ee4795045854772875744c2652adfc1522f0e995f9fb115e25268fedbe63bc598 WHIRLPOOL 490f64b80d5e032d433600bb069cdd852a3dbc68de6c7c56ab2bf4b9108e20cd9e2b32b6ccb24b851a9cbcba43594cca9cf799138eab064fc8d603d136cdcb31
+EBUILD idea-ultimate-13.1.3.135.815_pre2.ebuild 2338 SHA256 8ab28a69fdfac6253b485e5078ce23b5b440648bf1ec9f03b1fc6f601e66affe SHA512 cb431f0154bafa85fddc6d7e8c560264ab5f25c293dc0e9c20162ddc0786163ee4795045854772875744c2652adfc1522f0e995f9fb115e25268fedbe63bc598 WHIRLPOOL 490f64b80d5e032d433600bb069cdd852a3dbc68de6c7c56ab2bf4b9108e20cd9e2b32b6ccb24b851a9cbcba43594cca9cf799138eab064fc8d603d136cdcb31
diff --git a/dev-util/idea-ultimate/idea-ultimate-13.1.2.135.690.ebuild b/dev-util/idea-ultimate/idea-ultimate-13.1.2.135.690.ebuild
deleted file mode 100644
index 2229976..0000000
--- a/dev-util/idea-ultimate/idea-ultimate-13.1.2.135.690.ebuild
+++ /dev/null
@@ -1,81 +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-5)"
-MY_PRE="$(get_version_component_range 6-6)"
-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-${PN2}-${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
- # 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-13.1.3.135.815_pre1.ebuild b/dev-util/idea-ultimate/idea-ultimate-13.1.3.135.815_pre1.ebuild
deleted file mode 100644
index 2229976..0000000
--- a/dev-util/idea-ultimate/idea-ultimate-13.1.3.135.815_pre1.ebuild
+++ /dev/null
@@ -1,81 +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-5)"
-MY_PRE="$(get_version_component_range 6-6)"
-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-${PN2}-${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
- # 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}"
-}