diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-05-31 21:55:41 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 07:59:43 +0700 |
commit | a69869f021560c572a1185b43092a9aff5b82ed9 (patch) | |
tree | dc710602795acd9aeb64102f74cd99d641490bba /multimedia/miro | |
parent | f162c45e62262a3dfd96e96cd8d605325a503d67 (diff) | |
download | slackbuilds-a69869f021560c572a1185b43092a9aff5b82ed9.tar.gz |
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.SlackBuild | 5 | ||||
-rw-r--r-- | multimedia/miro/miro.info | 4 |
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" |