public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtwayland/
Date: Sun,  8 Oct 2023 14:47:44 +0000 (UTC)	[thread overview]
Message-ID: <1696766610.caf38f786ea54fa29dcfdb216576657b028fe8da.asturm@gentoo> (raw)

commit:     caf38f786ea54fa29dcfdb216576657b028fe8da
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  7 19:27:26 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct  8 12:03:30 2023 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=caf38f78

dev-qt/qtwayland: make compositor APIs off-by-default optional

Would have preferred a clean split but wayland-server depends on
wayland-client in the buildsys.

- Drop IUSE vulkan: Merge with 'compositor' instead. This absolves us from
    having to make a default conflicting REQUIRED_USE with compositor.
- Drop IUSE X: Unused, broken upstream since 2021 and removed in Qt6.
    Quoting upstream from commit d4a7faff:
    "These plugins were created to allow testing/debugging of QtWayland-
    based compositors on desktops that did not support Wayland natively."

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtwayland/metadata.xml                  |  2 +-
 dev-qt/qtwayland/qtwayland-5.15.11.9999.ebuild | 29 ++++++++++++++------------
 2 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/dev-qt/qtwayland/metadata.xml b/dev-qt/qtwayland/metadata.xml
index a8ce9005..9f58d4b4 100644
--- a/dev-qt/qtwayland/metadata.xml
+++ b/dev-qt/qtwayland/metadata.xml
@@ -6,7 +6,7 @@
 		<name>Gentoo Qt Project</name>
 	</maintainer>
 	<use>
-		<flag name="vulkan">Enable support for Vulkan-based server buffer integration</flag>
+		<flag name="compositor">Enable support for the wayland compositor / server APIs</flag>
 	</use>
 	<upstream>
 		<bugs-to>https://bugreports.qt.io/</bugs-to>

diff --git a/dev-qt/qtwayland/qtwayland-5.15.11.9999.ebuild b/dev-qt/qtwayland/qtwayland-5.15.11.9999.ebuild
index 46f3a900..d9d8d573 100644
--- a/dev-qt/qtwayland/qtwayland-5.15.11.9999.ebuild
+++ b/dev-qt/qtwayland/qtwayland-5.15.11.9999.ebuild
@@ -13,30 +13,33 @@ inherit qt5-build
 DESCRIPTION="Wayland platform plugin for Qt"
 
 SLOT=5/${QT5_PV} # bug 815646
-IUSE="vulkan X"
+IUSE="compositor"
 
-DEPEND="
+RDEPEND="
 	dev-libs/wayland
 	=dev-qt/qtcore-${QT5_PV}*:5=
-	=dev-qt/qtdeclarative-${QT5_PV}*:5=
-	=dev-qt/qtgui-${QT5_PV}*:5=[egl,libinput,vulkan=,X?]
+	=dev-qt/qtgui-${QT5_PV}*:5=[egl,libinput]
 	media-libs/libglvnd
-	vulkan? ( dev-util/vulkan-headers )
-	X? (
-		=dev-qt/qtgui-${QT5_PV}*[-gles2-only]
-		x11-libs/libX11
-		x11-libs/libXcomposite
+	compositor? (
+		=dev-qt/qtdeclarative-${QT5_PV}*:5=
+		=dev-qt/qtgui-${QT5_PV}*:5=[vulkan]
 	)
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+	compositor? ( dev-util/vulkan-headers )
+"
 BDEPEND="dev-util/wayland-scanner"
 
 src_configure() {
 	local myqmakeargs=(
 		--
-		$(qt_use vulkan feature-wayland-vulkan-server-buffer)
-		$(qt_use X feature-xcomposite-egl)
-		$(qt_use X feature-xcomposite-glx)
+		-no-feature-xcomposite-egl
+		-no-feature-xcomposite-glx
+		$(qt_use compositor feature-wayland-server)
+		$(qt_use compositor feature-wayland-dmabuf-server-buffer)
+		$(qt_use compositor feature-wayland-drm-egl-server-buffer)
+		$(qt_use compositor feature-wayland-shm-emulation-server-buffer)
+		$(qt_use compositor feature-wayland-vulkan-server-buffer)
 	)
 	qt5-build_src_configure
 }


             reply	other threads:[~2023-10-08 14:47 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-08 14:47 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-05 20:53 [gentoo-commits] proj/qt:master commit in: dev-qt/qtwayland/ Andreas Sturmlechner
2023-12-30 14:03 Andreas Sturmlechner
2023-10-08 14:47 Andreas Sturmlechner
2022-11-05 16:39 Andreas Sturmlechner
2022-09-24 21:24 Andreas Sturmlechner
2022-09-24 17:03 Andreas Sturmlechner
2022-06-20 18:03 Jimi Huotari
2022-06-18 14:27 Andreas Sturmlechner
2022-05-14 21:15 Andreas Sturmlechner
2022-04-27 20:27 Jimi Huotari
2022-03-12 14:08 Andreas Sturmlechner
2022-03-04  9:51 Andreas Sturmlechner
2021-10-21  0:16 Davide Pesavento
2021-10-20 23:49 Davide Pesavento
2021-10-16 23:21 Davide Pesavento
2021-10-03 12:40 Andreas Sturmlechner
2021-09-22  7:19 Andreas Sturmlechner
2021-08-27 11:41 Andreas Sturmlechner
2021-08-20 12:36 Andreas Sturmlechner
2021-04-25 20:53 Andreas Sturmlechner
2020-11-29 21:05 Andreas Sturmlechner
2020-04-16 19:33 Andreas Sturmlechner
2020-04-03 20:03 Andreas Sturmlechner
2020-03-21 17:26 Andreas Sturmlechner
2020-03-18 21:51 Andreas Sturmlechner
2020-03-18 21:51 Andreas Sturmlechner
2020-03-18 21:51 Andreas Sturmlechner
2020-03-18 21:51 Andreas Sturmlechner
2020-02-28 10:15 Andreas Sturmlechner
2020-02-28 10:15 Andreas Sturmlechner
2020-01-22 13:27 Jimi Huotari
2018-12-06  3:47 Andreas Sturmlechner
2018-12-05 22:16 Andreas Sturmlechner
2018-01-26 11:45 Michael Palimaka
2017-09-03 19:53 Andreas Sturmlechner
2017-09-03  0:01 Davide Pesavento
2017-07-23  6:55 Michael Palimaka
2017-06-11 13:28 Michael Palimaka
2016-12-15 10:13 Michael Palimaka
2016-10-28 11:33 Michael Palimaka
2015-10-16 17:17 Michael Palimaka
2015-06-27 14:01 Davide Pesavento
2015-01-18  1:32 Davide Pesavento
2014-09-12 17:05 Davide Pesavento
2014-08-05  0:08 Davide Pesavento
2014-05-16 23:42 Davide Pesavento
2014-02-20 14:28 Michael Palimaka
2013-08-20  9:21 Davide Pesavento

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1696766610.caf38f786ea54fa29dcfdb216576657b028fe8da.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox