27 #define contains_ext_lib(element) enabledLibrarySet->find(element) != enabledLibrarySet->end()
36 bool httpsGpl =
false;
42 if (speex && fribidi) {
201 const std::set<const char*> supportedExternalLibraries{
234 std::string buildConfiguration(FFMPEG_CONFIGURATION);
235 char libraryName1[50];
236 char libraryName2[50];
237 std::shared_ptr<std::set<std::string>> enabledLibrarySet = std::make_shared<std::set<std::string>>();
239 std::for_each(supportedExternalLibraries.cbegin(), supportedExternalLibraries.cend(), [&](
const char* supportedExternalLibrary) {
240 sprintf(libraryName1,
"enable-%s", supportedExternalLibrary);
241 sprintf(libraryName2,
"enable-lib%s", supportedExternalLibrary);
243 if (buildConfiguration.find(libraryName1) != std::string::npos || buildConfiguration.find(libraryName2) != std::string::npos) {
244 enabledLibrarySet->insert(supportedExternalLibrary);
248 return enabledLibrarySet;
#define contains_ext_lib(element)
static std::string getPackageName()
static std::shared_ptr< std::set< std::string > > getExternalLibraries()