commit:     b8d4bba5fa569d918237c88d5bcd5386169884fa
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 30 18:05:31 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Sep  1 18:50:50 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8d4bba5

cmake.eclass: If inherited from ecm.eclass, set ECM_DISABLE_QMLPLUGINDUMP

Works with downstream patch added to kde-frameworks/extra-cmake-modules in
commit f5b2cf80ea9696a5efbc2064cd432670670af486

Bug: https://bugs.gentoo.org/640432
Bug: https://bugs.gentoo.org/683102
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 eclass/cmake.eclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 5505fd21ac0..ddee554d429 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -489,6 +489,10 @@ cmake_src_configure() {
                SET (BUILD_SHARED_LIBS ON CACHE BOOL "")
        _EOF_
 
+       if [[ -n ${_ECM_ECLASS} ]]; then
+               echo 'SET (ECM_DISABLE_QMLPLUGINDUMP ON CACHE BOOL "")' >> 
"${common_config}" || die
+       fi
+
        # See bug 689410
        if [[ "${ARCH}" == riscv ]]; then
                echo 'SET (CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX 
'"${libdir#lib}"' CACHE STRING "library search suffix" FORCE)' >> 
"${common_config}" || die

Reply via email to