Package: mplayer
Version: 2:1.0~rc3+svn20100502-2
Severity: normal
Tags: patch l10n

Checking mplayer's build logs I noticed this line:

        Checking for fribidi with charsets ... no

This is probably due to the an updated libfribidi package (version 0.19.2-1)
which has dropped fribidi-config that mplayer checks for.

I'm attaching a patch to fix the configure script. Additionally the
following
configure option has to be added:
"--with-fribidi-config=/usr/bin/pkg-config"

As libfribidi-dev is already a build dependency, no other changes are
needed.

Expected result:

        Checking for fribidi with charsets ... yes

Thanks,

Kaplan
--- configure    2010-05-01 21:51:08.000000000 +0300
+++ configure    2010-05-23 18:36:21.000000000 +0300
@@ -6052,15 +6052,15 @@
 }
 EOF
     _fribidi=no
-    cc_check `$_fribidiconfig --cflags` `$_fribidiconfig --libs` && tmp_run && _fribidi=yes
+    cc_check `$_fribidiconfig --cflags fribidi` `$_fribidiconfig --libs fribidi` && tmp_run && _fribidi=yes
     else
     _fribidi=no
     fi
 fi
 if test "$_fribidi" = yes ; then
     def_fribidi='#define CONFIG_FRIBIDI'
-    extra_cflags="$extra_cflags `$_fribidiconfig --cflags`"
-    extra_ldflags="$extra_ldflags `$_fribidiconfig --libs`"
+    extra_cflags="$extra_cflags `$_fribidiconfig --cflags fribidi`"
+    extra_ldflags="$extra_ldflags `$_fribidiconfig --libs fribidi`"
 else
     def_fribidi='#undef CONFIG_FRIBIDI'
 fi
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to