multimedia/xbmc: Updated for version 12.3.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Larry Hajali 2013-12-29 09:55:25 +07:00 committed by Erik Hanson
parent 57b97ca1ac
commit f01c78fb57
2 changed files with 15 additions and 11 deletions

View file

@ -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 \

View file

@ -1,9 +1,9 @@
PRGNAM="xbmc"
VERSION="12.2"
VERSION="12.3"
HOMEPAGE="http://xbmc.org/"
DOWNLOAD="http://mirrors.xbmc.org/releases/source/xbmc-12.2.tar.gz \
DOWNLOAD="http://mirrors.xbmc.org/releases/source/xbmc-12.3.tar.gz \
https://github.com/opdenkamp/xbmc-pvr-addons/archive/12.0-Frodo.tar.gz"
MD5SUM="489f3877decae4e265ece54f9eaef0ba \
MD5SUM="7ae385ebf8e5cfcb917393235e6efbdb \
4a1020b1a890e26505da7cc9afef1cea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""