wok diff gejengel/receipt @ rev 17986

Up to latest: tazinst-gui, tazinst
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 21 22:28:34 2015 +0200 (2015-04-21)
parents 002d4bf6c905
children 828d10d5e797
line diff
     1.1 --- a/gejengel/receipt	Thu May 08 14:49:56 2014 +0000
     1.2 +++ b/gejengel/receipt	Tue Apr 21 22:28:34 2015 +0200
     1.3 @@ -20,8 +20,13 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	sed -i 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' \
     1.8 -		src/AudioDecoder/ffmpegdecoder.cpp
     1.9 +	sed -i	-e 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' \
    1.10 +		-e 's/SAMPLE_FMT_S16/AV_&/' -e 's/SAMPLE_FMT_U8/AV_&/' \
    1.11 +		-e 's/SAMPLE_FMT_S32/AV_&/' \
    1.12 +		-e 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/192000/' \
    1.13 +		-e 's/av_open_input_file\(.*\), NULL/avformat_open_input\1/' \
    1.14 +		-e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \
    1.15 +			src/AudioDecoder/ffmpegdecoder.cpp
    1.16  	find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
    1.17  	./configure --enable-alsa --enable-ffmpeg --enable-flac \
    1.18  		$CONFIGURE_ARGS && make && make install