mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-util/idea-ultimate: drop 2017.3.2.173.4127.17_pre, bug #685760
SRC_URI is unreschable for a long while. Closes: https://bugs.gentoo.org/685760 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST ideaIU-173.3942.27-no-jdk.tar.gz 562044023 BLAKE2B 57da196682db817b175158b9c9913502490c2a692153e5e5b8a4449958c5613469a0060f1260095e9fb70ca54b5adaf59494cd9c0f6b0cb0b9f7c25cc4571335 SHA512 9cc7e687bef5d213f37e2e24aa2464e0d3dc9a40cb683d1d8fd1438efc6ca988134509a96f558ec87960e950336e062d5161ef6cb491f9c1c572ba077dd0a990
|
||||
DIST ideaIU-173.3942.27.tar.gz 635548505 BLAKE2B e123d731b3516dee3342310b3204dce2247430e81240e4dc729b23146887fef552001bee9aad7528d46c0717654507f16b505f76baf8407609cb9cca7aa9d773 SHA512 1f3586bc2082feec5b986298334445c7b91318f6d5f3d71fe6bfbb1546a63bb33e2bc978ef5fc4438e13d2a3d1dd5abc96fdd4ea5659f64563afbdd3410df8b4
|
||||
DIST ideaIU-173.4127.17-no-jdk.tar.gz 562765679 BLAKE2B 7d287c2723646b4fa541c314099cee96242c058cd67811ec1633737ce33e90678504d0d0b9af1cf1279dbf7281fb87ec9c2723bdb926d554f5a1f0793e13867c SHA512 a3c0afa388705158f431064223f42a7b0daacaa928ef9bc68df1cd5ace542f22c3648620d56478896f663688ea1bf773dc04d8d0ab962d195ace7b057708a272
|
||||
DIST ideaIU-173.4127.17.tar.gz 636265697 BLAKE2B b01efe844375b009c03474df362d2a208008a47e14696e816ded1573f591a777e23db393838c8592277d68817b3d7ebd714bb79445cd0cf0653da3d575af5bf2 SHA512 e05dd3986f77d39bb48f12ac6af5ab76d9c67b3502772c2bc16c16f922c90a3e6b8adb24537eb37defea2e3488968a6dff343eeabf4c6c78740895c8ec7c93fd
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit eutils versionator
|
||||
|
||||
SLOT="0"
|
||||
PV_STRING="$(get_version_component_range 4-6)"
|
||||
MY_PV="$(get_version_component_range 1-3)"
|
||||
MY_PN="idea"
|
||||
|
||||
# distinguish settings for official stable releases and EAP-version releases
|
||||
if [[ "$(get_version_component_range 7)x" = "prex" ]]
|
||||
then
|
||||
# upstream EAP
|
||||
KEYWORDS=""
|
||||
SRC_URI="
|
||||
!custom-jdk? ( https://download-cf.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}-no-jdk.tar.gz )
|
||||
custom-jdk? ( https://download-cf.jetbrains.com/idea/${MY_PN}IU-${PV_STRING}.tar.gz )
|
||||
"
|
||||
else
|
||||
# upstream stable
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="
|
||||
!custom-jdk? ( https://download-cf.jetbrains.com/idea/${MY_PN}IU-${MY_PV}-no-jdk.tar.gz -> ${MY_PN}IU-${PV_STRING}-no-jdk.tar.gz )
|
||||
custom-jdk? ( https://download-cf.jetbrains.com/idea/${MY_PN}IU-${MY_PV}.tar.gz -> ${MY_PN}IU-${PV_STRING}.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 )"
|
||||
IUSE="-custom-jdk"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
DEPEND="!dev-util/${PN}:14
|
||||
!dev-util/${PN}:15"
|
||||
RDEPEND="${DEPEND}
|
||||
>=virtual/jdk-1.7:*"
|
||||
S="${WORKDIR}/${MY_PN}-IU-${PV_STRING}"
|
||||
|
||||
QA_PREBUILT="opt/${PN}-${MY_PV}/*"
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
if ! use amd64; then
|
||||
rm -r plugins/tfsIntegration/lib/native/linux/x86_64 || die
|
||||
fi
|
||||
if ! use arm; then
|
||||
rm bin/fsnotifier-arm || die
|
||||
rm -r plugins/tfsIntegration/lib/native/linux/arm || die
|
||||
fi
|
||||
if ! use ppc; then
|
||||
rm -r plugins/tfsIntegration/lib/native/linux/ppc || die
|
||||
fi
|
||||
if ! use x86; then
|
||||
rm -r plugins/tfsIntegration/lib/native/linux/x86 || die
|
||||
fi
|
||||
if ! use custom-jdk; then
|
||||
if [[ -d jre ]]; then
|
||||
rm -r jre || die
|
||||
fi
|
||||
fi
|
||||
rm -r plugins/tfsIntegration/lib/native/solaris || die
|
||||
rm -r plugins/tfsIntegration/lib/native/hpux || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${PN}-${MY_PV}"
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r *
|
||||
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}
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user