%general-entities; ]> extra-cmake-modules-&kf6-version; extra-cmake-modules Introduction to Extra Cmake Modules The Extra Cmake Modules package contains extra CMake modules used by KDE Frameworks and other packages. &lfs121_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &extra-cmake-modules-md5sum; Download size: &extra-cmake-modules-size; Estimated disk space required: &extra-cmake-modules-buildsize; Estimated build time: &extra-cmake-modules-time; Extra Cmake Modules Dependencies Required Optional (for building documentation), PyQt (experimental support for building KDE Python bindings), and ReuseTool (for running internal tests) Installation of Extra Cmake Modules Install Extra Cmake Modules by running the following commands: sed -i '/"lib64"/s/64//' kde-modules/KDEInstallDirsCommon.cmake && sed -e '/PACKAGE_INIT/i set(SAVE_PACKAGE_PREFIX_DIR "${PACKAGE_PREFIX_DIR}")' \ -e '/^include/a set(PACKAGE_PREFIX_DIR "${SAVE_PACKAGE_PREFIX_DIR}")' \ -i ECMConfig.cmake.in && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make This package does not come with a test suite. Unlike other KF6 packages, this module is installed in /usr because it can be used by some non-KF6 packages. Now, as the root user: make install Command Explanations sed ... Modules/KDEInstallDirs.cmake: This command disables applications using cmake from attempting to install files in a lib64 sub-directory. sed ... ECMConfig.cmake.in: This command protects the global cmake variable PACKAGE_PREFIX_DIR from being changed when checking ECM presence: since we install ECM into /usr, the check would set that variable to /usr, while most KDE packages expect it to be set to /opt/kf5 and would fail to build if it is set to something else. Contents Installed Programs Installed Libraries Installed Directories None None /usr/share/ECM and /usr/share/doc/ECM (if documentation was built)