diff options
Diffstat (limited to 'multimedia/kodi/kodi.SlackBuild')
-rw-r--r-- | multimedia/kodi/kodi.SlackBuild | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild index 2dfca03e07..6bc6becc0a 100644 --- a/multimedia/kodi/kodi.SlackBuild +++ b/multimedia/kodi/kodi.SlackBuild @@ -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}." |