mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
* 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>
48 lines
1.2 KiB
Bash
48 lines
1.2 KiB
Bash
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="251.27812.49"
|
|
SOURCE_URI="https://download.jetbrains.com/idea/ideaIC-$portVersion.tar.gz#noarchive"
|
|
CHECKSUM_SHA256="34e0d7d20b6ff303cfbb97c75147b11a437221b96783687d9909adf1d56817ff"
|
|
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 == 21
|
|
"
|
|
|
|
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=\$JDK21_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'
|
|
}
|