diff options
Diffstat (limited to 'multimedia/kodi/kodi.SlackBuild')
-rw-r--r-- | multimedia/kodi/kodi.SlackBuild | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild index 4f0d65e10e..7f4db7862c 100644 --- a/multimedia/kodi/kodi.SlackBuild +++ b/multimedia/kodi/kodi.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for kodi -# Copyright 2009-2016 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2009-2017 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,9 +24,9 @@ PRGNAM=kodi SRCNAM=xbmc -CODNAM=Jarvis -VERSION=${VERSION:-16.1} -FFMPEGVER=${FFMPEGVER:-2.8.6} +CODNAM=Krypton +VERSION=${VERSION:-17.1} +FFMPEGVER=${FFMPEGVER:-3.1.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -66,7 +66,7 @@ rm -rf $SRCNAM-$VERSION-$CODNAM tar xvf $CWD/$SRCNAM-$VERSION-$CODNAM.tar.gz cd $SRCNAM-$VERSION-$CODNAM # Don't have the Makefile download ffmpeg during install. -ln -s $CWD/FFmpeg-${FFMPEGVER}-${CODNAM}-16.0.tar.gz tools/depends/target/ffmpeg/ffmpeg-${FFMPEGVER}-${CODNAM}-16.0.tar.gz +ln -s $CWD/FFmpeg-${FFMPEGVER}-${CODNAM}.tar.gz tools/depends/target/ffmpeg/ffmpeg-${FFMPEGVER}-${CODNAM}-17.0.tar.gz chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -77,16 +77,8 @@ find -L . \ # No need to show Git: "Version" in a release build. sed -i '/Git:/s|.*| return GetVersionShort();|' $SRCNAM/utils/SystemInfo.cpp -# Patch for building against rtmpdump. Only needed if xbmc fails to build -# w/rtmpdump. See the following link for a rather obtuse explanation. -# http://slaxbmc.blogspot.com/2011/03/23-install-xbmc-from-source.html -patch -p1 < $CWD/patches/xbmc-Gotham-rtmpdump-build.patch - # Patch for Samba 4.0. -patch -p1 < $CWD/patches/xbmc-Helix-samba-4.0.patch - -# Use installed libdvdread. -patch -p1 < $CWD/patches/xbmc-15.0-dvdread.patch +patch -p1 < $CWD/patches/xbmc-Krypton-samba-4.0.patch # Fix static linking for Texturepacker. Thanks to Gentoo. # Issue: http://forum.kodi.tv/showthread.php?tid=220407 @@ -124,7 +116,6 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-gl \ --enable-mid \ --enable-alsa \ - --disable-asap-codec \ --enable-texturepacker \ --enable-pulse \ $OPT_DEPS \ @@ -155,7 +146,7 @@ for i in $PRGNAM.bin.1 $PRGNAM.1 $PRGNAM-standalone.1; do done if ! [ "${WII:-no}" = "no" ]; then - for i in $PRGNAM-j2meremote.1 $PRGNAM-ps3remote.1 $PRGNAM-send.1 $PRGNAM-wiiremote.1; do + for i in $PRGNAM-ps3remote.1 $PRGNAM-send.1 $PRGNAM-wiiremote.1; do install -m 0644 docs/manpages/$i $PKG/usr/man/man1/$i done fi |