multimedia/xbmc: Updated for version 12.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Larry Hajali 2013-04-15 21:49:32 -05:00 committed by Niels Horn
parent e59f85f23a
commit c9189d449f
3 changed files with 13 additions and 9 deletions

View file

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

View file

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

View file

@ -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=""