summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-12-15 12:12:17 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-12-15 13:58:34 +0100
commitb5f0806e00fadca2d0c9819e9ab46b0d4c2da58f (patch)
tree651d11303c1a4fdb7aae0dd382ce043ffb840404 /kde-frameworks/kitemmodels
parentapp-emulation/qemu: bump up to 4.2.0, bug #702036 (diff)
downloadgentoo-b5f0806e00fadca2d0c9819e9ab46b0d4c2da58f.tar.gz
gentoo-b5f0806e00fadca2d0c9819e9ab46b0d4c2da58f.tar.bz2
gentoo-b5f0806e00fadca2d0c9819e9ab46b0d4c2da58f.zip
kde-frameworks: Add KDE Frameworks 5.65
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kitemmodels')
-rw-r--r--kde-frameworks/kitemmodels/Manifest1
-rw-r--r--kde-frameworks/kitemmodels/kitemmodels-5.65.0.ebuild28
-rw-r--r--kde-frameworks/kitemmodels/metadata.xml3
3 files changed, 32 insertions, 0 deletions
diff --git a/kde-frameworks/kitemmodels/Manifest b/kde-frameworks/kitemmodels/Manifest
index 94b6d117af87..4ec25ab2c5e4 100644
--- a/kde-frameworks/kitemmodels/Manifest
+++ b/kde-frameworks/kitemmodels/Manifest
@@ -1 +1,2 @@
DIST kitemmodels-5.64.0.tar.xz 390752 BLAKE2B dc33162f7ef7f4a0fb21c685c0e879acc689cfd29980f12ab20b27ac21f2624d552f9e5f73efc43d62dc8d05cb1324887a51637ce5622cab1cc610e7434542b4 SHA512 d4c486a3401f25e345b87b7d93d4ddc8d03eec6c63b9f1e7d4517ecd501a8855ab7dc790e8acd195b29d3ea6f9b91ba1ad4fe8ea060fcb13cc5b872e63e64ff3
+DIST kitemmodels-5.65.0.tar.xz 393032 BLAKE2B 226080bc8b36cf594e75a9ce286e901e9b1c5bc4697d419de512f52a1ab27b8f9fa341548aed5dd58fd38b781d1412a0e133863f4f9603b97bb1e3eca7ca3676 SHA512 981d8f2301f0a5314f504aff983f8eac8d2d299ec775586151097f1f8d2e6ed809e5a72947b75fa5d20cdbf081ddef5c79d3aee1b993338a74eaf8fe69977b3b
diff --git a/kde-frameworks/kitemmodels/kitemmodels-5.65.0.ebuild b/kde-frameworks/kitemmodels/kitemmodels-5.65.0.ebuild
new file mode 100644
index 000000000000..538c41b4d26d
--- /dev/null
+++ b/kde-frameworks/kitemmodels/kitemmodels-5.65.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+QTMIN=5.12.3
+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="~amd64 ~arm ~arm64 ~x86"
+IUSE="qml"
+
+RDEPEND="
+ qml? ( >=dev-qt/qtdeclarative-${QTMIN}:5 )
+"
+DEPEND="${RDEPEND}
+ test? ( >=dev-qt/qtwidgets-${QTMIN}:5 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package qml Qt5Qml)
+ )
+ ecm_src_configure
+}
diff --git a/kde-frameworks/kitemmodels/metadata.xml b/kde-frameworks/kitemmodels/metadata.xml
index 2fdbf33d963d..5bd216b18309 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>