[FFmpeg-devel] [PATCH] Add pkg-config for libfdk_aac

James Almer jamrial at gmail.com
Wed Dec 31 19:41:55 CET 2014

On 31/12/14 12:45 PM, Reimar Döffinger wrote:
> On Wed, Dec 31, 2014 at 04:03:59PM +0100, Clément Bœsch wrote:
>> On Wed, Dec 31, 2014 at 03:58:50PM +0100, wm4 wrote:
>>> On Wed, 31 Dec 2014 14:11:20 +0100
>>> Clément Bœsch <u at pkh.me> wrote:
>>>> On Wed, Dec 31, 2014 at 12:14:03PM +0000, Carl Eugen Hoyos wrote:
>>>>> Nicolas George <george <at> nsup.org> writes:
>>>>>> Le primidi 11 nivôse, an CCXXIII, Carl Eugen Hoyos a écrit :
>>>>>>> Please make this use_pkg_config ... || require libfdk_aac...
>>>>>> Is there a known instance where fdk_aac is 
>>>>>> not bundled with valid pkg-config files?
>>>>> All systems without pkg-config.
>>>> Does that even exist?
>>> Windows.
>> It's available there too AFAIK. You even have a --msvc-syntax option.
> "Just install it" might not quite apply though.
> On MinGW it is in the FAQ and either needs the full GTK runtime or an
> alternative implementation it seems: http://www.mingw.org/wiki/FAQ
> On cygwin you easily end up using the system pkg-config
> which then will give you a lot of pain since you end up linking
> against the cygwin zlib (which from my experience likes to end up
> failing by crashing at runtime only) instead of the MinGW one for example
> (PKG_CONFIG_PATH is only searched in addition, you can't remove the
> default paths it seems).

That page is for mingw32. Non crazy people use Mingw-w64 (Available as source 
or pre-compiled binaries for MSYS, or in the package manager for both Cygwin 
and MSYS2). Also, http://www.gtk.org/download/win32.php for pkg-config in MSYS.
Anyone bothering to compile ffmpeg has done stuff 10x more complex that 
installing freaking pkg-config.

Can we stop with these discussions, implement pkg-config on every library that 
supports it (And even *recommends* it), drop all the hacks and live in peace?

More information about the ffmpeg-devel mailing list