diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/buildsteps/atv2/package | 2 | ||||
-rwxr-xr-x | tools/buildsteps/ios/package | 2 | ||||
-rw-r--r-- | tools/darwin/Configurations/App.xcconfig.in (renamed from tools/darwin/Configurations/App.xcconfig) | 2 | ||||
-rw-r--r-- | tools/darwin/Configurations/Common.xcconfig.in (renamed from tools/darwin/Configurations/Common.xcconfig) | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in (renamed from tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh) | 7 | ||||
-rw-r--r--[-rwxr-xr-x] | tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in (renamed from tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh) | 7 |
6 files changed, 13 insertions, 9 deletions
diff --git a/tools/buildsteps/atv2/package b/tools/buildsteps/atv2/package index d357e36b0c..2fa40de122 100755 --- a/tools/buildsteps/atv2/package +++ b/tools/buildsteps/atv2/package @@ -5,7 +5,7 @@ XBMC_PLATFORM_DIR=atv2 #ensure that dpkg tools are used from our toolchain export PATH=$XBMC_DEPENDS_ROOT/buildtools-native/bin/:$PATH -cd $WORKSPACE/tools/darwin/packaging/xbmc-atv2/;./mkdeb-xbmc-atv2.sh $Configuration +cd $WORKSPACE/tools/darwin/packaging/xbmc-atv2/;sh mkdeb-xbmc-atv2.sh $Configuration #rename for upload #e.x. xbmc-20130314-8c2fb31-Frodo-atv2.deb diff --git a/tools/buildsteps/ios/package b/tools/buildsteps/ios/package index 0b4830d139..f6c9c2299f 100755 --- a/tools/buildsteps/ios/package +++ b/tools/buildsteps/ios/package @@ -5,7 +5,7 @@ XBMC_PLATFORM_DIR=ios #ensure that dpkg tools are used from our toolchain export PATH=$XBMC_DEPENDS_ROOT/buildtools-native/bin/:$PATH -cd $WORKSPACE/tools/darwin/packaging/xbmc-ios/;./mkdeb-xbmc-ios.sh $Configuration +cd $WORKSPACE/tools/darwin/packaging/xbmc-ios/;sh mkdeb-xbmc-ios.sh $Configuration #rename for upload #e.x. xbmc-20130314-8c2fb31-Frodo-ios.deb diff --git a/tools/darwin/Configurations/App.xcconfig b/tools/darwin/Configurations/App.xcconfig.in index e55bd4f0c3..936815c921 100644 --- a/tools/darwin/Configurations/App.xcconfig +++ b/tools/darwin/Configurations/App.xcconfig.in @@ -18,7 +18,7 @@ // // -XBMC_DEPENDS_ROOT = /Users/Shared/xbmc-depends +XBMC_DEPENDS_ROOT = @DEPENDS_ROOT_FOR_XCODE@ HEADER_SEARCH_PATHS = $(inherited) $SRCROOT xbmc xbmc/linux xbmc/osx xbmc/cores/dvdplayer lib $XBMC_DEPENDS/include $XBMC_DEPENDS/include/libcec $XBMC_DEPENDS/include/mysql $XBMC_DEPENDS/include/freetype2 $XBMC_DEPENDS/include/python2.6 diff --git a/tools/darwin/Configurations/Common.xcconfig b/tools/darwin/Configurations/Common.xcconfig.in index 353d7983a7..e8b0db190d 100644 --- a/tools/darwin/Configurations/Common.xcconfig +++ b/tools/darwin/Configurations/Common.xcconfig.in @@ -18,6 +18,8 @@ // // +XBMC_DEPENDS_ROOT = @DEPENDS_ROOT_FOR_XCODE@ + XBMC_GCC_PREPROCESSOR_DEFINITIONS_COMMON = TARGET_POSIX TARGET_DARWIN _LINUX _REENTRANT _FILE_DEFINED _FILE_OFFSET_BITS=64 _LARGEFILE64_SOURCE __STDC_CONSTANT_MACROS HAVE_CONFIG_H HAS_SPC_CODEC NPT_CONFIG_ENABLE_LOGGING DEBUG_INFORMATION_FORMAT = dwarf-with-dsym diff --git a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in index 9a1e26232f..ec15372fd9 100755..100644 --- a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh +++ b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in @@ -1,9 +1,10 @@ #!/bin/sh # usage: ./mkdeb-xbmc-atv2.sh release/debug (case insensitive) # Allows us to run mkdeb-xbmc-atv2.sh from anywhere in the three, rather than the tools/darwin/packaging/xbmc-atv2 folder only +XBMC_DEPENDS_ROOT=@DEPENDS_ROOT_FOR_XCODE@ SWITCH=`echo $1 | tr [A-Z] [a-z]` DIRNAME=`dirname $0` -DSYM_TARGET_DIR=/Users/Shared/xbmc-depends/dSyms +DSYM_TARGET_DIR=${XBMC_DEPENDS_ROOT}/dSyms DSYM_FILENAME=XBMC.frappliance.dSYM if [ ${SWITCH:-""} = "debug" ]; then @@ -36,9 +37,9 @@ if [ -f "/usr/libexec/fauxsu/libfauxsu.dylib" ]; then elif [ -f "/usr/bin/sudo" ]; then SUDO="/usr/bin/sudo" fi -if [ -f "/Users/Shared/xbmc-depends/buildtools-native/bin/dpkg-deb" ]; then +if [ -f "$XBMC_DEPENDS_ROOT/buildtools-native/bin/dpkg-deb" ]; then # make sure we pickup our tar, gnutar will fail when dpkg -i - bin_path=$(cd /Users/Shared/xbmc-depends/buildtools-native/bin; pwd) + bin_path=$(cd ${XBMC_DEPENDS_ROOT}/buildtools-native/bin; pwd) export PATH=${bin_path}:${PATH} fi diff --git a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in index 432303a888..be99c0cb79 100755..100644 --- a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh +++ b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in @@ -2,9 +2,10 @@ # usage: ./mkdeb-xbmc-ios.sh release/debug (case insensitive) # Allows us to run mkdeb-xbmc-ios.sh from anywhere in the three, rather than the tools/darwin/packaging/xbmc-ios folder only +XBMC_DEPENDS_ROOT=@DEPENDS_ROOT_FOR_XCODE@ SWITCH=`echo $1 | tr [A-Z] [a-z]` DIRNAME=`dirname $0` -DSYM_TARGET_DIR=/Users/Shared/xbmc-depends/dSyms +DSYM_TARGET_DIR=${XBMC_DEPENDS_ROOT}/dSyms DSYM_FILENAME=XBMC.app.dSYM if [ ${SWITCH:-""} = "debug" ]; then @@ -37,9 +38,9 @@ if [ -f "/usr/libexec/fauxsu/libfauxsu.dylib" ]; then elif [ -f "/usr/bin/sudo" ]; then SUDO="/usr/bin/sudo" fi -if [ -f "/Users/Shared/xbmc-depends/buildtools-native/bin/dpkg-deb" ]; then +if [ -f "${XBMC_DEPENDS_ROOT}/buildtools-native/bin/dpkg-deb" ]; then # make sure we pickup our tar, gnutar will fail when dpkg -i - bin_path=$(cd /Users/Shared/xbmc-depends/buildtools-native/bin; pwd) + bin_path=$(cd ${XBMC_DEPENDS_ROOT}/buildtools-native/bin; pwd) export PATH=${bin_path}:${PATH} fi |