public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/kitemmodels/
Date: Thu, 14 Nov 2019 13:07:03 +0000 (UTC)	[thread overview]
Message-ID: <1573736716.6e93b56b0b832118b698be8d7155a2e331d7d856.asturm@gentoo> (raw)

commit:     6e93b56b0b832118b698be8d7155a2e331d7d856
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 14 13:05:16 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Nov 14 13:05:16 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=6e93b56b

kde-frameworks/kitemmodels: Add USE qml

Upstream commit adb9b0e9cd3a0ad2246d46d20863f51aef6506d1

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-frameworks/kitemmodels/kitemmodels-9999.ebuild | 17 +++++++++++++++--
 kde-frameworks/kitemmodels/metadata.xml            |  3 +++
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/kde-frameworks/kitemmodels/kitemmodels-9999.ebuild b/kde-frameworks/kitemmodels/kitemmodels-9999.ebuild
index bae692156f..cc826a2698 100644
--- a/kde-frameworks/kitemmodels/kitemmodels-9999.ebuild
+++ b/kde-frameworks/kitemmodels/kitemmodels-9999.ebuild
@@ -8,8 +8,21 @@ VIRTUALX_REQUIRED="test"
 inherit ecm kde.org
 
 DESCRIPTION="Framework providing data models to help with tasks such as sorting and filtering"
+
 LICENSE="LGPL-2+"
 KEYWORDS=""
-IUSE=""
+IUSE="qml"
+
+RDEPEND="
+	qml? ( >=dev-qt/qtdeclarative-${QTMIN}:5 )
+"
+DEPEND="${RDEPEND}
+	test? ( >=dev-qt/qtwidgets-${QTMIN}:5 )
+"
 
-DEPEND="test? ( >=dev-qt/qtwidgets-${QTMIN}:5 )"
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package qml Qt5Qml)
+	)
+	ecm_src_configure
+}

diff --git a/kde-frameworks/kitemmodels/metadata.xml b/kde-frameworks/kitemmodels/metadata.xml
index 2fdbf33d96..5bd216b183 100644
--- a/kde-frameworks/kitemmodels/metadata.xml
+++ b/kde-frameworks/kitemmodels/metadata.xml
@@ -5,4 +5,7 @@
 		<email>kde@gentoo.org</email>
 		<name>Gentoo KDE Project</name>
 	</maintainer>
+	<use>
+		<flag name="qml">Enable QML support via <pkg>dev-qt/qtdeclarative</pkg></flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2019-11-14 13:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-14 13:07 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-02-26 10:10 [gentoo-commits] proj/kde:master commit in: kde-frameworks/kitemmodels/ Andreas Sturmlechner
2015-11-10 17:55 Michael Palimaka
2014-06-10 17:24 Michael Palimaka
2014-05-25  6:28 Michael Palimaka
2014-03-19 14:19 Michael Palimaka
2014-03-19 11:31 Michael Palimaka
2014-03-06 12:09 Michael Palimaka
2014-01-10 12:24 Michael Palimaka
2014-01-10 12:24 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1573736716.6e93b56b0b832118b698be8d7155a2e331d7d856.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox