mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Rewrite ARCHITECTURES syntax to new HaikuPorter changes.
HaikuPorter now does not care what is in ARCHITECTURES when building for a SECONDARY_ARCHITECTURE.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
SUMMARY="IDE for the Arduino embedded hardware family"
|
||||
DESCRIPTION="Arduino is an open-source tool used for building electronics projects.
|
||||
DESCRIPTION="Arduino is an open-source tool used for building electronics projects.
|
||||
Arduino consists of a physical programmable circuit board (often referred to as a micro-controller) \
|
||||
and a development environment, or IDE (Integrated Development Environment) that runs on your computer, \
|
||||
used to write and upload computer code to the board."
|
||||
@@ -16,12 +16,7 @@ SOURCE_URI_4="svn+https://github.com/arduino-org/Arduino/trunk/arduino-core/src/
|
||||
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PATCHES="arduino-1.7.4.patchset"
|
||||
@@ -94,7 +89,7 @@ BUILD()
|
||||
|
||||
javac -encoding ISO-8859-1 -cp ./jssc-2.8.0.jar:$sourceDir/lib/arduino-core.jar \
|
||||
$sourceDir2/build/processing/app/SerialPortList.java
|
||||
rm $sourceDir2/build/processing/app/SerialPortList.java
|
||||
rm $sourceDir2/build/processing/app/SerialPortList.java
|
||||
|
||||
cd $sourceDir
|
||||
javac -encoding ISO-8859-1 -cp java/lib/rt.jar:java/lib/tools.jar:./lib/pde.jar:./lib/arduino-core.jar \
|
||||
@@ -115,7 +110,7 @@ INSTALL()
|
||||
{
|
||||
arduinoDir=$appsDir/Arduino
|
||||
mkdir -p $arduinoDir
|
||||
|
||||
|
||||
cp -r examples $arduinoDir
|
||||
cp -r libraries $arduinoDir
|
||||
cp -r reference $arduinoDir
|
||||
@@ -193,7 +188,7 @@ java processing.app.Base "$@"
|
||||
chmod +x $arduinoDir/arduino.sh
|
||||
|
||||
#Copy binary launcher
|
||||
cp "haiku/Arduino IDE" $arduinoDir
|
||||
cp "haiku/Arduino IDE" $arduinoDir
|
||||
|
||||
cp revisions.txt $arduinoDir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user