mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Merge pull request #379 from cyj0912/gci
[GCI] #2 Change recipes to download safe sources
This commit is contained in:
@@ -3,32 +3,34 @@ DESCRIPTION="Arduino is an open-source tool used for building electronics projec
|
||||
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."
|
||||
|
||||
HOMEPAGE="http://arduino.org"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2015 Arduino S.r.l. - Italy"
|
||||
|
||||
SOURCE_URI="http://download.arduino.org/IDE/1.7.7/arduino-1.7.7.org-linux32.tar.xz"
|
||||
CHECKSUM_SHA256="1640363e847f97ad640f248fc635d324b73219ec8a93147967d1dcda07db1d3c"
|
||||
SOURCE_URI_2="git+https://github.com/scream3r/java-simple-serial-connector#f5564869f8a70503c29c0d24609245321ba39b2c"
|
||||
SOURCE_URI_3="svn+https://github.com/arduino-org/Arduino/trunk/app/src/processing/app"
|
||||
SOURCE_URI_4="svn+https://github.com/arduino-org/Arduino/trunk/arduino-core/src/processing"
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
SOURCE_URI="http://download.arduino.org/IDE/1.7.7/arduino-1.7.7.org-linux32.tar.xz"
|
||||
SOURCE_URI_2="https://github.com/scream3r/java-simple-serial-connector/archive/f5564869f8a70503c29c0d24609245321ba39b2c.tar.gz"
|
||||
SOURCE_URI_3="https://github.com/arduino-org/Arduino/archive/67152784328dd589ad34c9aeae54158a2b92a89d.tar.gz"
|
||||
SOURCE_URI_4="https://github.com/arduino-org/Arduino/archive/67152784328dd589ad34c9aeae54158a2b92a89d.tar.gz"
|
||||
CHECKSUM_SHA256="1640363e847f97ad640f248fc635d324b73219ec8a93147967d1dcda07db1d3c"
|
||||
CHECKSUM_SHA256_2="3d874fbf2afa60f6c21db7da6d89cc584f42e6ff01b63238bf235776699379e6"
|
||||
CHECKSUM_SHA256_3="b1010b340ee274a3cc0e3768b12098fb002a1100777d72b114f1a068df428102"
|
||||
CHECKSUM_SHA256_4="b1010b340ee274a3cc0e3768b12098fb002a1100777d72b114f1a068df428102"
|
||||
SOURCE_DIR="arduino-1.7.7-linux32"
|
||||
SOURCE_DIR_2="java-simple-serial-connector-f5564869f8a70503c29c0d24609245321ba39b2c"
|
||||
SOURCE_DIR_3="Arduino-67152784328dd589ad34c9aeae54158a2b92a89d/app/src/processing/app"
|
||||
SOURCE_DIR_4="Arduino-67152784328dd589ad34c9aeae54158a2b92a89d/arduino-core/src/processing"
|
||||
PATCHES="arduino-1.7.x.patchset"
|
||||
PATCHES_2="jssc_2.8.0.patchset"
|
||||
PATCHES_3="JFileChooser-1.7.x.patchset"
|
||||
PATCHES_4="SettingsFolder-1.7.x.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
arduino$secondaryArchSuffix = $portVersion
|
||||
app:Arduino$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
openjdk$secondaryArchSuffix
|
||||
@@ -37,6 +39,7 @@ REQUIRES="
|
||||
avr_gcc$secondaryArchSuffix
|
||||
avr_binutils$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
openjdk$secondaryArchSuffix
|
||||
@@ -50,8 +53,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:jar
|
||||
"
|
||||
|
||||
SOURCE_DIR="arduino-1.7.7-linux32"
|
||||
|
||||
DISABLE_SOURCE_PACKAGE=yes
|
||||
|
||||
BUILD()
|
||||
@@ -142,9 +143,11 @@ INSTALL()
|
||||
# $arduinoDir/hardware/arduino/samd/platform.txt
|
||||
|
||||
#Disable check for update
|
||||
sed -i 's|^update.check.*|update.check = false|g' $arduinoDir/lib/preferences.txt
|
||||
sed -i 's|^update.check.*|update.check = false|g' \
|
||||
$arduinoDir/lib/preferences.txt
|
||||
#Set default serial port
|
||||
sed -i 's|^serial.port=.*|serial.port=/dev/ports/usb0|g' $arduinoDir/lib/preferences.txt
|
||||
sed -i 's|^serial.port=.*|serial.port=/dev/ports/usb0|g' \
|
||||
$arduinoDir/lib/preferences.txt
|
||||
#Add command for opening
|
||||
echo "browser = /bin/open" >> $arduinoDir/lib/preferences.txt
|
||||
echo "launcher = /bin/open" >> $arduinoDir/lib/preferences.txt
|
||||
|
||||
@@ -15,9 +15,11 @@ LICENSE="
|
||||
GNU GPL v2
|
||||
"
|
||||
REVISION="2"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
SOURCE_URI="https://github.com/cpcsdk/cpctools/archive/ac9ebe65c7eb49bc1175050d4a6d912bbf5856f5.tar.gz"
|
||||
CHECKSUM_SHA256="a4bb951fb5866e2db4a87a4104187bb5265f3de089f3ed500b132d6cd0dd9942"
|
||||
SOURCE_DIR="cpctools-ac9ebe65c7eb49bc1175050d4a6d912bbf5856f5"
|
||||
|
||||
SOURCE_URI="git+https://github.com/cpcsdk/cpctools.git#ac9ebe65c7eb49bc1175050d4a6d912bbf5856f5"
|
||||
ARCHITECTURES="x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
cpctools = $portVersion
|
||||
@@ -32,7 +34,6 @@ PROVIDES="
|
||||
cmd:raw2crtc
|
||||
lib:libcpc
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libdsk
|
||||
@@ -46,7 +47,6 @@ BUILD_REQUIRES="
|
||||
devel:libpng
|
||||
devel:libz
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc
|
||||
|
||||
@@ -3,17 +3,18 @@ DESCRIPTION="Some tools which enable multi-platform development on the TI \
|
||||
Stellaris Launchpad boards. The Stellaris Launchpad is a low cost development \
|
||||
board created by Texas Instruments that comes with an ARM Cortex-M4F processor."
|
||||
HOMEPAGE="https://github.com/utzig/lm4tools"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
SOURCE_URI="git+https://github.com/utzig/lm4tools.git#1cfd813779b9eb717b15b0a1814bde8338899ff9"
|
||||
COPYRIGHT="
|
||||
2012 Fabio Utzig
|
||||
2012 Peter Stuge
|
||||
"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/utzig/lm4tools/archive/1cfd813779b9eb717b15b0a1814bde8338899ff9.tar.gz"
|
||||
CHECKSUM_SHA256="cd28b701384f00affe6aad2f3addcd54ca167737004c4f8926304627816c42d6"
|
||||
SOURCE_DIR="lm4tools-1cfd813779b9eb717b15b0a1814bde8338899ff9"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
lm4tools = $portVersion
|
||||
@@ -23,6 +24,7 @@ REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libusb_1.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libusb_1.0$secondaryArchSuffix
|
||||
|
||||
Reference in New Issue
Block a user