On Sun, Jun 19, 2011 at 11:17:28AM +0100, Nigel Taylor wrote:
> On 06/19/11 07:52, Jacob Meuser wrote:
> > On Sun, Jun 19, 2011 at 05:56:35AM +0100, Nigel Taylor wrote:
> >
> >> Goes wrong in configure, as diff shows. It's the pkg-config for avformat
> >> that doesn't include avcodec, and avutil which causes the
> >> av_register_all check to fail.
> >
> > ah. so it indeed is a change in Requires.private handling in
> > pkg-config. or is it wrong that avutil and avcodec are in
> > Requires.private instead of Requires?
> >
> > actually, -lavcodec -lavutil should be in libavformat's link list
> > even without Requires. that was the intention with LIBavformat_EXTRALIBS
> > in the port's MAKE_FLAGS and patches/patch-configure.
The problem has always been there, it's just been uncovered by pkg-config
that's more correct/strict now. It also fails with the freedesktop.org
pkg-config.
> ffmpeg - The libavformat.pc is created in the configure stage not build,
> the MAKE_FLAGS has no effect. The
> LIBavformat_EXTRALIBS=-L${LOCALBASE}/lib -lbz2 -lm
> -Wl,-rpath,${LOCALBASE}/lib is used in creating the libavformat.pc, and
> that doesn't contain the -lavcodec -lavutil that was added for the
> MAKE_FLAGS.
Right.
> Regards
>
> Nigel Taylor
--
Cheers,
Jasper
"Capable, generous men do not create victims, they nurture them."