multimedia/kodi: Updated for version 14.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2015-04-03 12:43:33 +07:00 committed by Willy Sudiarto Raharjo
parent 15ef48a7dd
commit 503fa39eb6
2 changed files with 13 additions and 12 deletions

View File

@ -24,7 +24,8 @@
PRGNAM=kodi
SRCNAM=xbmc
VERSION=${VERSION:-14.0}
VERSION=${VERSION:-14.2}
FFMPEGVER=${FFMPEGVER:-2.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -61,14 +62,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION-Helix
tar xvf $CWD/$VERSION-Helix.tar.gz
tar xvf $CWD/$SRCNAM-$VERSION-Helix.tar.gz 2>/dev/null || tar xvf $CWD/$VERSION-Helix.tar.gz
cd $SRCNAM-$VERSION-Helix
tar xvf $CWD/$SRCNAM-pvr-addons-Helix_rc3.tar.gz || tar xvf $CWD/Helix_rc3.tar.gz
tar xvf $CWD/$SRCNAM-pvr-addons-Helix_rc3.tar.gz 2>/dev/null || tar xvf $CWD/Helix_rc3.tar.gz
# Don't have the Makefile download ffmpeg during install.
if [ -f "$CWD/FFmpeg-2.4.4-Helix.tar.gz" ]; then
ln -s $CWD/FFmpeg-2.4.4-Helix.tar.gz tools/depends/target/ffmpeg/ffmpeg-2.4.4-Helix.tar.gz
elif [ -f "$CWD/2.4.4-Helix.tar.gz" ]; then
ln -s $CWD/2.4.4-Helix.tar.gz tools/depends/target/ffmpeg/ffmpeg-2.4.4-Helix.tar.gz
if [ -f "$CWD/FFmpeg-${FFMPEGVER}-Helix.tar.gz" ]; then
ln -s $CWD/FFmpeg-${FFMPEGVER}-Helix.tar.gz tools/depends/target/ffmpeg/ffmpeg-${FFMPEGVER}-Helix.tar.gz
elif [ -f "$CWD/${FFMPEGVER}-Helix.tar.gz" ]; then
ln -s $CWD/${FFMPEGVER}-Helix.tar.gz tools/depends/target/ffmpeg/ffmpeg-${FFMPEGVER}-Helix.tar.gz
else
echo "FFMPEG wasn't found. Please download it and have it available"
echo "in the source directory ${CWD}."

View File

@ -1,12 +1,12 @@
PRGNAM="kodi"
VERSION="14.0"
VERSION="14.2"
HOMEPAGE="http://xbmc.org/"
DOWNLOAD="http://mirrors.kodi.tv/releases/source/14.0-Helix.tar.gz \
DOWNLOAD="https://github.com/xbmc/xbmc/archive/14.2-Helix.tar.gz \
https://github.com/opdenkamp/xbmc-pvr-addons/archive/Helix_rc3.tar.gz \
https://github.com/xbmc/FFmpeg/archive/2.4.4-Helix.tar.gz"
MD5SUM="9717c539789789b8aeaf1dcfdb9f2c69 \
https://github.com/xbmc/FFmpeg/archive/2.4.6-Helix.tar.gz"
MD5SUM="aa534c483cdd6cda71e5350c2094175b \
5fd7b09f11e0fb6c3a8874d4ed20a694 \
19b5d29ef6b5a6fc202c652fe3905d9b"
92f6208f6908ef1586bf34764ebeb073"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk libass libmpeg2 libmodplug yajl tinyxml"