diff options
Diffstat (limited to 'multimedia/miro/miro.SlackBuild')
-rw-r--r-- | multimedia/miro/miro.SlackBuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/multimedia/miro/miro.SlackBuild b/multimedia/miro/miro.SlackBuild index 83a44b582c..c96dcdc8dc 100644 --- a/multimedia/miro/miro.SlackBuild +++ b/multimedia/miro/miro.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Miro -# Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2009-2012 Larry Hajali <larryhaja[at]gmail[dot]com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=miro -VERSION=${VERSION:-5.0.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-5.0.4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -75,6 +75,10 @@ find . \ patch -p1 < $CWD/ffmpeg-0.11.patch # Patch to fix the gdb call from miro. patch -p1 < $CWD/miro-gdb-fix.patch +# Fix .destkop item. +sed -i \ + -e 's|TV;||' -e 's|P2P;News;FileTransfer;||' \ + -e 's|ogg$|ogg;|' linux/miro.desktop cd linux sed -i 's|share/man|man|' setup.py @@ -88,11 +92,14 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ PYVER=$(python -c 'import sys; print sys.version[:3]') rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/python${PYVER}/site-packages/miro/test rm -rf $PKG/usr/share/${PRGNAM}/resources/testdata +if [ "$ARCH" == "x86_64" ]; then + rm -f $PKG/usr/bin/codegen.Linux-i686 +else + rm -f $PKG/usr/bin/codegen.Linux-x86_64 +fi mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CREDITS LAYOUT license.txt README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CREDITS LAYOUT license.txt README $PKG/usr/doc/$PRGNAM-$VERSION cat linux/README > $PKG/usr/doc/$PRGNAM-$VERSION/README.linux cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |