[Subtitles] Partial fix for text/border color gap
[xbmc.git] / tools / buildsteps / osx-arm64 / make-binary-addons
blob458f9f1b98441db5ebe15f61fec4521c1617dbc9
1 WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
2 XBMC_PLATFORM_DIR=osx-arm64
3 . $WORKSPACE/tools/buildsteps/defaultenv
5 . $WORKSPACE/tools/buildsteps/$XBMC_PLATFORM_DIR/make-native-depends
7 #clear the build failed file
8 rm -f $WORKSPACE/cmake/$FAILED_BUILD_FILENAME
10 ALL_BINARY_ADDONS_BUILT="1"
11 #only build binary addons when requested by env/jenkins
12 if [ "$BUILD_BINARY_ADDONS" == "true" ]
13 then
14   for addon in $BINARY_ADDONS
15   do
16     echo "building $addon"
17     git clean -xffd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon
19     INSTALL_PREFIX="../../../../../build/addons/"
20     cd $WORKSPACE/$BINARY_ADDONS_ROOT/$addon;make -j $BUILDTHREADS V=99 VERBOSE=1 INSTALL_PREFIX="$INSTALL_PREFIX"  || ALL_BINARY_ADDONS_BUILT="0"
21   done
24 if [ "$ALL_BINARY_ADDONS_BUILT" == "1" ]
25 then
26   tagSuccessFulBuild $WORKSPACE/cmake
27 else
28   #mark the build failure in the filesystem but leave jenkins running
29   tagFailedBuild $WORKSPACE/cmake