public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] proj/kde:master commit in: kde-frameworks/prison/
@ 2018-02-24 13:44 99% Andreas Sturmlechner
  0 siblings, 0 replies; 1+ results
From: Andreas Sturmlechner @ 2018-02-24 13:44 UTC (permalink / raw
  To: gentoo-commits

commit:     7f0ebc2a23f1017e4ce920c0a6c58b1ec3cf44cc
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 24 13:21:20 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 24 13:21:20 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=7f0ebc2a

kde-frameworks/prison: Add USE=qml

Upstream commit 6fb9f3f5b21ff647cb83437c6fe8d4217ad32e34

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 kde-frameworks/prison/metadata.xml       |  3 +++
 kde-frameworks/prison/prison-9999.ebuild | 11 ++++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

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

diff --git a/kde-frameworks/prison/prison-9999.ebuild b/kde-frameworks/prison/prison-9999.ebuild
index 80c6f6c2a7..88be4d225a 100644
--- a/kde-frameworks/prison/prison-9999.ebuild
+++ b/kde-frameworks/prison/prison-9999.ebuild
@@ -10,11 +10,20 @@ HOMEPAGE="https://cgit.kde.org/prison.git"
 
 LICENSE="GPL-2"
 KEYWORDS=""
-IUSE=""
+IUSE="qml"
 
 DEPEND="
 	$(add_qt_dep qtgui)
 	media-gfx/qrencode:=
 	media-libs/libdmtx
+	qml? ( $(add_qt_dep qtdeclarative) )
 "
 RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package qml Qt5Quick)
+	)
+
+	kde5_src_configure
+}


^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-02-24 13:44 99% [gentoo-commits] proj/kde:master commit in: kde-frameworks/prison/ Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox