summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2013-12-29 09:55:25 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-07 11:13:58 -0600
commitf01c78fb571fe29df1cac7be09751b2590ac04ea (patch)
tree40744ca530b9a780bfe8a75b0283b07d1d9ac4fd /multimedia
parent57b97ca1ac8000891d2dbe642efb0662e54b3eac (diff)
downloadslackbuilds-f01c78fb571fe29df1cac7be09751b2590ac04ea.tar.gz
multimedia/xbmc: Updated for version 12.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xbmc/xbmc.SlackBuild20
-rw-r--r--multimedia/xbmc/xbmc.info6
2 files changed, 15 insertions, 11 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 \
diff --git a/multimedia/xbmc/xbmc.info b/multimedia/xbmc/xbmc.info
index 92198acabf..cf3a533b19 100644
--- a/multimedia/xbmc/xbmc.info
+++ b/multimedia/xbmc/xbmc.info
@@ -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=""