Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtwayland/
Date: Wed, 26 Feb 2020 22:02:25
Message-Id: 1582754203.f2ba1acf37637ffe00b08642ce98772ef6853a4c.asturm@gentoo
1 commit: f2ba1acf37637ffe00b08642ce98772ef6853a4c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 26 19:22:05 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 26 21:56:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2ba1acf
7
8 dev-qt/qtwayland: Fix USE libinput
9
10 Upstream commit a8fed201
11
12 Package-Manager: Portage-2.3.89, Repoman-2.3.20
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild | 43 +++++++++++++++++++++++++++++
16 1 file changed, 43 insertions(+)
17
18 diff --git a/dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild b/dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild
19 new file mode 100644
20 index 00000000000..0602db2ff59
21 --- /dev/null
22 +++ b/dev-qt/qtwayland/qtwayland-5.14.1-r1.ebuild
23 @@ -0,0 +1,43 @@
24 +# Copyright 1999-2020 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=7
28 +inherit qt5-build
29 +
30 +DESCRIPTION="Wayland platform plugin for Qt"
31 +
32 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
33 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
34 +fi
35 +
36 +IUSE="+libinput xcomposite"
37 +
38 +DEPEND="
39 + >=dev-libs/wayland-1.6.0
40 + ~dev-qt/qtcore-${PV}
41 + ~dev-qt/qtdeclarative-${PV}
42 + ~dev-qt/qtgui-${PV}[egl,libinput=]
43 + media-libs/mesa[egl]
44 + >=x11-libs/libxkbcommon-0.2.0
45 + xcomposite? (
46 + x11-libs/libX11
47 + x11-libs/libXcomposite
48 + )
49 +"
50 +RDEPEND="${DEPEND}"
51 +
52 +src_prepare() {
53 + qt_use_disable_config libinput xkbcommon \
54 + src/client/client.pro \
55 + src/compositor/wayland_wrapper/wayland_wrapper.pri \
56 + src/plugins/shellintegration/ivi-shell/ivi-shell.pro \
57 + src/plugins/shellintegration/wl-shell/wl-shell.pro \
58 + src/plugins/shellintegration/xdg-shell/xdg-shell.pro \
59 + src/plugins/shellintegration/xdg-shell-v5/xdg-shell-v5.pro \
60 + src/plugins/shellintegration/xdg-shell-v6/xdg-shell-v6.pro \
61 + tests/auto/compositor/compositor/compositor.pro
62 +
63 + use xcomposite || rm -r config.tests/xcomposite || die
64 +
65 + qt5-build_src_prepare
66 +}