Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
83b58805
Commit
83b58805
authored
Sep 11, 2015
by
Felix Paul Kühne
Browse files
build script: add convienience flag to compile for TV
parent
da18e15d
Changes
1
Hide whitespace changes
Inline
Side-by-side
compileVLCforiOS.sh
View file @
83b58805
...
...
@@ -11,6 +11,7 @@ VERBOSE=no
CONFIGURATION
=
"Release"
NONETWORK
=
no
SKIPLIBVLCCOMPILATION
=
no
TVOS
=
no
TESTEDVLCKITHASH
=
3f93c1e7
TESTEDMEDIALIBRARYKITHASH
=
e5ca039f
...
...
@@ -27,6 +28,7 @@ OPTIONS
-d Enable Debug
-n Skip script steps requiring network interaction
-l Skip libvlc compilation
-t Build for TV
EOF
}
...
...
@@ -71,7 +73,7 @@ buildxcworkspace()
IPHONEOS_DEPLOYMENT_TARGET
=
${
SDK_MIN
}
>
${
out
}
}
while
getopts
"hvsdnluk:"
OPTION
while
getopts
"hvsd
t
nluk:"
OPTION
do
case
$OPTION
in
h
)
...
...
@@ -95,6 +97,9 @@ do
k
)
SDK
=
$OPTARG
;;
t
)
TVOS
=
yes
;;
?
)
usage
exit
1
...
...
@@ -204,6 +209,9 @@ fi
if
[
"
$SKIPLIBVLCCOMPILATION
"
=
"yes"
]
;
then
args
=
"
${
args
}
-l"
fi
if
[
"
$TVOS
"
=
"yes"
]
;
then
args
=
"
${
args
}
-t"
fi
./buildMobileVLCKit.sh
${
args
}
-k
"
${
SDK
}
"
spopd
...
...
@@ -214,6 +222,11 @@ info "installing pods"
pod
install
# Build the VLC for iOS workspace now
buildxcworkspace
"VLC for iOS"
"VLC for iOS"
if
[
"
$TVOS
"
=
"no"
]
;
then
buildxcworkspace
"VLC for iOS"
"VLC for iOS"
else
buildxcworkspace
"VLC for iOS"
"VLC for Apple TV"
fi
info
"Build completed"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment