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: Fri, 20 May 2022 19:43:39
Message-Id: 1653075763.198750015fdfa2efba1d056cbba7ed08ca42979a.asturm@gentoo
1 commit: 198750015fdfa2efba1d056cbba7ed08ca42979a
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 20 19:35:48 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri May 20 19:42:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19875001
7
8 dev-qt/qtwayland: 5.15.4 version bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-qt/qtwayland/Manifest | 2 ++
13 dev-qt/qtwayland/qtwayland-5.15.4.ebuild | 54 ++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-qt/qtwayland/Manifest b/dev-qt/qtwayland/Manifest
17 index 4d4633d1d314..1a095cd4bc22 100644
18 --- a/dev-qt/qtwayland/Manifest
19 +++ b/dev-qt/qtwayland/Manifest
20 @@ -1,2 +1,4 @@
21 DIST qtwayland-5.15.3-gentoo-kde-2.tar.xz 35460 BLAKE2B ea229ae3007405dcb431c90c3a8411d11d2d5715e917f5a57cc2881da4274938d6466f1562dc5f750b8d27ee60a459d6251ca1ab2563f6ee4b9f89e17a956b59 SHA512 63041bcf68869eb5bd1449bfeecd9847c6890378743eaf1f6cedd95b01f54448be804de6bb5649d70240d4fe98d39fd58db2ba5a5234269c17b5127dd1d76dd3
22 +DIST qtwayland-5.15.4-gentoo-kde-1.tar.xz 32156 BLAKE2B b18c35f07bc20ab778d925961486511e90dea3e04bd83730f54fcc94d7a8680d86f33b7087e84cf77e283a20514472caeadb7409fe59117f3c066dcfad4ba46d SHA512 a86fd28cbaec35a9c616584ea7b65d4acac0b98f58f58bd32a11a586d8b2c8cc6f8f95e70d1f9deb9136515328ee03af57479ce68b34ddccdb6e8e3110a0707f
23 DIST qtwayland-everywhere-opensource-src-5.15.3.tar.xz 565004 BLAKE2B bc146caf77d42436dcb599df8d2aea422ac8717151dee91b9be129b97902d5af274dec90bd5ffceef62512515e5cf57a61ab773cfc6c13742a6cc5d9b6f72726 SHA512 0a9768282170709050490fb1b9daef59c21c8b5c4785f56a452d7954ffb6f016ec836022693941c99c5c10b2c3c55c75ba37fdad09dd1e0cde627f8b87b90c89
24 +DIST qtwayland-everywhere-opensource-src-5.15.4.tar.xz 567300 BLAKE2B e2f77a8e6a81ef105d218db6f40164b95beee2d3f34253b4208170a1a25f52ba2574d231979ec05d2bfa7d41a1949b01bd3f6bfcab75487e88d11b6fd1e32455 SHA512 58ae262f7aa0455fb577a36fe9413a969398a2043160642501bac064d6fbc3280f76aa566e62b9d73c67a8c3606849b1b97bcb9b0250d26c269ec921112f40e4
25
26 diff --git a/dev-qt/qtwayland/qtwayland-5.15.4.ebuild b/dev-qt/qtwayland/qtwayland-5.15.4.ebuild
27 new file mode 100644
28 index 000000000000..7b70190c554c
29 --- /dev/null
30 +++ b/dev-qt/qtwayland/qtwayland-5.15.4.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +QT5_KDEPATCHSET_REV=1
38 +inherit qt5-build
39 +
40 +DESCRIPTION="Wayland platform plugin for Qt"
41 +SLOT=5/${QT5_PV} # bug 815646
42 +
43 +if [[ ${QT5_BUILD_TYPE} == release ]]; then
44 + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
45 +fi
46 +
47 +IUSE="vulkan X"
48 +
49 +DEPEND="
50 + dev-libs/wayland
51 + =dev-qt/qtcore-${QT5_PV}*:5=
52 + =dev-qt/qtdeclarative-${QT5_PV}*:5=
53 + =dev-qt/qtgui-${QT5_PV}*:5=[egl,libinput,vulkan=,X?]
54 + media-libs/libglvnd
55 + vulkan? ( dev-util/vulkan-headers )
56 + X? (
57 + =dev-qt/qtgui-${QT5_PV}*[-gles2-only]
58 + x11-libs/libX11
59 + x11-libs/libXcomposite
60 + )
61 +"
62 +RDEPEND="${DEPEND}"
63 +BDEPEND="
64 + dev-util/wayland-scanner
65 +"
66 +
67 +PATCHES=(
68 + "${FILESDIR}/${PN}-5.15.2-QTBUG-90037-QTBUG-91264.patch" # upstream pending
69 + "${FILESDIR}/${PN}-5.15.3-clang.patch"
70 +)
71 +
72 +src_configure() {
73 + local myqmakeargs=(
74 + --
75 + $(qt_use vulkan feature-wayland-vulkan-server-buffer)
76 + $(qt_use X feature-xcomposite-egl)
77 + $(qt_use X feature-xcomposite-glx)
78 + )
79 + qt5-build_src_configure
80 +}
81 +
82 +src_install() {
83 + qt5-build_src_install
84 + rm "${D}${QT5_BINDIR}"/qtwaylandscanner || die
85 +}