[FFmpeg-devel] [PATCH] configure: use pkg-config to check for libopenjpeg

Michael Niedermayer michaelni at gmx.at
Sat Dec 22 19:07:45 CET 2012


On Sat, Dec 22, 2012 at 11:47:37AM +0100, Johannes Nixdorf wrote:
> On Sat, Dec 22, 2012 at 03:33:37AM +0100, Michael Niedermayer wrote:
> > I think a solution similar to what is done for ioctl_meteor.h
> > would be more robust unless i miss something
> 
> That sounds like a better approach. Here is the patch doing it that way.
> 

>  configure                   |    5 ++++-
>  libavcodec/libopenjpegdec.c |    7 ++++++-
>  libavcodec/libopenjpegenc.c |    7 ++++++-
>  3 files changed, 16 insertions(+), 3 deletions(-)
> 9e318584da9d961636f7d14e89545946f69cc8ae  0001-configure-consider-using-usr-include-openjpeg-1.5-wh.patch
> From 9ff88c35546429b0efab488a83131944bd4ccc7b Mon Sep 17 00:00:00 2001
> From: Johannes Nixdorf <mixi at exherbo.org>
> Date: Sun, 16 Dec 2012 16:02:08 +0100
> Subject: [PATCH] configure: consider using /usr/include/openjpeg-1.5 when
>  searching for openjpeg
> 
> Beginning with version 1.5.1 openjpeg defaults to install its headers to
> /usr/include/openjpeg-${major}.${minor} instead of /usr/include without
> providing a compatibility symlink making the old test fail.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121222/3fc1cc65/attachment.asc>


More information about the ffmpeg-devel mailing list