commit:     43ecb8e0b46be04c4d2a0274c691ca529c0f6f81
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Dec 18 06:33:29 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 11:11:45 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=43ecb8e0

kde-frameworks/knotifications: remove qml use flag

* knotifications now has include(ECMQMLModule) which tries to find Qml
  unconditionally. Leading to a suprisingly unhelpful error when it
  fails to find it due to -DCMAKE_DISABLE_FIND_PACKAGE_Qt6Qml=ON.

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/kde/pull/957
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/knotifications/knotifications-9999.ebuild | 11 +----------
 net-im/neochat/neochat-9999.ebuild                       |  2 +-
 2 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/kde-frameworks/knotifications/knotifications-9999.ebuild 
b/kde-frameworks/knotifications/knotifications-9999.ebuild
index 5d26df4975..f23238042d 100644
--- a/kde-frameworks/knotifications/knotifications-9999.ebuild
+++ b/kde-frameworks/knotifications/knotifications-9999.ebuild
@@ -12,21 +12,12 @@ DESCRIPTION="Framework for notifying the user of an event"
 
 LICENSE="LGPL-2.1+"
 KEYWORDS=""
-IUSE="qml"
 
 RDEPEND="
        >=dev-qt/qtbase-${QTMIN}:6[dbus,gui]
+       >=dev-qt/qtdeclarative-${QTMIN}:6
        =kde-frameworks/kconfig-${PVCUT}*:6
        media-libs/libcanberra
-       qml? ( >=dev-qt/qtdeclarative-${QTMIN}:6 )
 "
 DEPEND="${RDEPEND}"
 BDEPEND=">=dev-qt/qttools-${QTMIN}:6[linguist]"
-
-src_configure() {
-       local mycmakeargs=(
-               $(cmake_use_find_package qml Qt6Qml)
-       )
-
-       ecm_src_configure
-}

diff --git a/net-im/neochat/neochat-9999.ebuild 
b/net-im/neochat/neochat-9999.ebuild
index c0102245c9..989e49f886 100644
--- a/net-im/neochat/neochat-9999.ebuild
+++ b/net-im/neochat/neochat-9999.ebuild
@@ -33,7 +33,7 @@ DEPEND="
        >=kde-frameworks/kio-${KFMIN}:6
        >=kde-frameworks/kirigami-${KFMIN}:6
        >=kde-frameworks/kitemmodels-${KFMIN}:6[qml]
-       >=kde-frameworks/knotifications-${KFMIN}:6[qml]
+       >=kde-frameworks/knotifications-${KFMIN}:6
        >=kde-frameworks/kwindowsystem-${KFMIN}:6
        >=kde-frameworks/qqc2-desktop-style-${KFMIN}:6
        >=kde-frameworks/sonnet-${KFMIN}:6[qml]

Reply via email to