Commit 27bffeb5 authored by Felix Paul Kühne's avatar Felix Paul Kühne

compile script: remove option to switch between stable and unstable VLCKit

This was a broken approach, which wasn't maintained anyway

This also removes the cloning of DAVKit since it is currently not used and should be added through Cocoapods once we decide to actually implement WebDAV support
parent 20b2f7aa
#!/bin/sh
# Copyright (C) Pierre d'Herbemont, 2010
# Copyright (C) Felix Paul Kühne, 2012-2013
# Copyright (C) Felix Paul Kühne, 2012-2014
set -e
......@@ -11,10 +11,8 @@ VERBOSE=no
CONFIGURATION="Release"
NONETWORK=no
SKIPLIBVLCCOMPILATION=no
UNSTABLEVLCKIT=yes
TESTEDVLCKITHASH=4c79a817e
TESTEDUNSTABLEVLCKITHASH=fbaf10813
TESTEDVLCKITHASH=fbaf10813
TESTEDMEDIALIBRARYKITHASH=2d98d90aa
usage()
......@@ -29,7 +27,6 @@ OPTIONS
-d Enable Debug
-n Skip script steps requiring network interaction
-l Skip libvlc compilation
-p Compile stable version of MobileVLCKit (default unstable)
EOF
}
......@@ -116,9 +113,6 @@ do
k)
SDK=$OPTARG
;;
p)
UNSTABLEVLCKIT=no
;;
?)
usage
exit 1
......@@ -163,11 +157,9 @@ cd MediaLibraryKit
git reset --hard ${TESTEDMEDIALIBRARYKITHASH}
cd ..
fi
if [ "$UNSTABLEVLCKIT" = "no" ]; then
if ! [ -e VLCKit ]; then
git clone git://git.videolan.org/vlc-bindings/VLCKit.git
cd VLCKit
git checkout 2.1-stable
git reset --hard ${TESTEDVLCKITHASH}
cd ..
else
......@@ -175,23 +167,6 @@ cd VLCKit
git reset --hard ${TESTEDVLCKITHASH}
cd ..
fi
else
if ! [ -e VLCKit ]; then
git clone git://git.videolan.org/vlc-bindings/VLCKit.git
cd VLCKit
git reset --hard ${TESTEDUNSTABLEVLCKITHASH}
cd ..
else
cd VLCKit
git reset --hard ${TESTEDUNSTABLEVLCKITHASH}
cd ..
fi
fi
if ! [ -e DAVKit ]; then
git clone git://github.com/mattrajca/DAVKit.git
else
cd DAVKit && git pull --rebase && cd ..
fi
if ! [ -e GDrive ]; then
svn checkout http://google-api-objectivec-client.googlecode.com/svn/trunk/Source GDrive
cd GDrive && patch -p0 < ../../patches/gdrive/upgrade-default-target.patch && cd ..
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment