[Ffmpeg-devel] [PATCH] install libav(codec|format).pc/libpostproc.pc

Michael Niedermayer michaelni
Sat May 14 22:16:42 CEST 2005


Hi

On Wednesday 11 May 2005 12:43, j at v2v.cc wrote:
> attached patch creates pkg-config .pc files that reflect
> the configuration of libavcodec/libavformat and libpostproc.
> with that it would be possible to use libav* better as
> a shared library since external dependencies are taken care.
> linking to the installed version of libav* would be as easy as:
>
> gcc myproject.c -o myproject `pkg-config --cflags --libs libavcodec
> libavformat`
>
> i also added *-uninstalled.pc files that allow you to link to
> the uninstalled libs.

[...]

> +if test "$faad" = "yes";then
> +    if test "$faadbin" = "no"; then
> +        extralibs="$extralibs -lfaad"
> +    fi

similar code exists in the Makefiles ...


can someone who knows pkg-config check the rest of the patch? it looks ok to 
me but i never wrote a .pc file ...

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list