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: Wed, 18 Mar 2020 21:51:02 +0000 (UTC)	[thread overview]
Message-ID: <1584567300.1482fbb5e09dab1f4a38d5c611fd658d4151ec3c.asturm@gentoo> (raw)

commit:     1482fbb5e09dab1f4a38d5c611fd658d4151ec3c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 17 22:51:43 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 18 21:35:00 2020 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=1482fbb5

dev-qt/qtwayland: Fix and rename USE xcomposite to X

Add missing config switches.

Thanks-to: Jimi Huotari <chiitoo <AT> gentoo.org>
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtwayland/qtwayland-5.14.9999.ebuild | 15 ++++++++++++---
 dev-qt/qtwayland/qtwayland-5.15.9999.ebuild | 13 +++++++++++--
 2 files changed, 23 insertions(+), 5 deletions(-)

diff --git a/dev-qt/qtwayland/qtwayland-5.14.9999.ebuild b/dev-qt/qtwayland/qtwayland-5.14.9999.ebuild
index 474000fb..c190d0e5 100644
--- a/dev-qt/qtwayland/qtwayland-5.14.9999.ebuild
+++ b/dev-qt/qtwayland/qtwayland-5.14.9999.ebuild
@@ -10,7 +10,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
 	KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
 fi
 
-IUSE="vulkan xcomposite"
+IUSE="vulkan X"
 
 DEPEND="
 	>=dev-libs/wayland-1.6.0
@@ -20,7 +20,7 @@ DEPEND="
 	media-libs/mesa[egl]
 	>=x11-libs/libxkbcommon-0.2.0
 	vulkan? ( dev-util/vulkan-headers )
-	xcomposite? (
+	X? (
 		x11-libs/libX11
 		x11-libs/libXcomposite
 	)
@@ -32,7 +32,16 @@ src_prepare() {
 		src/plugins/hardwareintegration/client/client.pro \
 		src/plugins/hardwareintegration/compositor/compositor.pro
 
-	use xcomposite || rm -r config.tests/xcomposite || die
+	use X || rm -r config.tests/xcomposite || die
 
 	qt5-build_src_prepare
 }
+
+src_configure() {
+	local myqmakeargs=(
+		--
+		$(qt_use X feature-xcomposite-egl)
+		$(qt_use X feature-xcomposite-glx)
+	)
+	qt5-build_src_configure
+}

diff --git a/dev-qt/qtwayland/qtwayland-5.15.9999.ebuild b/dev-qt/qtwayland/qtwayland-5.15.9999.ebuild
index 52fb0bcb..67e16940 100644
--- a/dev-qt/qtwayland/qtwayland-5.15.9999.ebuild
+++ b/dev-qt/qtwayland/qtwayland-5.15.9999.ebuild
@@ -10,7 +10,7 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
 	KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
 fi
 
-IUSE="vulkan xcomposite"
+IUSE="vulkan X"
 
 DEPEND="
 	>=dev-libs/wayland-1.6.0
@@ -20,7 +20,7 @@ DEPEND="
 	media-libs/mesa[egl]
 	>=x11-libs/libxkbcommon-0.2.0
 	vulkan? ( dev-util/vulkan-headers )
-	xcomposite? (
+	X? (
 		x11-libs/libX11
 		x11-libs/libXcomposite
 	)
@@ -34,3 +34,12 @@ src_prepare() {
 
 	qt5-build_src_prepare
 }
+
+src_configure() {
+	local myqmakeargs=(
+		--
+		$(qt_use X feature-xcomposite-egl)
+		$(qt_use X feature-xcomposite-glx)
+	)
+	qt5-build_src_configure
+}


             reply	other threads:[~2020-03-18 21:51 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-18 21:51 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
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-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=1584567300.1482fbb5e09dab1f4a38d5c611fd658d4151ec3c.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