summaryrefslogtreecommitdiff
path: root/dev-util/idea-community
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/idea-community')
-rw-r--r--dev-util/idea-community/Manifest6
-rw-r--r--dev-util/idea-community/idea-community-2024.2.4.ebuild (renamed from dev-util/idea-community/idea-community-2024.2.0.2.ebuild)52
2 files changed, 46 insertions, 12 deletions
diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest
index e52440f553b8..d07c3369b03f 100644
--- a/dev-util/idea-community/Manifest
+++ b/dev-util/idea-community/Manifest
@@ -1,4 +1,4 @@
-DIST idea-community-2024.2.0.2-aarch64.tar.gz 994007824 BLAKE2B 08727c3e808edbb70ec546bbf73aef8abe499a7bb36ab5fd18972318d4cc31aa6485aeccf6b6b40af7fc0c0a136aab229fbb99f7b55d22dd76454f48edc0d6e5 SHA512 45ab7604575c792416dd4c5f44194b590e68d8908fbd25be815409376fc4df1f1560e6e8299237acf32e3ea0bbce3ea03dd1542c687a9e8e23845feb972f4c69
-DIST idea-community-2024.2.0.2-amd64.tar.gz 994626688 BLAKE2B f94d3f90349035aa00023fbf8ecc27fa14507a434e0b04f5b2e3db16104c4eb892f8f34544d6bb1d5377e27f5782b4300dca7762704df84baf3aa457137c38ba SHA512 dc63a6a3916a4990cf3b8f013703af01e1f95df02a222d40989e62dbd153f1df24c3b4c6abfbc941143d7d41e322f7d122717ae1376769f8e79ed0d1c6c3980b
-EBUILD idea-community-2024.2.0.2.ebuild 3828 BLAKE2B 1fa5ad4bf2044a40954735c898a7be47972e5ffff134370d8b3b1aad461c01068d3ec52e8ea0900b588e6520105cb5601fa7070c542e9d26c6ad9b26468fe3e6 SHA512 3c793a04e8dfde2267384abebd45b67a7748d9f1017b17004e33745e8301ef0fc4266a8c3169ac54fafb2b07a9a2fbea564e9904d2fa307f4b3ee89322d25a46
+DIST idea-community-2024.2.4-aarch64.tar.gz 880687301 BLAKE2B 2879cc0f56fd9200fee7193553aaffe12c34022592335dcb8c43cf17bdab29ea276836e5f0854806adae4ddadc06ef10b72fdc275277bc5dbbf1c1dc5e0ba6a5 SHA512 f22206a5ce12b55f68958f83aecaafe78574729b125d229f0b26819206232a3112417cc0a40a14120d559fd44fff2ee7b4f6e20e52e3e3444b38bb339559a294
+DIST idea-community-2024.2.4-amd64.tar.gz 881317233 BLAKE2B c1923df4a8900d1872e584369f02e648e97fa98d24af0cf5e074344db53cf63e83b3aae683cb2653e179a9f712164864587134702232a9804166a31af8d2d0f9 SHA512 9c6b4bc679a5e2b3087880708aafc8cfa7672bfa41dae6531d4dcb7ab76585bc64e7794d87eff3c6440bde4a747c38645ca81cb0979eb3484ed9dce3952ea9f2
+EBUILD idea-community-2024.2.4.ebuild 4732 BLAKE2B 2018d320ba8e2092172200f83e4c6bcf94d68fa66953a19d3e9edaa37419d15103d8643d1e7d2b91bdaa16bbe76fc25d6e549cf6d7b86e51c7cf70e060c442d4 SHA512 40534b679d0d26d1b963a57ea6db489f8d85d5c4e589696662f2da345016755732cd2c612b8a00872aa0754b491691e497745896bde684db91d5c1b4fe4f47c8
MISC metadata.xml 454 BLAKE2B 297cfd8c543bf216cd45b66b5284f310659422e91f12af3d0bbe2ff689d94c96988d4c125c75a95526135b2c0f54a004ee43e1c1c4dfe4d1d68e86af5f75ab0d SHA512 5ca382bcbc51ea5400cbaeb067bccfcb4a245e208a2769d800cbd80fc7151310f895d410e5828c9a32223ab93345716ba4a2ebce521092631a4b7c0858519ef2
diff --git a/dev-util/idea-community/idea-community-2024.2.0.2.ebuild b/dev-util/idea-community/idea-community-2024.2.4.ebuild
index 9590a791d7ba..9ddf71a93e45 100644
--- a/dev-util/idea-community/idea-community-2024.2.0.2.ebuild
+++ b/dev-util/idea-community/idea-community-2024.2.4.ebuild
@@ -4,7 +4,7 @@
EAPI=8
inherit desktop wrapper
-MY_PV=$(ver_cut 1-4)
+MY_PV=$(ver_cut 1-3)
DESCRIPTION="A complete toolset for web, mobile and enterprise development"
HOMEPAGE="https://www.jetbrains.com/idea"
@@ -34,13 +34,35 @@ RDEPEND="${DEPEND}
sys-libs/glibc
media-libs/harfbuzz
dev-java/jansi-native
- dev-libs/libdbusmenu"
+ sys-libs/zlib
+ x11-libs/libX11
+ x11-libs/libXrender
+ media-libs/freetype
+ x11-libs/libXext
+ dev-libs/wayland
+ x11-libs/libXi
+ x11-libs/libXtst
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXrandr
+ media-libs/alsa-lib
+ app-accessibility/at-spi2-core
+ x11-libs/cairo
+ net-print/cups
+ x11-libs/libdrm
+ media-libs/mesa
+ dev-libs/nspr
+ dev-libs/nss
+ dev-libs/libdbusmenu
+ x11-libs/libxkbcommon
+ x11-libs/libXcursor
+ x11-libs/pango"
+
+QA_PREBUILT="opt/${PN}/*"
BDEPEND="dev-util/patchelf"
RESTRICT="splitdebug"
-QA_PREBUILT="opt/${PN}/*"
-
src_unpack() {
default_src_unpack
@@ -91,6 +113,14 @@ src_prepare() {
-e "\$a#-----------------------------------------------------------------------" \
-e "\$aide.no.platform.update=Gentoo" bin/idea.properties
+ patchelf --set-rpath '$ORIGIN' "jbr/lib/libjcef.so" || die
+ patchelf --set-rpath '$ORIGIN' "jbr/lib/libcef.so" || die
+ patchelf --set-rpath '$ORIGIN' "jbr/lib/jcef_helper" || die
+
+ if ! use elibc_musl; then
+ rm plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release
+ fi
+
eapply_user
}
@@ -100,7 +130,15 @@ src_install() {
insinto "${dir}"
doins -r *
- fperms 755 "${dir}"/bin/{format.sh,idea,inspect.sh,restarter,fsnotifier}
+ fperms 755 "${dir}"/bin/{format.sh,idea,idea.sh,inspect.sh,restarter,fsnotifier}
+
+ if [[ -d jbr ]]; then
+ fperms 755 "${dir}"/jbr/bin/{java,javac,javadoc,jcmd,jdb,jfr,jhsdb,jinfo,jmap,jps,jrunscript,jstack,jstat,jwebserver,keytool,rmiregistry,serialver}
+
+ # Fix #763582
+ fperms 755 "${dir}"/jbr/lib/{chrome-sandbox,jcef_helper,jexec,jspawnhelper}
+ fi
+
if use amd64; then
JRE_DIR=jre
JRE_DIR=jre
@@ -128,8 +166,4 @@ src_install() {
# remove bundled harfbuzz
rm -f "${D}"/lib/libharfbuzz.so || die "Unable to remove bundled harfbuzz"
-
- # remove bundled java
- rm -r ${dst}/jbr || die "Unable to remove bundled java"
-
}