summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2013-04-15 21:49:32 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2013-04-28 12:23:06 -0300
commitc9189d449fef695ba69deaa86ece5129f3750689 (patch)
tree420ffd34d36a1b044876fda165c85db0867353fb
parente59f85f23abe3b6fee1c831df34e58b8b82e0bb0 (diff)
downloadslackbuilds-c9189d449fef695ba69deaa86ece5129f3750689.tar.gz
multimedia/xbmc: Updated for version 12.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--multimedia/xbmc/README5
-rw-r--r--multimedia/xbmc/xbmc.SlackBuild11
-rw-r--r--multimedia/xbmc/xbmc.info6
3 files changed, 13 insertions, 9 deletions
diff --git a/multimedia/xbmc/README b/multimedia/xbmc/README
index 9bf5391d6f..45eeda15d8 100644
--- a/multimedia/xbmc/README
+++ b/multimedia/xbmc/README
@@ -7,9 +7,9 @@ organize all your media to give you quick and immediate access.
Optional dependencies are: libcec, pulseaudio, libbluray, libnfs,
libdvdcss, lirc, cwiid, pybluez, id3lib, libvdpau, rtmpdump, afpfs-ng,
-libmicrohttpd, libva, avahi, lame, ffmpeg
+libmicrohttpd, libva, avahi, lame, ffmpeg, libshairport
-Optional: libcrystalhd and shairpoint (not available at slackbuilds.org)
+Optional: libcrystalhd (not available at slackbuilds.org)
Below are some paramaters that can be passed to the slackbuild to turn
on some optional components.
@@ -20,5 +20,6 @@ WEBSERVER=yes|no (Default is no), requires libmicrohttpd
PULSE=yes|no (Default is no), requires pulseaudio
Note: The use of external ffmpeg is discouraged by the XBMC developers.
+This xbmc build also installs libshairport.
PVR information: http://wiki.xbmc.org/index.php?title=PVR
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}
diff --git a/multimedia/xbmc/xbmc.info b/multimedia/xbmc/xbmc.info
index ae127c354c..b6f30093d2 100644
--- a/multimedia/xbmc/xbmc.info
+++ b/multimedia/xbmc/xbmc.info
@@ -1,10 +1,10 @@
PRGNAM="xbmc"
-VERSION="12.0"
+VERSION="12.1"
HOMEPAGE="http://xbmc.org/"
-DOWNLOAD="http://mirrors.xbmc.org/releases/source/xbmc-12.0.tar.gz \
+DOWNLOAD="http://mirrors.xbmc.org/releases/source/xbmc-12.1.tar.gz \
https://github.com/opdenkamp/xbmc-pvr-addons/archive/12.0-Frodo.tar.gz \
http://github.com/downloads/taglib/taglib/taglib-1.8.tar.gz"
-MD5SUM="a79128b9d094a046947bfd9bb4550809 \
+MD5SUM="8955473f84cb2a0513c0f3efd7e68843 \
dcb8bd1b756f2843e18b1fdf3aaeee15 \
4a1020b1a890e26505da7cc9afef1cea"
DOWNLOAD_x86_64=""