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

James Almer jamrial at gmail.com
Fri Apr 17 01:13:13 CEST 2015


On 16/04/15 2:02 PM, Michael Niedermayer wrote:
> On Thu, Apr 16, 2015 at 01:12:16PM -0300, James Almer wrote:
>> 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?
> 
> my dcadec is about 3 weeks old

[14:20:16] <jamrial> michaelni: Re dcadec, is the .pc file installed in your environment? the commit that added it is exactly 27 days old
[14:20:27] <jamrial> i see no reason for it to fail if it's installed
[14:22:19] <michaelni> theres no *dcadec.pc
[14:23:50] <@Daemon404> your git repo is old.

Applying this version as it was oked by the author of the wrapper, then.


More information about the ffmpeg-devel mailing list