diff options
Diffstat (limited to 'multimedia/xbmc/xbmc.SlackBuild')
-rw-r--r-- | multimedia/xbmc/xbmc.SlackBuild | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/multimedia/xbmc/xbmc.SlackBuild b/multimedia/xbmc/xbmc.SlackBuild index 5038ed4cde..d82f5414f6 100644 --- a/multimedia/xbmc/xbmc.SlackBuild +++ b/multimedia/xbmc/xbmc.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=xbmc -VERSION=${VERSION:-12.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-12.3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -40,6 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +DIRNAME=$(tar -tf $CWD/$PRGNAM-$VERSION.tar.gz | head -1) + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -59,16 +61,16 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $DIRNAME tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +cd $DIRNAME tar xvf $CWD/$PRGNAM-pvr-addons-12.0-Frodo.tar.gz || tar xvf $CWD/12.0-Frodo.tar.gz chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Fix for sse2 cpu's. if grep 'sse2' /proc/cpuinfo 2>&1 > /dev/null; then @@ -131,6 +133,8 @@ cd $PRGNAM-pvr-addons-12.0-Frodo make cd .. +./bootstrap + CFLAGS="$SLKCFLAGS $AFPFS_NGFLAGS" \ CXXFLAGS="$SLKCFLAGS $AFPFS_NGFLAGS" \ ./configure \ |