[FFmpeg-cvslog] configure: Check if libwebp compilation will succeed.
Clément Bœsch
u at pkh.me
Fri Aug 8 21:41:54 CEST 2014
On Fri, Aug 08, 2014 at 05:05:00PM +0000, Carl Eugen Hoyos wrote:
> Clément Bœsch <u <at> pkh.me> writes:
>
> > > + { check_code cc webp/encode.h "WebPPicture wp; wp.use_argb++" ||
> > > + die "ERROR: libwebp too old."; }
> >
> > ... ?
> >
> > Why don't you just include the version check in the libwebp name?
>
> I didn't find a version bump near the relevant commit.
>
I suppose this is related to:
commit dd1081763c914914aedc36bc6d46a3a158e24777
Author: Pascal Massimino <pascal.massimino at gmail.com>
Date: Wed Jul 18 21:58:53 2012 +0000
rename 'use_argb_input' to 'use_argb'
long name, and there's not really an 'output' equivalent
Change-Id: I9133ff734ae8d6572cb2f607211361f011fc0bc1
So...
[~/src/libwebp]☭ git checkout dd1081763c914914aedc36bc6d46a3a158e2477
[~/src/libwebp]☭ git describe
v0.1.3-606-gdd10817
[~/src/libwebp]☭ git tag
v0.1.2
v0.1.3
v0.1.99
v0.2.0
v0.2.0-rc1
v0.2.1
v0.3.0
v0.3.0-rc6
v0.3.0-rc7
v0.3.1
v0.3.1-rc1
v0.3.1-rc2
v0.4.0
v0.4.0-rc1
v0.4.1
v0.4.1-rc1
I suppose the next version is v0.1.99 but it sounds like a beta or something.
So I'd just pick 0.2.0.
Which basically translates to:
enabled libwebp && require_pkg_config "libwebp >= 0.2.0" webp/encode.h WebPGetEncoderVersion
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20140808/e2c4895f/attachment.asc>
More information about the ffmpeg-cvslog
mailing list