[FFmpeg-devel] [PATCH] configure: use pkg-config to find libdcadec

James Almer jamrial at gmail.com
Thu Apr 16 18:12:16 CEST 2015


On 16/04/15 9:52 AM, Michael Niedermayer wrote:
> On Thu, Apr 16, 2015 at 10:48:35AM +0200, Hendrik Leppkes wrote:
>> On Wed, Apr 15, 2015 at 7:40 PM, Simon Thelen <ffmpeg-dev at c-14.de> wrote:
>>> Signed-off-by: Simon Thelen <ffmpeg-dev at c-14.de>
>>> ---
>>>  configure | 2 +-
>>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/configure b/configure
>>> index 389de92..93aebcb 100755
>>> --- a/configure
>>> +++ b/configure
>>> @@ -5012,7 +5012,7 @@ enabled libcelt           && require libcelt celt/celt.h celt_decode -lcelt0 &&
>>>                               { check_lib celt/celt.h celt_decoder_create_custom -lcelt0 ||
>>>                                 die "ERROR: libcelt must be installed and version must be >= 0.11.0."; }
>>>  enabled libcaca           && require_pkg_config caca caca.h caca_create_canvas
>>> -enabled libdcadec         && require libdcadec libdcadec/dca_context.h dcadec_context_create -ldcadec
>>> +enabled libdcadec         && require_pkg_config dcadec libdcadec/dca_context.h dcadec_context_create
>>>  enabled libfaac           && require2 libfaac "stdint.h faac.h" faacEncGetVersion -lfaac
>>>  enabled libfdk_aac        && require libfdk_aac fdk-aac/aacenc_lib.h aacEncOpen -lfdk-aac
>>>  flite_libs="-lflite_cmu_time_awb -lflite_cmu_us_awb -lflite_cmu_us_kal -lflite_cmu_us_kal16 -lflite_cmu_us_rms -lflite_cmu_us_slt -lflite_usenglish -lflite_cmulex -lflite"
>>> --
>>> 2.3.5
>>>
>>
>>
>> Ok
> 
> i wanted to apply this but it breaks build
> 
> ERROR: dcadec not found using pkg-config

The pkg-config has been in the git tree for a month now. One of the first few 
additions, even, seven days after the first commit.
I tested it and it works, so i assume you're using a very old git snapshot of 
dcadec. Can you confirm this so we can apply this version instead?


More information about the ffmpeg-devel mailing list