[MPlayer-dev-eng] [PATCH] fix mencoder compilation with lavf X11 demuxer

Reimar Doeffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Dec 15 10:03:56 CET 2006


Hello,
On Fri, Dec 15, 2006 at 01:14:53AM +0200, Ivan Kalvachev wrote:
> I had discussed this in the dev irc channel. Reimar seems to favour
> using same lib includes
> for configure, mplayer and mencoder. He also dislikes pkg-config (just
> like dalias).

I did not get around to properly do it and my bash skills are limited,
but I had in mind to drop something like this into configure (untested):

_ld_tmp=""
for I in $_libs_mplayer ; do
  _tmp=`echo $I | sed -e s/^-L.*$//`
  if test -z $_tmp ; then
    $_ld_extra="$_ld_extra $I"
  else
    $_ld_tmp="$_ld_tmp $I"
  fi
done
_libs_mplayer=$_ld_tmp


Though since the x11grab stuff will not work in mplayer anyway and I
don't like mencoder linking to x11 the solution for this particular
problem is to always disable it.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list