summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/miro/miro.SlackBuild5
-rw-r--r--multimedia/miro/miro.info4
2 files changed, 6 insertions, 3 deletions
diff --git a/multimedia/miro/miro.SlackBuild b/multimedia/miro/miro.SlackBuild
index 1b5ce2e773..81989bce2e 100644
--- a/multimedia/miro/miro.SlackBuild
+++ b/multimedia/miro/miro.SlackBuild
@@ -63,7 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $DIRNAME
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $DIRNAME
+cd $DIRNAME/tv
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -73,6 +73,7 @@ find -L . \
# 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;||' \
@@ -80,6 +81,8 @@ sed -i \
cd linux
sed -i -e 's|share/man|man|' -e '/miro.test/d' setup.py
+ sed -i "s|CODEC_ID_MP3|AV_CODEC_ID_MP3|g" miro-segmenter.c
+ sed -i "s|CODEC_ID_AC3|AV_CODEC_ID_AC3|g" miro-segmenter.c
CFLAGS="$SLKCFLAGS" python setup.py install --root=$PKG
cd -
diff --git a/multimedia/miro/miro.info b/multimedia/miro/miro.info
index 20531c2240..756fddc4f0 100644
--- a/multimedia/miro/miro.info
+++ b/multimedia/miro/miro.info
@@ -1,8 +1,8 @@
PRGNAM="miro"
VERSION="6.0"
HOMEPAGE="http://www.getmiro.com/"
-DOWNLOAD="http://ftp.osuosl.org/pub/pculture.org/miro/src/miro-6.0.tar.gz"
-MD5SUM="058e89560bfbd0dc68e72119bc7e732f"
+DOWNLOAD="https://github.com/pculture/miro/archive/v6.0/miro-6.0.tar.gz"
+MD5SUM="7e10be44ddb1d8689a071d6bd051880d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg gnome-python gst0-python libtorrent-rasterbar mutagen pywebkitgtk"