wok-current rev 14357

Up miro (5.0.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 18 08:49:03 2013 +0200 (2013-04-18)
parents 44eacb6d3864
children 01cef52b1d5b
files miro/receipt
line diff
     1.1 --- a/miro/receipt	Wed Apr 17 12:59:13 2013 +0200
     1.2 +++ b/miro/receipt	Thu Apr 18 08:49:03 2013 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="miro"
     1.7 -VERSION="5.0.2"
     1.8 +VERSION="5.0.4"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="The free and open source internet TV platform."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 @@ -15,12 +15,21 @@
    1.13  pycurl taglib python-gconf"
    1.14  BUILD_DEPENDS="$DEPENDS python-dev dbus-python-dev pygtk-dev gstreamer-dev \
    1.15  shared-mime-info-dev gst-python-dev libtorrent-rasterbar-dev libsoup-dev \
    1.16 -libwebkit-dev gst-plugins-base-dev gst-plugins-good-dev ffmpeg-dev imagemagick-dev taglib-dev"
    1.17 +libwebkit-dev gst-plugins-base-dev gst-plugins-good-dev ffmpeg-dev \
    1.18 +imagemagick-dev taglib-dev libboost-dev"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23  	cd $src/linux
    1.24 +	sed -i  -e 's/av_open_input_file\(.*\), NULL/avformat_open_input\1/' \
    1.25 +		-e 's/av_set_parameters.*0/0/' \
    1.26 +		-e 's/ dump_format/ av_dump_format/' \
    1.27 +		-e 's/url_fopen\(.*\)URL_WRONLY/avio_open\1AVIO_FLAG_WRITE/' \
    1.28 +		-e 's/av_write_header(oc)/avformat_write_header(oc, NULL)/' \
    1.29 +		-e 's/put_flush_packet/avio_flush/' \
    1.30 +		-e 's/url_fclose/avio_close/' \
    1.31 +			miro-segmenter.c
    1.32  	python setup.py install --root=$DESTDIR
    1.33  	sed -i "s|./miro.real|/usr/bin/miro.real|g" $DESTDIR/usr/bin/miro
    1.34  }