From: Andreas Sturmlechner Date: Wed, 26 Feb 2020 20:37:41 +0000 (+0100) Subject: dev-qt/qtwayland: Add USE vulkan X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1c95aab1a62e2d11ec6a728204bd3d819bc9a4b2;p=gentoo.git dev-qt/qtwayland: Add USE vulkan Closes: https://bugs.gentoo.org/703594 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner --- diff --git a/dev-qt/qtwayland/metadata.xml b/dev-qt/qtwayland/metadata.xml index 4fb03e679017..db7a41ae479b 100644 --- a/dev-qt/qtwayland/metadata.xml +++ b/dev-qt/qtwayland/metadata.xml @@ -7,6 +7,7 @@ Enable support for input devices via dev-libs/libinput + Enable support for Vulkan-based server buffer integration https://bugreports.qt.io/ diff --git a/dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild b/dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild index 0602db2ff595..5fa75b673a70 100644 --- a/dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild +++ b/dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild @@ -10,15 +10,16 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" fi -IUSE="+libinput xcomposite" +IUSE="+libinput vulkan xcomposite" DEPEND=" >=dev-libs/wayland-1.6.0 ~dev-qt/qtcore-${PV} ~dev-qt/qtdeclarative-${PV} - ~dev-qt/qtgui-${PV}[egl,libinput=] + ~dev-qt/qtgui-${PV}[egl,libinput=,vulkan=] media-libs/mesa[egl] >=x11-libs/libxkbcommon-0.2.0 + vulkan? ( dev-util/vulkan-headers ) xcomposite? ( x11-libs/libX11 x11-libs/libXcomposite @@ -37,6 +38,10 @@ src_prepare() { src/plugins/shellintegration/xdg-shell-v6/xdg-shell-v6.pro \ tests/auto/compositor/compositor/compositor.pro + qt_use_disable_config vulkan wayland-vulkan-server-buffer \ + src/plugins/hardwareintegration/client/client.pro \ + src/plugins/hardwareintegration/compositor/compositor.pro + use xcomposite || rm -r config.tests/xcomposite || die qt5-build_src_prepare