Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=dex77stuff.git;a=commitdiff;h=cb8176d55625d857a051ba35d5483f8af97b51bf
commit cb8176d55625d857a051ba35d5483f8af97b51bf Author: kikadf <[email protected]> Date: Sat Jan 3 09:49:02 2015 +0100 ffmpeg2theora-0.29-3-x86_64 * Rebuild with ffmpeg-2.5.2 diff --git a/source/xmultimedia-extra/ffmpeg2theora/FrugalBuild b/source/xmultimedia-extra/ffmpeg2theora/FrugalBuild index 90e0a8d..84b3279 100644 --- a/source/xmultimedia-extra/ffmpeg2theora/FrugalBuild +++ b/source/xmultimedia-extra/ffmpeg2theora/FrugalBuild @@ -4,19 +4,22 @@ pkgname=ffmpeg2theora pkgver=0.29 -pkgrel=2 +pkgrel=3 pkgdesc="A simple converter to create Ogg Theora files" url="http://www.v2v.cc/~j/ffmpeg2theora/" -depends=('ffmpeg>=1.0' 'libkate>=0.4.1' 'libogg' 'libtheora>=1.1.1') +depends=('ffmpeg>=2.5.1' 'libkate>=0.4.1' 'libogg' 'libtheora>=1.1.1') makedepends=('pkgconfig' 'scons') groups=('xmultimedia-extra') archs=('i686' 'x86_64') _F_launchpad_ext=".tar.bz2" Finclude launchpad -sha1sums=('7e78c5ddb8740b33a6ae4c9da76047bd8e662791') +source+=(ffmpeg2theora-0.29-underlinking.patch) +sha1sums=('7e78c5ddb8740b33a6ae4c9da76047bd8e662791' \ + '311f117dbc45cb1633d558da6bd9a17fc4d3d232') build() { - Fcd + Fpatchall + echo "#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000" >> src/ffmpeg2theora.h || Fdie scons || Fdie scons install destdir="$Fdestdir" prefix="/usr" mandir="PREFIX/share/man" || Fdie } diff --git a/source/xmultimedia-extra/ffmpeg2theora/ffmpeg2theora-0.29-underlinking.patch b/source/xmultimedia-extra/ffmpeg2theora/ffmpeg2theora-0.29-underlinking.patch new file mode 100644 index 0000000..1db3d16 --- /dev/null +++ b/source/xmultimedia-extra/ffmpeg2theora/ffmpeg2theora-0.29-underlinking.patch @@ -0,0 +1,21 @@ +mple, pow() from mathlib is used directly in src/ffmpeg2theora.c: + +<snip> +v = pow(v, g) * 255.0; // mplayer's vf_eq2.c multiplies with 256 here, strange... +</snip> + +For build failure and log, see Gentoo bug #504698 + +--- SConstruct ++++ SConstruct +@@ -206,9 +206,8 @@ + if env['crossmingw']: + env.Append(CCFLAGS=['-Wl,-subsystem,windows']) + env.Append(LIBS=['m']) +- elif env['static']: +- env.Append(LIBS=['m', 'dl']) + ++ env.Append(LIBS=['m', 'dl']) + + env = conf.Finish() + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
