summaryrefslogtreecommitdiff
path: root/multimedia/xbmc/xbmc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xbmc/xbmc.SlackBuild')
-rw-r--r--multimedia/xbmc/xbmc.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/multimedia/xbmc/xbmc.SlackBuild b/multimedia/xbmc/xbmc.SlackBuild
index 952d3cfec5..3290132bda 100644
--- a/multimedia/xbmc/xbmc.SlackBuild
+++ b/multimedia/xbmc/xbmc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xbmc
-VERSION=${VERSION:-12.0}
+VERSION=${VERSION:-12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
tar xvf $CWD/taglib-1.8.tar.gz
-tar xvf $CWD/$PRGNAM-pvr-addons-$VERSION-Frodo.tar.gz || tar xvf $CWD/$VERSION-Frodo.tar.gz
+tar xvf $CWD/$PRGNAM-pvr-addons-12.0-Frodo.tar.gz || tar xvf $CWD/12.0-Frodo.tar.gz
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -76,6 +76,9 @@ if grep 'sse2' /proc/cpuinfo 2>&1 > /dev/null; then
patch -p1 < $CWD/patches/sse2.patch
fi
+# No need to show Git: "Version" in a release build.
+sed -i 's|^#ifdef GIT_REV|#ifndef GIT_REV|' $PRGNAM/GUIInfoManager.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
@@ -124,7 +127,7 @@ cd taglib-1.8
cd ..
# Build the pvr addons.
-cd $PRGNAM-pvr-addons-$VERSION-Frodo
+cd $PRGNAM-pvr-addons-12.0-Frodo
./bootstrap
CFLAGS="$SLKCFLAGS $AFPFS_NGFLAGS" \
CXXFLAGS="$SLKCFLAGS $AFPFS_NGFLAGS" \
@@ -198,7 +201,7 @@ fi
gzip -9 $PKG/usr/man/man?/*.?
cp -a \
- tools/EventClients/README.txt $PRGNAM-pvr-addons-$VERSION-Frodo/COPYING \
+ tools/EventClients/README.txt $PRGNAM-pvr-addons-12.0-Frodo/COPYING \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -f $PKG/usr/share/xbmc/{README.linux,LICENSE.GPL,*.txt}