idea_community_bin, add 32bit/64bit seperatly (#12703)

* idea_community_bin, add 32bit/64bit seperatly

openjdk only goes up to 17 on 32bit

* Update dev-util/idea-community/idea_community_bin-2025.1.4.1.recipe

Co-authored-by: Joachim Mairböck <j.mairboeck@gmail.com>

---------

Co-authored-by: Joachim Mairböck <j.mairboeck@gmail.com>
This commit is contained in:
Schrijvers Luc
2025-08-08 11:59:44 +02:00
committed by GitHub
parent abab4d0948
commit de98eb4bba
2 changed files with 54 additions and 3 deletions

View File

@@ -0,0 +1,47 @@
SUMMARY="Intellij IDEA Community Edition"
DESCRIPTION="A Java Integrated Development Environment to develop computer \
software."
HOMEPAGE="https://www.jetbrains.com/idea/"
COPYRIGHT="2025 JetBrains s.r.o."
LICENSE="Apache v2"
REVISION="2"
buildVersion="243.26053.27"
SOURCE_URI="https://download.jetbrains.com/idea/ideaIC-$portVersion.tar.gz#noarchive"
CHECKSUM_SHA256="8a287528d830e6cdec2ded13c974c39a35b7555243c22d8b83113c96c26630aa"
ADDITIONAL_FILES="IntelliJ_IDEA_Logo.hvif"
if [ "$targetArchitecture" == "x86_gcc2" ]; then
ARCHITECTURES="any"
else
ARCHITECTURES="!any"
fi
DISABLE_SOURCE_PACKAGE="true"
PROVIDES="
idea_community_bin = $portVersion
"
REQUIRES="
haiku
java:environment == 17
"
BUILD_PREREQUIRES="
"
INSTALL()
{
mkdir -p $appsDir
tar xvf ideaIC-$portVersion.tar.gz -C $appsDir
mv $appsDir/idea-IC-$buildVersion $appsDir/idea
rm -rvf $appsDir/idea/jbr
cat << EOF > $appsDir/idea/idea.sh
#!/bin/sh -l
export PATH=\$JDK17_HOME/bin:\$PATH
$appsDir/idea/bin/idea.sh &
EOF
chmod 755 $appsDir/idea/idea.sh
addattr -t icon -f $portDir/additional-files/IntelliJ_IDEA_Logo.hvif \
"BEOS:ICON" "$appsDir/idea/idea.sh"
addAppDeskbarSymlink $appsDir/idea/idea.sh 'IDEA IntelliJ CE'
}

View File

@@ -4,13 +4,17 @@ software."
HOMEPAGE="https://www.jetbrains.com/idea/"
COPYRIGHT="2025 JetBrains s.r.o."
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
buildVersion="251.27812.49"
SOURCE_URI="https://download.jetbrains.com/idea/ideaIC-$portVersion.tar.gz#noarchive"
CHECKSUM_SHA256="34e0d7d20b6ff303cfbb97c75147b11a437221b96783687d9909adf1d56817ff"
ADDITIONAL_FILES="IntelliJ_IDEA_Logo.hvif"
ARCHITECTURES="any"
if [ "$targetArchitecture" != "x86_gcc2" ]; then
ARCHITECTURES="any"
else
ARCHITECTURES="!any"
fi
DISABLE_SOURCE_PACKAGE="true"
PROVIDES="
@@ -32,7 +36,7 @@ INSTALL()
rm -rvf $appsDir/idea/jbr
cat << EOF > $appsDir/idea/idea.sh
#!/bin/sh -l
export PATH=\$JDK17_HOME/bin:\$PATH
export PATH=\$JDK21_HOME/bin:\$PATH
$appsDir/idea/bin/idea.sh &
EOF
chmod 755 $appsDir/idea/idea.sh