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
|
#!/bin/sh
if [ -z "$NDK_MODULE_PATH" ]; then
echo "ERROR: NDK_MODULE_PATH is not set. Please set this variable to continue.\n";
exit;
fi
echo "Using NDK_MODULE_PATH: $NDK_MODULE_PATH\n"
cd $NDK_MODULE_PATH
# LIBSNDFILE
LIBSNDFILE_REPO=http://bitbucket.org/kunstmusik/libsndfile-android.git
if [ -e libsndfile-android ]; then
echo "libsndfile-android already exists, doing a pull to get the latest";
cd libsndfile-android;
git pull;
cd ..;
else
echo "Cloning libsndfile-android...";
git clone $LIBSNDFILE_REPO
fi
# FLUIDSYNTH
FLUIDSYNTH_REPO=http://bitbucket.org/kunstmusik/fluidsynth-android.git
if [ -e fluidsynth-android ]; then
echo "fluidsynth-android already exists, doing a pull to get the latest";
cd fluidsynth-android;
git pull;
cd ..;
else
echo "Cloning fluidsynth-android...";
git clone $FLUIDSYNTH_REPO
fi
# STK
STK_REPO=http://github.com/thestk/stk.git
if [ -e stk ]; then
echo "STK already exists, doing a pull to get the latest";
cd stk;
git pull;
cd ..;
else
echo "Cloning STK...";
git clone $STK_REPO
fi
# OpenSoundControl
OSC_REPO=https://bitbucket.org/michael_gogins/liblo-android
if [ -e liblo-android ]; then
echo "liblo-android already exists, doing a pull to get the latest";
cd liblo-android;
git pull;
cd ..;
else
echo "Cloning liblo...";
git clone $OSC_REPO
fi
|