summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2020-03-27 15:36:18 -0400
committerMike Pagano <mpagano@gentoo.org>2020-03-27 15:36:18 -0400
commit6d910caa4b1e104dd5e0ff6ae9eccc1d3c97b0dd (patch)
tree9d64adb64f95c6ca0b29e15726da254423596bb0 /dev-util/idea-community
parentnet-mail/b4: bump to 0.3.5 (diff)
downloadgentoo-6d910caa4b1e104dd5e0ff6ae9eccc1d3c97b0dd.tar.gz
gentoo-6d910caa4b1e104dd5e0ff6ae9eccc1d3c97b0dd.tar.bz2
gentoo-6d910caa4b1e104dd5e0ff6ae9eccc1d3c97b0dd.zip
dev-util/idea-community:
Package-Manager: Portage-2.3.89, Repoman-2.3.20 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.3.193.6494.35.ebuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/dev-util/idea-community/idea-community-2019.3.3.193.6494.35.ebuild b/dev-util/idea-community/idea-community-2019.3.3.193.6494.35.ebuild
index 31255cb34380..fbfcbabe739d 100644
--- a/dev-util/idea-community/idea-community-2019.3.3.193.6494.35.ebuild
+++ b/dev-util/idea-community/idea-community-2019.3.3.193.6494.35.ebuild
@@ -61,9 +61,6 @@ QA_PREBUILT="opt/${PN}-${MY_PV}/*"
# jbr11 binary doesn't unpack nicely into a single folder
src_unpack() {
- echo "S is ${S}"
- echo "SRC_URI is ${SRC_URI}"
- echo "unpack ${MY_PN}IC-${PV_STRING}.tar.gz"
if use !jbr11 ; then
default_src_unpack
else
@@ -80,19 +77,25 @@ src_prepare() {
else
JRE_DIR=jre
fi
+
if use jbr8; then
mv "${WORKDIR}/jre" ./"${JRE_DIR}"
+ PLUGIN_DIR="${S}/${JRE_DIR}/lib/${ARCH}"
+ else
+ PLUGIN_DIR="${S}/${JRE_DIR}/lib/"
fi
- rm -vf "${S}"/"${JRE_DIR}"/lib/*/libavplugin* || die
- rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* || die
- rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le || die
- rm -vf "${S}"/bin/libdbm64* || die
+ rm -vf ${PLUGIN_DIR}/libavplugin*
+ rm -vf ${S}/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi*
+ rm -vrf ${S}/lib/pty4j-native/linux/ppc64le
+ rm -vf ${S}/bin/libdbm64*
if [[ -d "${S}"/"${JRE_DIR}" ]]; then
- for file in "${S}"/"${JRE_DIR}"/lib/amd64/{libfxplugins.so,libjfxmedia.so}
+ for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so}
do
- patchelf --set-rpath '$ORIGIN' $file || die
+ if [[ -f "$file" ]]; then
+ patchelf --set-rpath '$ORIGIN' $file || die
+ fi
done
fi