From effec6d0ff8e31f993735dde1e30e752c624dc36 Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Sun, 16 Dec 2012 09:19:51 +0100 Subject: multimedia/miro: Updated for version 5.0.4. Also fixed .desktop entry and removed unnecessary files. Signed-off-by: Matteo Bernardini --- multimedia/miro/miro.SlackBuild | 19 +++++++++++++------ multimedia/miro/miro.info | 6 +++--- 2 files changed, 16 insertions(+), 9 deletions(-) (limited to 'multimedia/miro') 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 +# Copyright 2009-2012 Larry Hajali # 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 diff --git a/multimedia/miro/miro.info b/multimedia/miro/miro.info index 538027a03d..686fcdc1af 100644 --- a/multimedia/miro/miro.info +++ b/multimedia/miro/miro.info @@ -1,8 +1,8 @@ PRGNAM="miro" -VERSION="5.0.2" +VERSION="5.0.4" HOMEPAGE="http://www.getmiro.com/" -DOWNLOAD="http://ftp.osuosl.org/pub/pculture.org/miro/src/miro-5.0.2.tar.gz" -MD5SUM="803905aee0f58f92b142cfd2b59b89c5" +DOWNLOAD="http://ftp.osuosl.org/pub/pculture.org/miro/src/miro-5.0.4.tar.gz" +MD5SUM="8a3de8356d2ba9d82f0a00f31ceb446e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="ffmpeg gnome-python gst-python libtorrent-rasterbar mutagen pywebkitgtk" -- cgit v1.2.3