From 0bb145b54c2c76ec6a30edc832e37556875ee849 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 17 Dec 2018 19:28:39 +0100 Subject: [PATCH] idea-community: new recipe. this could be built from sources, but it would need patching because we don't have openjfx. --- .../additional-files/IntelliJ_IDEA_Logo.hvif | Bin 0 -> 689 bytes .../additional-files/IntelliJ_IDEA_Logo.svg | 65 ++++++++++++++++++ .../idea_community_bin-2018.3.1.recipe | 45 ++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 dev-util/idea-community/additional-files/IntelliJ_IDEA_Logo.hvif create mode 100644 dev-util/idea-community/additional-files/IntelliJ_IDEA_Logo.svg create mode 100644 dev-util/idea-community/idea_community_bin-2018.3.1.recipe diff --git a/dev-util/idea-community/additional-files/IntelliJ_IDEA_Logo.hvif b/dev-util/idea-community/additional-files/IntelliJ_IDEA_Logo.hvif new file mode 100644 index 0000000000000000000000000000000000000000..aca619ca91532575c61ca254113629b9d02c33ad GIT binary patch literal 689 zcmd6hF-QVY7{~AI%sQnU(gq=18)|3^3M!$7f~cV=mmm#VqCl61h-hfBrKuqa5*uoW zMD5PI?|bjzshKpnG&D3tWPy`Jf%z<_;3$ zw3wRI`k{sq*;eu>$(xhHApIzLwEn_;_7o$emJVd65&>D_x7jeun430q<;zL=W-}Ex z%2z7fd9_L^?uD&HHRscAWhtFZC-W + + + icon_IntelliJIDEA + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dev-util/idea-community/idea_community_bin-2018.3.1.recipe b/dev-util/idea-community/idea_community_bin-2018.3.1.recipe new file mode 100644 index 000000000..f824304aa --- /dev/null +++ b/dev-util/idea-community/idea_community_bin-2018.3.1.recipe @@ -0,0 +1,45 @@ +SUMMARY="Intellij IDEA Community Edition" +DESCRIPTION="A Java Integrated Development Environment to develop computer \ +software." +HOMEPAGE="https://www.jetbrains.com/idea/" +COPYRIGHT="2018 JetBrains s.r.o." +LICENSE="Apache v2" +REVISION="1" +buildVersion="183.4588.61" +SOURCE_URI="https://download.jetbrains.com/idea/ideaIC-$portVersion-no-jdk.tar.gz#noarchive" +CHECKSUM_SHA256="c6bd74e4280c3cf850fd6953a47e0e91ffb882b3b0ca25de12ac745f65a5d3e3" +ADDITIONAL_FILES="IntelliJ_IDEA_Logo.hvif" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE="true" + +PROVIDES=" + idea_community_bin = $portVersion + " +REQUIRES=" + haiku + java:environment == 8 + " + +BUILD_REQUIRES=" + " +BUILD_PREREQUIRES=" + " + +INSTALL() +{ + mkdir -p $appsDir + tar xvf ideaIC-$portVersion-no-jdk.tar.gz -C $appsDir + mv $appsDir/idea-IC-$buildVersion $appsDir/idea + + cat << EOF > $appsDir/idea/idea.sh +#!/bin/sh -l +export PATH=\$JDK8_HOME/bin:\$PATH +exec $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' +}