diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-10-12 16:10:08 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-10-12 18:15:19 +0200 |
commit | e0a2412fad307e4d5713f384463ba0cc6dd00cb7 (patch) | |
tree | 5fe31b0165a185f693c17c57a00d00ed2b4ca5fc /dev-qt/qt3d | |
parent | profiles: arch: Mask dev-qt/qt3d[vulkan] everywhere except for amd64/x86 (diff) | |
download | gentoo-e0a2412fad307e4d5713f384463ba0cc6dd00cb7.tar.gz gentoo-e0a2412fad307e4d5713f384463ba0cc6dd00cb7.tar.bz2 gentoo-e0a2412fad307e4d5713f384463ba0cc6dd00cb7.zip |
dev-qt/qt3d: Add IUSE="vulkan" tied to dev-qt/qtgui, add slot op
Uses private headers from dev-qt/qtgui.
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qt3d')
-rw-r--r-- | dev-qt/qt3d/metadata.xml | 1 | ||||
-rw-r--r-- | dev-qt/qt3d/qt3d-5.15.1.ebuild | 10 |
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-qt/qt3d/metadata.xml b/dev-qt/qt3d/metadata.xml index 5e4a34f313a0..d359595b1800 100644 --- a/dev-qt/qt3d/metadata.xml +++ b/dev-qt/qt3d/metadata.xml @@ -8,6 +8,7 @@ <use> <flag name="gamepad">Add support for gamepad hardware via <pkg>dev-qt/qtgamepad</pkg></flag> <flag name="qml">Build QML/QtQuick bindings</flag> + <flag name="vulkan">Enable support for Vulkan</flag> </use> <upstream> <bugs-to>https://bugreports.qt.io/</bugs-to> diff --git a/dev-qt/qt3d/qt3d-5.15.1.ebuild b/dev-qt/qt3d/qt3d-5.15.1.ebuild index 7b9a8b1af129..b23230d95b19 100644 --- a/dev-qt/qt3d/qt3d-5.15.1.ebuild +++ b/dev-qt/qt3d/qt3d-5.15.1.ebuild @@ -11,18 +11,20 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then fi # TODO: tools -IUSE="gamepad gles2-only qml" +IUSE="gamepad gles2-only qml vulkan" -DEPEND=" +RDEPEND=" ~dev-qt/qtconcurrent-${PV} ~dev-qt/qtcore-${PV} - ~dev-qt/qtgui-${PV} + ~dev-qt/qtgui-${PV}:5=[vulkan=] ~dev-qt/qtnetwork-${PV} >=media-libs/assimp-4.0.0 gamepad? ( ~dev-qt/qtgamepad-${PV} ) qml? ( ~dev-qt/qtdeclarative-${PV}[gles2-only=] ) " -RDEPEND="${DEPEND}" +DEPEND="${RDEPEND} + vulkan? ( dev-util/vulkan-headers ) +" src_prepare() { rm -r src/3rdparty/assimp/{code,contrib,include} || die |