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.1.1-r1.ebuild)55
2 files changed, 47 insertions, 14 deletions
diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest
index 784954ed6874..d07c3369b03f 100644
--- a/dev-util/idea-community/Manifest
+++ b/dev-util/idea-community/Manifest
@@ -1,4 +1,4 @@
-DIST idea-community-2024.1.1-aarch64.tar.gz 818376053 BLAKE2B 193d5a735a93840e0857905ee1fb233bbaf3a0eac0c90fc3ef8f370eaa97a0ef7c1f247d73d8455f97d7e578f692ae990f1155a626f8c0372a536bd726bf552d SHA512 5a73b8fadcde4abd75cb50c1a61b3d53fb6fff38a9fc338f8b9dd9f78911e1182f58c0788e935a30e8937232bdcfb8d60894d9baf2f408cc57c4b229c5c8b76d
-DIST idea-community-2024.1.1-amd64.tar.gz 818675061 BLAKE2B cfe995c8f2de6493291d1b47ba5402c07409a0de7f51f73eae1423cf2b87a43191b0e69914ec77d50ae9237bd4ed702118531af169d2b80f9e3ead2449f1a5d3 SHA512 7cec47a883fd084ca91d9dce0e0f9685a9606c503b64f2e6d6932f33af7cb337c1925d884324e867a56cf8164f74916b5b532bef4f828d89f633df0fa8ba3e78
-EBUILD idea-community-2024.1.1-r1.ebuild 3816 BLAKE2B 44f3c87e5f6375bef4b62f0f21892b300479daf7b98833abd23d1fc6c9f3a71701c0f3aefb4006ed82504b02838eaf53da505d03687d3d9b3ab7d1b5268b2709 SHA512 e400296c683f9ce072afba8d1e405affb281c474e589aad8e2839752f523cd937760fe3f156d1ee0ef1edcbef24b714012d5be0910a0ca2bd7bad48e97dec7de
+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.1.1-r1.ebuild b/dev-util/idea-community/idea-community-2024.2.4.ebuild
index ca53839b9825..9ddf71a93e45 100644
--- a/dev-util/idea-community/idea-community-2024.1.1-r1.ebuild
+++ b/dev-util/idea-community/idea-community-2024.2.4.ebuild
@@ -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,10 +130,17 @@ src_install() {
insinto "${dir}"
doins -r *
- fperms 755 "${dir}"/bin/{format.sh,idea.sh,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=jre64
- else
+ JRE_DIR=jre
JRE_DIR=jre
fi
@@ -121,7 +158,7 @@ src_install() {
local pngfile="$(find ${dst}/bin -maxdepth 1 -iname '*.png')"
newicon $pngfile "${PN}.png" || die "we died"
- make_desktop_entry "${PN}" "IntelliJ Idea Community Edition" "${PN}" "Development;IDE;"
+ make_desktop_entry "/opt/idea-community/bin/idea" "IntelliJ Idea Community Edition" "${PN}" "Development;IDE;"
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
mkdir -p "${D}/etc/sysctl.d/" || die
@@ -129,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"
-
}