aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin
diff options
context:
space:
mode:
authorjmarshallnz <jcmarsha@gmail.com>2014-07-02 19:04:11 +1200
committerjmarshallnz <jcmarsha@gmail.com>2014-07-02 19:04:11 +1200
commit982663ee53e2b520b38e7269d5d78629830b3223 (patch)
treefa20a00c9ff146c90d558d280ddb09d9e3b0dad5 /tools/darwin
parent6bd985e2b65bc48c63b7b9ab4e2ce7a93916604c (diff)
parentfb31f586f0349e66a18fa591e0048bd8037d6f8c (diff)
Merge pull request #4866 from wsnipex/versioning
automatic versioning
Diffstat (limited to 'tools/darwin')
-rwxr-xr-xtools/darwin/Support/makepythoninterface.command1
-rw-r--r--tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in4
-rw-r--r--tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in4
-rwxr-xr-xtools/darwin/packaging/xbmc-osx/mkdmg-xbmc-osx.sh.in (renamed from tools/darwin/packaging/xbmc-osx/mkdmg-xbmc-osx.sh)4
4 files changed, 7 insertions, 6 deletions
diff --git a/tools/darwin/Support/makepythoninterface.command b/tools/darwin/Support/makepythoninterface.command
index 50d3a2233b..ec2d2b42ef 100755
--- a/tools/darwin/Support/makepythoninterface.command
+++ b/tools/darwin/Support/makepythoninterface.command
@@ -8,4 +8,5 @@ fi
if [ "$ACTION" = build ] ; then
make -f ${SRCROOT}/codegenerator.mk
+ make -f ${SRCROOT}/xbmc/gen-compileinfo.mk
fi
diff --git a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in
index 35fd0913c4..bab0695d9d 100644
--- a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in
+++ b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in
@@ -47,8 +47,8 @@ fi
PACKAGE=org.xbmc.xbmc-atv2
-VERSION=14.0
-REVISION=0~alpha1
+VERSION=@APP_VERSION_MAJOR@.@APP_VERSION_MINOR@
+REVISION=0~@APP_VERSION_TAG_LC@
ARCHIVE=${PACKAGE}_${VERSION}-${REVISION}_iphoneos-arm.deb
XBMCSIZE="$(du -s -k ${XBMC} | awk '{print $1}')"
diff --git a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in
index d916e45c1c..c1a10eddfc 100644
--- a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in
+++ b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in
@@ -48,8 +48,8 @@ fi
PACKAGE=org.xbmc.xbmc-ios
-VERSION=14.0
-REVISION=0~alpha1
+VERSION=@APP_VERSION_MAJOR@.@APP_VERSION_MINOR@
+REVISION=0~@APP_VERSION_TAG_LC@
ARCHIVE=${PACKAGE}_${VERSION}-${REVISION}_iphoneos-arm.deb
XBMCSIZE="$(du -s -k ${XBMC} | awk '{print $1}')"
diff --git a/tools/darwin/packaging/xbmc-osx/mkdmg-xbmc-osx.sh b/tools/darwin/packaging/xbmc-osx/mkdmg-xbmc-osx.sh.in
index efec7f80c4..60764d2f28 100755
--- a/tools/darwin/packaging/xbmc-osx/mkdmg-xbmc-osx.sh
+++ b/tools/darwin/packaging/xbmc-osx/mkdmg-xbmc-osx.sh.in
@@ -24,8 +24,8 @@ ARCHITECTURE=`file $XBMC/Contents/MacOS/XBMC | awk '{print $NF}'`
PACKAGE=org.xbmc.xbmc-osx
-VERSION=14.0
-REVISION=0~alpha1
+VERSION=@APP_VERSION_MAJOR@.@APP_VERSION_MINOR@
+REVISION=0~@APP_VERSION_TAG_LC@
ARCHIVE=${PACKAGE}_${VERSION}-${REVISION}_macosx-intel-${ARCHITECTURE}
echo Creating $PACKAGE package version $VERSION revision $REVISION