Merge pull request #503 from MilhouseVH/17.0-alpha2-f3ca4eaf9

kodi: 17.0 alpha2 f3ca4eaf9
This commit is contained in:
Christian Hewitt 2016-07-01 10:34:17 +04:00 committed by GitHub
commit 2478e638ad
4 changed files with 8 additions and 4 deletions

View File

@ -17,7 +17,7 @@
################################################################################ ################################################################################
PKG_NAME="pvr.stalker" PKG_NAME="pvr.stalker"
PKG_VERSION="ad1f7d6" PKG_VERSION="b465352"
PKG_REV="1" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"

View File

@ -17,7 +17,7 @@
################################################################################ ################################################################################
PKG_NAME="kodi-theme-Estuary" PKG_NAME="kodi-theme-Estuary"
PKG_VERSION="17.0-alpha2-d9fd774" PKG_VERSION="17.0-alpha2-f3ca4eaf9"
PKG_REV="1" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"

View File

@ -17,7 +17,7 @@
################################################################################ ################################################################################
PKG_NAME="kodi" PKG_NAME="kodi"
PKG_VERSION="17.0-alpha2-d9fd774" PKG_VERSION="17.0-alpha2-f3ca4eaf9"
PKG_REV="1" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"

View File

@ -18,13 +18,14 @@
################################################################################ ################################################################################
if [ -z "$1" ]; then if [ -z "$1" ]; then
echo "Usage: $0 <branch-name>" echo "Usage: $0 <branch-name> [git-rev]"
exit 0 exit 0
fi fi
PKG_NAME="kodi" PKG_NAME="kodi"
PKG_VERSION="" PKG_VERSION=""
BRANCH="$1" BRANCH="$1"
GIT_REV="$2"
GIT_REPO="git://github.com/xbmc/xbmc.git" GIT_REPO="git://github.com/xbmc/xbmc.git"
DEST_DIR="$PKG_NAME-$BRANCH" DEST_DIR="$PKG_NAME-$BRANCH"
@ -36,6 +37,9 @@ echo "getting sources..."
cd $DEST_DIR.git cd $DEST_DIR.git
git pull git pull
# use a specific git rev, rather than HEAD
[ -n "$GIT_REV" ] && git reset --hard $GIT_REV
echo "getting version..." echo "getting version..."
GIT_HASH=`git log -n1 --format=%h` GIT_HASH=`git log -n1 --format=%h`
VERSION_MAJOR=$(grep ^VERSION_MAJOR version.txt | cut -d" " -f2) VERSION_MAJOR=$(grep ^VERSION_MAJOR version.txt | cut -d" " -f2)