From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A766138334 for ; Sun, 17 Mar 2019 22:45:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60682E08F4; Sun, 17 Mar 2019 22:45:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 32883E08F4 for ; Sun, 17 Mar 2019 22:45:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9A2D3335D0E for ; Sun, 17 Mar 2019 22:45:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36B04A8 for ; Sun, 17 Mar 2019 22:45:07 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1552862680.2fac7f150f085937633f1e89eba81c4fb13341ec.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/extra-cmake-modules/ X-VCS-Repository: proj/kde X-VCS-Files: kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild X-VCS-Directories: kde-frameworks/extra-cmake-modules/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2fac7f150f085937633f1e89eba81c4fb13341ec X-VCS-Branch: master Date: Sun, 17 Mar 2019 22:45:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1c221cc3-b1d4-4dd5-8bb6-5760636b8636 X-Archives-Hash: d2c421fb858a64a01eaae7b4502fbcfd commit: 2fac7f150f085937633f1e89eba81c4fb13341ec Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 17 22:09:06 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 17 22:44:40 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=2fac7f15 kde-frameworks/extra-cmake-modules: Fix unused CMake variable warning Closes: https://bugs.gentoo.org/680256 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> .../extra-cmake-modules/extra-cmake-modules-9999.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild index b7be0b53d6..f24d2f6bc4 100644 --- a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.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 }