conda-forge / ffmpeg-feedstock

A conda-smithy repository for ffmpeg.
BSD 3-Clause "New" or "Revised" License
14 stars 45 forks source link

pkg-config file libavformat.pc is missing linker instructions #10

Closed tcwalther closed 1 month ago

tcwalther commented 8 years ago

The pkg-config file libavformat.pc is missing the following linker instructions

-lx264 -lavfilter -lpostproc

As a result, packages like PyAV don't compile. Appending these shared libraries to the Libs: line in libavformat.pc fixes it.

I don't see where creation of this file is handled in this repository. Is there a way to fix this? Alternatively, is there a way to make libavformat not automatically depend on the inclusion of these libraries?

jakirkham commented 8 years ago

Thanks for the report. We should be including the pkg-config files. Will look into it.

tcwalther commented 8 years ago

Note that it does ship with pkg-config files, one of them is just incomplete. I use the following bash-hack to fix it in my CI setup script:

sed -i '/Libs:/s/$/ -lx264 -lavfilter -lpostproc/' /home/ubuntu/miniconda2/envs/testenv/lib/pkgconfig/libavformat.pc
jakirkham commented 8 years ago

Right, sorry, misread. Wondering if this is fixed in a newer copy of ffmpeg. The version we are building is pretty old.

hmaarrfk commented 1 month ago

8 years later. Lets close this and please revive if it is still an issue.