wok-6.x rev 19144

electricsheep, gejengel: ffmpeg > 2.4 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 15:51:15 2016 +0200 (2016-05-19)
parents 7453cace358a
children b1d8295f3bea
files audacity/receipt electricsheep/receipt gejengel/receipt
line diff
     1.1 --- a/audacity/receipt	Thu May 19 12:10:21 2016 +0200
     1.2 +++ b/audacity/receipt	Thu May 19 15:51:15 2016 +0200
     1.3 @@ -7,7 +7,7 @@
     1.4  MAINTAINER="allan316@gmail.com"
     1.5  LICENSE="GPL2"
     1.6  TARBALL="$PACKAGE-minsrc-$VERSION.tar.xz"
     1.7 -WEB_SITE="http://audacity.sourceforge.net"
     1.8 +WEB_SITE="http://www.audacityteam.org/"
     1.9  WGET_URL="$SF_MIRROR/project/$PACKAGE/$PACKAGE/$VERSION/$TARBALL"
    1.10  TAGS="sound audio recorder editor"
    1.11  
     2.1 --- a/electricsheep/receipt	Thu May 19 12:10:21 2016 +0200
     2.2 +++ b/electricsheep/receipt	Thu May 19 15:51:15 2016 +0200
     2.3 @@ -16,7 +16,6 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	cd $src
     2.8  	sed -i	-e 's/CODEC_TYPE_VIDEO/AVMEDIA_TYPE_VIDEO/' \
     2.9  		-e 's/guess_format/av_guess_format/' \
    2.10  		-e 's/PKT_FLAG_KEY/AV_PKT_FLAG_KEY/' \
    2.11 @@ -26,6 +25,9 @@
    2.12  		-e 's/av\(_write_header(output_ctx\)/avformat\1, NULL/' \
    2.13  		-e 's/av_alloc_format_context/avformat_alloc_context/' \
    2.14  		-e '/GNOME_SCREENSAVER/d' \
    2.15 +		-e 's/av_new_stream(output_ctx, /avformat_new_stream(output_ctx, NULL); st->id = (/' \
    2.16 +		-e 's/av_close_input_file(/avformat_close_input(\&/' \
    2.17 +		-e 's/av_find_stream_info(ictx/avformat_find_stream_info(ictx,NULL/' \
    2.18  			electricsheep.c
    2.19  	mkdir -p $DESTDIR/usr/share/gconf/defaults
    2.20  	sed -i	-e '/update-gconf-defaults/d' \
    2.21 @@ -47,4 +49,3 @@
    2.22  	rm -r $fs/usr/share/man
    2.23  	rm $fs/usr/share/electricsheep/electricsheep-wait.avi
    2.24  }
    2.25 -
     3.1 --- a/gejengel/receipt	Thu May 19 12:10:21 2016 +0200
     3.2 +++ b/gejengel/receipt	Thu May 19 15:51:15 2016 +0200
     3.3 @@ -26,6 +26,8 @@
     3.4  		-e 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/192000/' \
     3.5  		-e 's/av_open_input_file\(.*\), NULL/avformat_open_input\1/' \
     3.6  		-e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \
     3.7 +		-e 's/av_close_input_file(/avformat_close_input(\&/' \
     3.8 +		-e 's/av_\(find_stream_info(m_pFormatContext\)/avformat_\1,NULL/' \
     3.9  			src/AudioDecoder/ffmpegdecoder.cpp
    3.10  	find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|'
    3.11  	./configure --enable-alsa --enable-ffmpeg --enable-flac \