summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.56.0.ebuild')
-rw-r--r--kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.56.0.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.56.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.56.0.ebuild
index 3a8e3d7b382..b32d244d967 100644
--- a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.56.0.ebuild
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.56.0.ebuild
@@ -43,6 +43,13 @@ pkg_setup() {
use doc && python-any-r1_pkg_setup
}
+src_prepare() {
+ kde5_src_prepare
+ # Requires PyQt5, bug #680256
+ sed -i -e "/^if(NOT SIP_Qt5Core_Mod_FILE)/s/NOT SIP_Qt5Core_Mod_FILE/TRUE/" \
+ tests/CMakeLists.txt || die "failed to disable GenerateSipBindings tests"
+}
+
src_configure() {
local mycmakeargs=(
-DBUILD_QTHELP_DOCS=$(usex doc)
@@ -50,7 +57,6 @@ src_configure() {
-DBUILD_MAN_DOCS=$(usex doc)
-DDOC_INSTALL_DIR=/usr/share/doc/"${PF}"
)
- use test && mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON )
kde5_src_configure
}