ffmpeg-kit icon indicating copy to clipboard operation
ffmpeg-kit copied to clipboard

Support building xcframeworks for external libraries [gmp, nettle, gnutls]

Open milos1290 opened this issue 3 years ago • 4 comments

Is your feature request related to a problem? Please describe. Allow creating a framework/xcframework of external libs like gmp, nettle, gnutls etc

Describe the solution you'd like To be built as part of the ffmpeg script

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Platform iOS/Android

Additional context Add any other context or screenshots about the feature request here.

milos1290 avatar Apr 17 '22 21:04 milos1290

@tanersener any tips ? For now it generates all libav* frameworks/xcframeworks, but the dependencies are not being built into frameworks

milos1290 avatar Apr 20 '22 09:04 milos1290

Yeah, we stopped building frameworks/xcframeworks for external libraries with the release of v4.5.1. Because, we don't need them anymore.

So, what's the motivation about them. Would you mind elaborating why we must bring them back?

tanersener avatar Apr 20 '22 15:04 tanersener

I'm using ffmpeg-kit to get av libs as static xcframeworks since they are all dependencies of another library and i technically need its dependencies to be able to compile

milos1290 avatar Apr 21 '22 09:04 milos1290

Um, in v4.5.1 we also stopped creating static libav libraries. They are dynamic/shared now. We cannot simply go back. And supporting both of them is out of the question.

If you want to use static libs in your app, then you need to get old versions of the scripts from an older tag e.g. v4.5, update the library versions you want to build in source.sh and run the build scripts there.

tanersener avatar Apr 21 '22 10:04 tanersener