aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-11-23 11:57:53 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-11-23 11:57:53 +0100
commit7ce0e06d01c326b4c6f90bbfb4947b87741fade3 (patch)
treeb06f178558abd1654716cc1487479c95786ef196 /kde-frameworks/kconfig
parentkde-apps/kalarmcal: propagate test fixes to *9999 (diff)
downloadkde-7ce0e06d01c326b4c6f90bbfb4947b87741fade3.tar.gz
kde-7ce0e06d01c326b4c6f90bbfb4947b87741fade3.tar.bz2
kde-7ce0e06d01c326b4c6f90bbfb4947b87741fade3.zip
kde-frameworks/kconfig: Add IUSE qml
"Copy ConfigPropertyMap from KDeclarative to new KConfig QML module" Upstream commit 3f29f3d6452f735757cb8f84dfc20cdcba791613 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kconfig')
-rw-r--r--kde-frameworks/kconfig/kconfig-9999.ebuild11
-rw-r--r--kde-frameworks/kconfig/metadata.xml3
2 files changed, 10 insertions, 4 deletions
diff --git a/kde-frameworks/kconfig/kconfig-9999.ebuild b/kde-frameworks/kconfig/kconfig-9999.ebuild
index b8423f64d6..c36e9b6bcc 100644
--- a/kde-frameworks/kconfig/kconfig-9999.ebuild
+++ b/kde-frameworks/kconfig/kconfig-9999.ebuild
@@ -8,24 +8,26 @@ VIRTUALX_REQUIRED="test"
inherit ecm kde.org
DESCRIPTION="Framework for reading and writing configuration"
+
LICENSE="LGPL-2+"
KEYWORDS=""
-IUSE="dbus nls"
+IUSE="dbus nls qml"
# bug 560086
RESTRICT="test"
-BDEPEND="
- nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
-"
RDEPEND="
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtxml-${QTMIN}:5
dbus? ( >=dev-qt/qtdbus-${QTMIN}:5 )
+ qml? ( >=dev-qt/qtdeclarative-${QTMIN}:5 )
"
DEPEND="${RDEPEND}
test? ( >=dev-qt/qtconcurrent-${QTMIN}:5 )
"
+BDEPEND="
+ nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
+"
DOCS=( DESIGN docs/{DESIGN.kconfig,options.md} )
@@ -33,6 +35,7 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON # bug 746866
-DKCONFIG_USE_DBUS=$(usex dbus)
+ $(cmake_use_find_package qml Qt5Qml)
)
ecm_src_configure
}
diff --git a/kde-frameworks/kconfig/metadata.xml b/kde-frameworks/kconfig/metadata.xml
index 506ecf605b..4e3b65426d 100644
--- a/kde-frameworks/kconfig/metadata.xml
+++ b/kde-frameworks/kconfig/metadata.xml
@@ -8,6 +8,9 @@
<upstream>
<bugs-to>https://bugs.kde.org/</bugs-to>
</upstream>
+ <use>
+ <flag name="qml">Enable QML/QtQuick support via dev-qt/qtdeclarative</flag>
+ </use>
<slots>
<subslots>
Must only be used by packages that are known to use private parts of the Frameworks API.