wok-next diff gejengel/receipt @ rev 18846
busybox: fix pre_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 23 09:35:16 2016 +0100 (2016-01-23) |
parents | 002d4bf6c905 |
children | 828d10d5e797 |
line diff
1.1 --- a/gejengel/receipt Thu May 08 14:49:56 2014 +0000 1.2 +++ b/gejengel/receipt Sat Jan 23 09:35:16 2016 +0100 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