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/qtwidgets/
Date: Wed, 22 Sep 2021 19:38:53 +0000 (UTC)	[thread overview]
Message-ID: <1632338518.a8958b69b6e0806cc286d82027b83f6f32fe4922.asturm@gentoo> (raw)

commit:     a8958b69b6e0806cc286d82027b83f6f32fe4922
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 22 13:59:15 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep 22 19:21:58 2021 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=a8958b69

dev-qt/qtwidgets: Add IUSE=dbus to enable xdgdesktopportal build

New use flag builds Qt5 plugin for integration with flatpak and snap.

Add missing IUSE=gtk dependencies. No additional dependencies with
IUSE=dbus means the added REQUIRED_USE is cheap, and sys-apps/dbus is
already pulled in by x11-libs/gtk+3 (via dev-libs/glib) unconditionally.

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtwidgets/qtwidgets-5.15.2.9999.ebuild | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/dev-qt/qtwidgets/qtwidgets-5.15.2.9999.ebuild b/dev-qt/qtwidgets/qtwidgets-5.15.2.9999.ebuild
index 8380129e..f4b65bfa 100644
--- a/dev-qt/qtwidgets/qtwidgets-5.15.2.9999.ebuild
+++ b/dev-qt/qtwidgets/qtwidgets-5.15.2.9999.ebuild
@@ -13,13 +13,17 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
 fi
 
 # keep IUSE defaults in sync with qtgui
-IUSE="gles2-only gtk +png +X"
+IUSE="dbus gles2-only gtk +png +X"
+
+REQUIRED_USE="gtk? ( dbus )"
 
 DEPEND="
 	=dev-qt/qtcore-${QT5_PV}*:5=
-	=dev-qt/qtgui-${QT5_PV}*[gles2-only=,png=,X?]
+	=dev-qt/qtgui-${QT5_PV}*:5=[gles2-only=,png=,X?]
+	dbus? ( =dev-qt/qtdbus-${QT5_PV}* )
 	gtk? (
-		=dev-qt/qtgui-${QT5_PV}*[dbus]
+		dev-libs/glib:2
+		=dev-qt/qtgui-${QT5_PV}*:5=[dbus]
 		x11-libs/gtk+:3
 		x11-libs/libX11
 		x11-libs/pango
@@ -34,6 +38,7 @@ QT5_TARGET_SUBDIRS=(
 )
 
 QT5_GENTOO_CONFIG=(
+	dbus:xdgdesktopportal:
 	gtk:gtk3:
 	::widgets
 	!:no-widgets:
@@ -46,6 +51,7 @@ QT5_GENTOO_PRIVATE_CONFIG=(
 src_configure() {
 	local myconf=(
 		-opengl $(usex gles2-only es2 desktop)
+		$(qt_use dbus)
 		$(qt_use gtk)
 		-gui
 		$(qt_use png libpng system)


             reply	other threads:[~2021-09-22 19:38 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-22 19:38 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-30 14:03 [gentoo-commits] proj/qt:master commit in: dev-qt/qtwidgets/ Andreas Sturmlechner
2023-06-19 20:56 Andreas Sturmlechner
2022-11-21 13:01 Andreas Sturmlechner
2022-06-18 14:27 Andreas Sturmlechner
2022-05-14 21:15 Andreas Sturmlechner
2022-03-04  9:51 Andreas Sturmlechner
2021-08-20 12:36 Andreas Sturmlechner
2020-04-03 20:03 Andreas Sturmlechner
2020-01-22 13:27 Jimi Huotari
2020-01-19 23:54 Andreas Sturmlechner
2019-09-18 18:58 Jimi Huotari
2018-12-19 16:12 Jimi Huotari
2018-08-15 13:21 Jimi Huotari
2018-02-06 12:32 Michael Palimaka
2018-02-03  4:34 Michael Palimaka
2018-02-03  3:57 Michael Palimaka
2018-02-02 11:54 Michael Palimaka
2017-10-15 11:11 Michael Palimaka
2017-08-06  5:13 Michael Palimaka
2017-08-06  3:48 Michael Palimaka
2017-04-15  4:46 Davide Pesavento
2016-06-13  0:11 Davide Pesavento
2015-11-27 23:42 Davide Pesavento
2015-04-19 16:55 Michael Palimaka
2014-09-08 23:24 Davide Pesavento
2014-07-27 14:34 Davide Pesavento
2014-07-26 10:46 Davide Pesavento
2014-05-22 19:52 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=1632338518.a8958b69b6e0806cc286d82027b83f6f32fe4922.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