diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2012-12-16 09:19:51 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-16 09:20:08 +0100 |
commit | effec6d0ff8e31f993735dde1e30e752c624dc36 (patch) | |
tree | 5acf0b1098a760cd12b7682592c88c7be4b10c91 | |
parent | 87ebbcaed006ad57fc15ba0322bf39db239d74e3 (diff) |
multimedia/miro: Updated for version 5.0.4.
Also fixed .desktop entry and removed unnecessary files.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | multimedia/miro/miro.SlackBuild | 19 | ||||
-rw-r--r-- | multimedia/miro/miro.info | 6 |
2 files changed, 16 insertions, 9 deletions
diff --git a/multimedia/miro/miro.SlackBuild b/multimedia/miro/miro.SlackBuild index 83a44b582c851..c96dcdc8dcf43 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 diff --git a/multimedia/miro/miro.info b/multimedia/miro/miro.info index 538027a03db5c..686fcdc1afe9a 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" |