multimedia/miro: Fix build against new ffmpeg.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-05-31 21:55:41 +07:00
parent f162c45e62
commit a69869f021
2 changed files with 6 additions and 3 deletions

View file

@ -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 -

View file

@ -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"