diff options
author | Mike Pagano <mpagano@gentoo.org> | 2020-01-03 19:12:51 -0500 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2020-01-03 19:12:51 -0500 |
commit | cc48798f0688e6dea518c1f6f22750fd54bb913f (patch) | |
tree | 0a111034cfd200307ebaebd44f0e33c48fe5c350 /dev-util/idea-community | |
parent | app-portage/repoman: Fix Manifest (diff) | |
download | gentoo-cc48798f0688e6dea518c1f6f22750fd54bb913f.tar.gz gentoo-cc48798f0688e6dea518c1f6f22750fd54bb913f.tar.bz2 gentoo-cc48798f0688e6dea518c1f6f22750fd54bb913f.zip |
dev-util/idea-community: Prevent automatic updates
Append a setting to the properties file which
will prevent automatic updates and show the user
from within the application that Gentoo is controlling
that.
Closes: https://bugs.gentoo.org/704494
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
Diffstat (limited to 'dev-util/idea-community')
-rw-r--r-- | dev-util/idea-community/idea-community-2019.3.193.5233.102-r1.ebuild (renamed from dev-util/idea-community/idea-community-2019.3.193.5233.102.ebuild) | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/dev-util/idea-community/idea-community-2019.3.193.5233.102.ebuild b/dev-util/idea-community/idea-community-2019.3.193.5233.102-r1.ebuild index c869f99be759..bf5c5606c6a9 100644 --- a/dev-util/idea-community/idea-community-2019.3.193.5233.102.ebuild +++ b/dev-util/idea-community/idea-community-2019.3.193.5233.102-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -57,15 +57,16 @@ 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}IC-${PV_STRING}.tar.gz -cd "${S}" -mkdir jre64 && cd jre64 && unpack jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz -fi + if use !jbr11 ; then + default_src_unpack + else + cd "${WORKDIR}" + unpack ${MY_PN}IC-${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 @@ -75,6 +76,15 @@ src_prepare() { if use jbr8; then mv "${WORKDIR}/jre" ./"${JRE_DIR}" fi + + 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 } |