Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtwayland/
Date: Fri, 28 Feb 2020 10:15:47
Message-Id: 1582884463.14ee15e92aa9df567c0e7245b4e83190fc7ebab7.asturm@gentoo
1 commit: 14ee15e92aa9df567c0e7245b4e83190fc7ebab7
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 26 20:37:41 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 28 10:07:43 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=14ee15e9
7
8 dev-qt/qtwayland: Add USE vulkan
9
10 Closes: https://bugs.gentoo.org/703594
11 Package-Manager: Portage-2.3.89, Repoman-2.3.20
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 dev-qt/qtwayland/metadata.xml | 1 +
15 dev-qt/qtwayland/qtwayland-5.14.9999.ebuild | 9 +++++++--
16 dev-qt/qtwayland/qtwayland-5.15.9999.ebuild | 9 +++++++--
17 3 files changed, 15 insertions(+), 4 deletions(-)
18
19 diff --git a/dev-qt/qtwayland/metadata.xml b/dev-qt/qtwayland/metadata.xml
20 index 4fb03e67..db7a41ae 100644
21 --- a/dev-qt/qtwayland/metadata.xml
22 +++ b/dev-qt/qtwayland/metadata.xml
23 @@ -7,6 +7,7 @@
24 </maintainer>
25 <use>
26 <flag name="libinput">Enable support for input devices via <pkg>dev-libs/libinput</pkg></flag>
27 + <flag name="vulkan">Enable support for Vulkan-based server buffer integration</flag>
28 </use>
29 <upstream>
30 <bugs-to>https://bugreports.qt.io/</bugs-to>
31
32 diff --git a/dev-qt/qtwayland/qtwayland-5.14.9999.ebuild b/dev-qt/qtwayland/qtwayland-5.14.9999.ebuild
33 index 0602db2f..5fa75b67 100644
34 --- a/dev-qt/qtwayland/qtwayland-5.14.9999.ebuild
35 +++ b/dev-qt/qtwayland/qtwayland-5.14.9999.ebuild
36 @@ -10,15 +10,16 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
37 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
38 fi
39
40 -IUSE="+libinput xcomposite"
41 +IUSE="+libinput vulkan xcomposite"
42
43 DEPEND="
44 >=dev-libs/wayland-1.6.0
45 ~dev-qt/qtcore-${PV}
46 ~dev-qt/qtdeclarative-${PV}
47 - ~dev-qt/qtgui-${PV}[egl,libinput=]
48 + ~dev-qt/qtgui-${PV}[egl,libinput=,vulkan=]
49 media-libs/mesa[egl]
50 >=x11-libs/libxkbcommon-0.2.0
51 + vulkan? ( dev-util/vulkan-headers )
52 xcomposite? (
53 x11-libs/libX11
54 x11-libs/libXcomposite
55 @@ -37,6 +38,10 @@ src_prepare() {
56 src/plugins/shellintegration/xdg-shell-v6/xdg-shell-v6.pro \
57 tests/auto/compositor/compositor/compositor.pro
58
59 + qt_use_disable_config vulkan wayland-vulkan-server-buffer \
60 + src/plugins/hardwareintegration/client/client.pro \
61 + src/plugins/hardwareintegration/compositor/compositor.pro
62 +
63 use xcomposite || rm -r config.tests/xcomposite || die
64
65 qt5-build_src_prepare
66
67 diff --git a/dev-qt/qtwayland/qtwayland-5.15.9999.ebuild b/dev-qt/qtwayland/qtwayland-5.15.9999.ebuild
68 index 5e2e0a8c..0f7e93ca 100644
69 --- a/dev-qt/qtwayland/qtwayland-5.15.9999.ebuild
70 +++ b/dev-qt/qtwayland/qtwayland-5.15.9999.ebuild
71 @@ -10,15 +10,16 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
72 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
73 fi
74
75 -IUSE="+libinput xcomposite"
76 +IUSE="+libinput vulkan xcomposite"
77
78 DEPEND="
79 >=dev-libs/wayland-1.6.0
80 ~dev-qt/qtcore-${PV}
81 ~dev-qt/qtdeclarative-${PV}
82 - ~dev-qt/qtgui-${PV}[egl,libinput=]
83 + ~dev-qt/qtgui-${PV}[egl,libinput=,vulkan=]
84 media-libs/mesa[egl]
85 >=x11-libs/libxkbcommon-0.2.0
86 + vulkan? ( dev-util/vulkan-headers )
87 xcomposite? (
88 x11-libs/libX11
89 x11-libs/libXcomposite
90 @@ -37,5 +38,9 @@ src_prepare() {
91 src/plugins/shellintegration/xdg-shell-v6/xdg-shell-v6.pro \
92 tests/auto/compositor/compositor/compositor.pro
93
94 + qt_use_disable_config vulkan wayland-vulkan-server-buffer \
95 + src/plugins/hardwareintegration/client/client.pro \
96 + src/plugins/hardwareintegration/compositor/compositor.pro
97 +
98 qt5-build_src_prepare
99 }