This repository has been archived by the owner on Oct 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
clone_addons.sh
executable file
·107 lines (81 loc) · 2.97 KB
/
clone_addons.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/bin/bash
# Clones dependencies for karmaMapper
# Inspired by ObviousJim and ofxTimeline "clone_addons.sh" script
cd ../../../addons/
if [ -z $1 ]; then
PREFIX="git clone https://github.com/"
else
PREFIX="git clone git@github.com:"
fi
# variable for testing OS
unamestr=`uname`
echo "karmaMapper"
echo " - - - - - "
echo "Cloning addons starting."
echo "Cloning ofxAbletonLiveSet..."
#${PREFIX}satoruhiga/ofxAbletonLiveSet.git
${PREFIX}daandelange/ofxAbletonLiveSet.git
if [[ "$unamestr" == 'Linux' ]]; then
echo "Cloning ofxTextInputField for Linux..."
echo "IMPORTANT WARNING: Please make sure you checkout the develop branch of ofxTextInputField"
${PREFIX}Flightphase/ofxTextInputField.git -b develop
else
${PREFIX}Flightphase/ofxTextInputField.git
fi
echo "Cloning ofxGuiExtended..."
${PREFIX}frauzufall/ofxGuiExtended.git
echo "Cloning ofxImGui..."
${PREFIX}jvcleave/ofxImGui.git
#${PREFIX}toruurakawa/ofxTextBox.git
# Not needed anymore ?
#${PREFIX}hironishihara/ofxTrueTypeFontUC.git
#${PREFIX}ofxTrueTypeFontUC.git
echo "Cloning ofxMSATimer..."
${PREFIX}runemadsen/ofxVLCRemote.git
if [[ $OSTYPE == darwin* ]] || [[ "$unamestr" == 'Linux' ]]; then
echo "Installing ofxVideoRecorder for mac or linux"
#${PREFIX}timscaffidi/ofxVideoRecorder.git -b 0.9.0
${PREFIX}timscaffidi/ofxVideoRecorder.git
else
# for windows::::
echo "Installing ofxVideoRecorder for windows..."
${PREFIX}DomAmato/ofxVideoRecorder.git
fi
# will probably become: ${PREFIX}astellato/ofxSyphon.git -b OF-9.0
echo "Cloning ofxSyphon... (only needed on osx, make sure to checkout the openGL3 branch)"
${PREFIX}daandelange/ofxSyphon.git -b openGL3
echo "Cloning ofxMSATimer..."
${PREFIX}obviousjim/ofxMSATimer.git
# note: Only required on Mac
echo "Cloning ofxUVC... (osx only)"
# OF0.9 ${PREFIX}atduskgreg/ofxUVC.git
${PREFIX}stephanschulz/ofxUVC.git
echo "Cloning ofxFps..."
${PREFIX}tobiasebsen/ofxFps.git
echo "Cloning ofxDelaunay..."
${PREFIX}obviousjim/ofxDelaunay.git
echo "Cloning ofxTurboJpeg..."
${PREFIX}armadillu/ofxTurboJpeg.git
echo "IMPORTANT WARNING: To link with ofxTurboJpeg, you have to install turboJpeg. See ofxTurboJpeg's readme for more details."
echo "Cloning ofxFaceTracker..."
${PREFIX}kylemcdonald/ofxFaceTracker.git
# copy needed files to karmaMapper
cp -R ./ofxFaceTracker/libs/FaceTracker/model/ ../apps/karmaApps/karmaMapper/bin/data/model/
echo "IMPORTANT WARNING: Copied ofxFaceTracker model data files. See the addon's license for appropriate usage."
# face tracker dependency
echo "Cloning ofxCv... (ofxFaceTracker dependency)"
${PREFIX}kylemcdonald/ofxCv.git
echo "Cloning ofxSerial..."
${PREFIX}bakercp/ofxSerial.git
# dependency of ofxSerial
echo "Cloning ofxIO... (ofxSerial dependency)"
${PREFIX}bakercp/ofxIO.git
echo "Cloning ofxLiquidFun..."
${PREFIX}tado/ofxLiquidFun.git
echo "Cloning ofxAbletonLink..."
${PREFIX}comoc/ofxAbletonLink.git
echo "Cloning ofxAbletonLink's submodules..."
cd ./ofxAbletonLink
git submodule update --init --recursive
cd ../
echo "Done cloning addons! :)"