mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
multimedia/miro: Fix build against new ffmpeg.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f162c45e62
commit
a69869f021
2 changed files with 6 additions and 3 deletions
|
@ -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 -
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue