commit:     d326ec9d348f3310ef5526cdfc4273f270a0ec18
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 27 06:11:14 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Nov 27 08:45:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d326ec9d

dev-qt/qtwayland: add 6.6.1

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-qt/qtwayland/Manifest               |  1 +
 dev-qt/qtwayland/qtwayland-6.6.1.ebuild | 47 +++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-qt/qtwayland/Manifest b/dev-qt/qtwayland/Manifest
index 8bc9c623c179..53f9b3fc73e0 100644
--- a/dev-qt/qtwayland/Manifest
+++ b/dev-qt/qtwayland/Manifest
@@ -2,3 +2,4 @@ DIST qtwayland-5.15.11-gentoo-kde-2.tar.xz 48072 BLAKE2B 
5587a010e168df2a3303673
 DIST qtwayland-everywhere-opensource-src-5.15.11.tar.xz 569072 BLAKE2B 
83b96ac4eb220aa924539a67b28bb20eff97256203f0c36efb0687b9266a2d0f3c69cec6648870e27431120bc1bd0eecf14dcc4f118e3d77ed78c1eb66298329
 SHA512 
b47a3358bc37f52dde0839940431e8049abfaa827722e6d57362b07547c35fe9fb422d28fd28c69a13f5773c24efc3eeea1e584372737a0151ed94bf4c5b9980
 DIST qtwayland-everywhere-src-6.5.3.tar.xz 1059396 BLAKE2B 
f3b495e712a3eae53b0fe9abc4430414868fe8668468cadc844672b11597c348b0daa82a602f7e5d15f1ec67f5336d0d50466a64ca0d0a571401681ae02137d6
 SHA512 
e516dd5158ed1aadc989b3f1bbaad87fa38b59872b44c7c92ec1c349e7e923a6b07b7fb3a3493312330eaf581b0d27aeaad2ec03629523ee28e3627b7c30ea89
 DIST qtwayland-everywhere-src-6.6.0.tar.xz 1125748 BLAKE2B 
e1024866761b1872ed762ef565cc4805e0dcea5a3319ec6d4aaf4d9e46477a0a4f1aea7b39faeb88ab10afa6b2fb5e0dd22a7864a3d18b479c87e345b34c7153
 SHA512 
e9cf63ccc71d4dc61b04a0f8a1a466e9ede09aa689c53c1ccc9db5233e324894bfd198c9204d8d93509c770a7a6612c8eb9981e0b3ee7428f8bf2dcbdc255109
+DIST qtwayland-everywhere-src-6.6.1.tar.xz 1127148 BLAKE2B 
8eb11f5f7f200a6d548577089732a533318d6120a7498dcb258183b5e0fd444541e03b59e730018cab15a612f8a31dd7b51275899271d62173eb1962a70198d3
 SHA512 
7f6533754daad7a2804ddddcd5139608c2b8f1ef92ae8a238c1ed4fc41c8a3ee532da0b2e57266d07d4d39d1ec6c83eca487c73788a108af30035b0dae262c76

diff --git a/dev-qt/qtwayland/qtwayland-6.6.1.ebuild 
b/dev-qt/qtwayland/qtwayland-6.6.1.ebuild
new file mode 100644
index 000000000000..8589a8ce444f
--- /dev/null
+++ b/dev-qt/qtwayland/qtwayland-6.6.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qt6-build
+
+DESCRIPTION="Wayland platform plugin for Qt"
+
+if [[ ${QT6_BUILD_TYPE} == release ]]; then
+       KEYWORDS="~amd64 ~arm ~arm64 ~loong ~x86"
+fi
+
+IUSE="compositor qml vulkan"
+
+RDEPEND="
+       dev-libs/wayland
+       ~dev-qt/qtbase-${PV}:6[gui,opengl,vulkan=]
+       media-libs/libglvnd
+       x11-libs/libxkbcommon
+       compositor? (
+               qml? ( ~dev-qt/qtdeclarative-${PV}:6 )
+       )
+"
+DEPEND="
+       ${RDEPEND}
+       vulkan? ( dev-util/vulkan-headers )
+"
+BDEPEND="dev-util/wayland-scanner"
+
+CMAKE_SKIP_TESTS=(
+       # segfaults for not-looked-into reasons, but not considered
+       # an issue given >=seatv5 exists since wayland-1.10 (2016)
+       tst_seatv4
+       # needs a compositor/opengl, skip the extra trouble
+       tst_surface
+       tst_xdgdecorationv1
+)
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake_use_find_package qml Qt6Quick)
+               $(qt_feature compositor wayland_server)
+       )
+
+       qt6-build_src_configure
+}

Reply via email to