aboutsummaryrefslogtreecommitdiff
path: root/multimedia/miro
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-31 21:55:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-03 07:59:43 +0700
commita69869f021560c572a1185b43092a9aff5b82ed9 (patch)
treedc710602795acd9aeb64102f74cd99d641490bba /multimedia/miro
parentf162c45e62262a3dfd96e96cd8d605325a503d67 (diff)
multimedia/miro: Fix build against new ffmpeg.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/miro')
-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 1b5ce2e7733da..81989bce2e875 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 20531c2240aa6..756fddc4f074a 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"