Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
[android] Require ffmpeg libraries
Carsten Hartenfelsb8fe3e4db9de
diff --git a/CMakeLists.txt b/CMakeLists.txtindex d8dfb72390..edc9f4a42b 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -1493,6 +1493,45 @@ set_package_properties(Poppler PROPERTIESTYPE OPTIONALPURPOSE "Required by the Krita PDF filter.")+##+## Test for libav on Android+##+if(ANDROID)+ find_package(PkgConfig REQUIRED)+ set_package_properties(PkgConfig PROPERTIES+ DESCRIPTION "pkg-config"+ URL "https://www.freedesktop.org/wiki/Software/pkg-config/"+ TYPE REQUIRED+ PURPOSE "Needed to find ffmpeg libraries on Android."+ )++ pkg_check_modules(LibAV REQUIRED IMPORTED_TARGET GLOBAL+ libavcodec+ libavfilter+ libavformat+ libavutil+ libswscale+ )+ if(TARGET PkgConfig::LibAV)+ add_library(LibAV ALIAS PkgConfig::LibAV)+ endif()++ # The PkgConfig and FeatureSummary modules don't play nice with each other+ # on their own, so this has to be set manually for the summary to show up.+ if(TARGET LibAV)+ set_property(GLOBAL APPEND PROPERTY PACKAGES_FOUND LibAV)+ else()+ set_property(GLOBAL APPEND PROPERTY PACKAGES_NOT_FOUND LibAV)+ endif()++ set_package_properties(LibAV PROPERTIES+ DESCRIPTION "FFmpeg libraries"+ URL "https://ffmpeg.org/"+ TYPE REQUIRED+ PURPOSE "Needed to render animations and timelapses on Android."+ )+endif()+#### Test for quazip##