summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-25 22:27:58 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-25 23:40:47 +0100
commit072da15f03fea298ef12bfec3ea8ac95f85a15d5 (patch)
treebdd5e7a25caf520286293a9fa4d1060ff823c519 /dev-qt/qt3d
parentqt5-build.eclass: Limit RDEPEND on qtchooser to Qt versions <5.15.2 (diff)
downloadgentoo-072da15f03fea298ef12bfec3ea8ac95f85a15d5.tar.gz
gentoo-072da15f03fea298ef12bfec3ea8ac95f85a15d5.tar.bz2
gentoo-072da15f03fea298ef12bfec3ea8ac95f85a15d5.zip
dev-qt: Add RDEPEND on dev-qt/qtchooser where link targets exist
Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qt3d')
-rw-r--r--dev-qt/qt3d/qt3d-5.15.2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-qt/qt3d/qt3d-5.15.2.ebuild b/dev-qt/qt3d/qt3d-5.15.2.ebuild
index ffeb1aa53337..d815875134bc 100644
--- a/dev-qt/qt3d/qt3d-5.15.2.ebuild
+++ b/dev-qt/qt3d/qt3d-5.15.2.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit qt5-build
DESCRIPTION="3D rendering module for the Qt5 framework"
@@ -13,7 +14,7 @@ fi
# TODO: tools
IUSE="gamepad gles2-only qml vulkan"
-RDEPEND="
+COMMON_DEPEND="
~dev-qt/qtconcurrent-${PV}
~dev-qt/qtcore-${PV}
~dev-qt/qtgui-${PV}:5=[vulkan=]
@@ -22,9 +23,12 @@ RDEPEND="
gamepad? ( ~dev-qt/qtgamepad-${PV} )
qml? ( ~dev-qt/qtdeclarative-${PV}[gles2-only=] )
"
-DEPEND="${RDEPEND}
+DEPEND="${COMMON_DEPEND}
vulkan? ( dev-util/vulkan-headers )
"
+RDEPEND="${COMMON_DEPEND}
+ dev-qt/qtchooser
+"
src_prepare() {
rm -r src/3rdparty/assimp/{code,contrib,include} || die