aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-11 01:35:13 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-16 20:08:31 +0100
commitba913b0657975caee82dbd63487c5fc65c470817 (patch)
treed3f44eec31fd43064b1e5286dd4937ac3ccee69d
parentdev-qt/qtdeclarative: Drop USE xml (diff)
downloadqt-ba913b0657975caee82dbd63487c5fc65c470817.tar.gz
qt-ba913b0657975caee82dbd63487c5fc65c470817.tar.bz2
qt-ba913b0657975caee82dbd63487c5fc65c470817.zip
dev-qt/qtxmlpatterns: Add USE qml
xmllistmodel was moved from qtdeclarative. Bug: https://bugs.gentoo.org/679472 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--dev-qt/qtxmlpatterns/metadata.xml3
-rw-r--r--dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild19
-rw-r--r--dev-qt/qtxmlpatterns/qtxmlpatterns-5.13.9999.ebuild17
-rw-r--r--dev-qt/qtxmlpatterns/qtxmlpatterns-5.9999.ebuild19
4 files changed, 44 insertions, 14 deletions
diff --git a/dev-qt/qtxmlpatterns/metadata.xml b/dev-qt/qtxmlpatterns/metadata.xml
index 32568f62..c89a0b8e 100644
--- a/dev-qt/qtxmlpatterns/metadata.xml
+++ b/dev-qt/qtxmlpatterns/metadata.xml
@@ -5,6 +5,9 @@
<email>qt@gentoo.org</email>
<name>Gentoo Qt Project</name>
</maintainer>
+ <use>
+ <flag name="qml">Build the XmlListModel import for QtQuick (requires QtDeclarative)</flag>
+ </use>
<upstream>
<bugs-to>https://bugreports.qt.io/</bugs-to>
<doc>https://doc.qt.io/</doc>
diff --git a/dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild b/dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild
index 33771e36..7a53e251 100644
--- a/dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild
+++ b/dev-qt/qtxmlpatterns/qtxmlpatterns-5.12.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -10,12 +10,21 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
fi
-IUSE=""
+IUSE="qml"
DEPEND="
~dev-qt/qtcore-${PV}
~dev-qt/qtnetwork-${PV}
+ qml? ( ~dev-qt/qtdeclarative-${PV} )
"
-RDEPEND="${DEPEND}
- !<dev-qt/qtdeclarative-5.12.0_beta4:5
-"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt_use_disable_mod qml qml \
+ src/src.pro \
+ src/imports/imports.pro
+
+ qt_use_disable_mod qml quick tests/auto/auto.pro
+
+ qt5-build_src_prepare
+}
diff --git a/dev-qt/qtxmlpatterns/qtxmlpatterns-5.13.9999.ebuild b/dev-qt/qtxmlpatterns/qtxmlpatterns-5.13.9999.ebuild
index b88c40bc..7a53e251 100644
--- a/dev-qt/qtxmlpatterns/qtxmlpatterns-5.13.9999.ebuild
+++ b/dev-qt/qtxmlpatterns/qtxmlpatterns-5.13.9999.ebuild
@@ -10,12 +10,21 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
fi
-IUSE=""
+IUSE="qml"
DEPEND="
~dev-qt/qtcore-${PV}
~dev-qt/qtnetwork-${PV}
+ qml? ( ~dev-qt/qtdeclarative-${PV} )
"
-RDEPEND="${DEPEND}
- !<dev-qt/qtdeclarative-5.12.0_beta4:5
-"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt_use_disable_mod qml qml \
+ src/src.pro \
+ src/imports/imports.pro
+
+ qt_use_disable_mod qml quick tests/auto/auto.pro
+
+ qt5-build_src_prepare
+}
diff --git a/dev-qt/qtxmlpatterns/qtxmlpatterns-5.9999.ebuild b/dev-qt/qtxmlpatterns/qtxmlpatterns-5.9999.ebuild
index 33771e36..7a53e251 100644
--- a/dev-qt/qtxmlpatterns/qtxmlpatterns-5.9999.ebuild
+++ b/dev-qt/qtxmlpatterns/qtxmlpatterns-5.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -10,12 +10,21 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
fi
-IUSE=""
+IUSE="qml"
DEPEND="
~dev-qt/qtcore-${PV}
~dev-qt/qtnetwork-${PV}
+ qml? ( ~dev-qt/qtdeclarative-${PV} )
"
-RDEPEND="${DEPEND}
- !<dev-qt/qtdeclarative-5.12.0_beta4:5
-"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ qt_use_disable_mod qml qml \
+ src/src.pro \
+ src/imports/imports.pro
+
+ qt_use_disable_mod qml quick tests/auto/auto.pro
+
+ qt5-build_src_prepare
+}