-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install-audiality2.sh now aborts if Audiality 2 development files are already installed in the system. If the repository is already in place, the script performs a 'git pull' on it, instead of trying (and failing) to clone it. install-full-data.sh now checks if the repository and symlink are present, acts accordingly. install-demo-data.sh and install-win32-redist.sh now abort if the respective directories are already in place. The scripts now have variables at the top for archive names and versions.
- Loading branch information
Showing
4 changed files
with
53 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
#!/bin/sh | ||
A2RELEASE=v1.9.2 | ||
|
||
if pkg-config audiality2 --exists; then | ||
echo "Audiality 2 already installed on the system!" | ||
exit | ||
fi | ||
|
||
set -ex | ||
git clone https://github.com/olofson/audiality2.git | ||
cd audiality2 | ||
git checkout v1.9.2 | ||
if [ ! -d "audiality2" ]; then | ||
git clone https://github.com/olofson/audiality2.git | ||
cd audiality2 | ||
else | ||
cd audiality2 | ||
git pull | ||
fi | ||
git checkout ${A2RELEASE} | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=OFF -DUSE_ALSA=NO -DUSE_JACK=NO .. && make && sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
#!/bin/sh | ||
DEMOARC="KoboRedux-Demo-0.7.2-Data.tar.bz2" | ||
|
||
if [ -d "demo-data" ]; then | ||
echo "Demo data files (demo-data) already in place!" | ||
exit | ||
fi | ||
|
||
set -ex | ||
wget http://koboredux.com/download/KoboRedux-Demo-0.7.2-Data.tar.bz2 | ||
tar -xjvf KoboRedux-Demo-0.7.2-Data.tar.bz2 | ||
mv KoboRedux-Demo-0.7.2-Data demo-data | ||
|
||
mkdir demo-data | ||
cd demo-data | ||
wget "http://koboredux.com/download/${DEMOARC}" | ||
tar -xjvf ${DEMOARC} --strip-components=1 | ||
rm ${DEMOARC} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
#!/bin/sh | ||
RELEASE=v0.7.2 | ||
|
||
set -ex | ||
git clone [email protected]:olofson/koboreduxassets.git | ||
cd koboreduxassets | ||
git checkout v0.7.2 | ||
|
||
if [ !-d "koboreduxassets" ]; then | ||
git clone [email protected]:olofson/koboreduxassets.git | ||
cd koboreduxassets | ||
else | ||
cd koboreduxassets | ||
git checkout master | ||
git pull | ||
fi | ||
|
||
git checkout ${RELEASE} | ||
|
||
cd .. | ||
ln -s koboreduxassets/data full-data | ||
|
||
if [ ! -L full-data ]; then | ||
ln -s koboreduxassets/data full-data | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters