summaryrefslogtreecommitdiff
path: root/multimedia/miro/miro.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-12-16 09:19:51 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-16 09:20:08 +0100
commiteffec6d0ff8e31f993735dde1e30e752c624dc36 (patch)
tree5acf0b1098a760cd12b7682592c88c7be4b10c91 /multimedia/miro/miro.SlackBuild
parent87ebbcaed006ad57fc15ba0322bf39db239d74e3 (diff)
downloadslackbuilds-effec6d0ff8e31f993735dde1e30e752c624dc36.tar.gz
multimedia/miro: Updated for version 5.0.4.
Also fixed .desktop entry and removed unnecessary files. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/miro/miro.SlackBuild')
-rw-r--r--multimedia/miro/miro.SlackBuild19
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