wok diff miro/receipt @ rev 19729

libwmf: no cp + wildcard + absolute links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 17 08:27:26 2017 +0100 (2017-02-17)
parents 16df76e1fc6a
children 29af9ccd87db
line diff
     1.1 --- a/miro/receipt	Fri May 22 17:34:18 2015 +0300
     1.2 +++ b/miro/receipt	Fri Feb 17 08:27:26 2017 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="miro"
     1.7 -VERSION="5.0.4"
     1.8 +VERSION="6.0"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="The free and open source internet TV platform."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12 @@ -23,15 +23,6 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src/linux
    1.16 -	sed -i  -e 's/av_open_input_file\(.*\), NULL/avformat_open_input\1/' \
    1.17 -		-e 's/av_set_parameters.*0/0/' \
    1.18 -		-e 's/ dump_format/ av_dump_format/' \
    1.19 -		-e 's/url_fopen\(.*\)URL_WRONLY/avio_open\1AVIO_FLAG_WRITE/' \
    1.20 -		-e 's/av_write_header(oc)/avformat_write_header(oc, NULL)/' \
    1.21 -		-e 's/put_flush_packet/avio_flush/' \
    1.22 -		-e 's/url_fclose/avio_close/' \
    1.23 -		-e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \
    1.24 -			miro-segmenter.c
    1.25  	python setup.py install --root=$DESTDIR
    1.26  	sed -i "s|./miro.real|/usr/bin/miro.real|g" $DESTDIR/usr/bin/miro
    1.27  }