wok-next diff miro/receipt @ rev 14482

gst-plugins-ugly: update deps+bdeps
author Dominique Corbex <domcox@slitaz.org>
date Thu May 02 22:44:19 2013 +0200 (2013-05-02)
parents 8975c8651ce7
children bb009a6ef036
line diff
     1.1 --- a/miro/receipt	Fri Aug 17 15:03:15 2012 +0000
     1.2 +++ b/miro/receipt	Thu May 02 22:44:19 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  }