diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-22 16:04:20 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-09-22 22:01:31 +0200 |
commit | d61dbe9fbbf29ba91958496ff6f5aa1a547d609e (patch) | |
tree | 7ed3334fa561a6ac4a020ad8ffb26ae1c760f2b9 /dev-qt/qtwidgets | |
parent | dev-qt/qtquickcontrols2: 5.15.2-r11 version bump at KDE be66bf9a (diff) | |
download | gentoo-d61dbe9fbbf29ba91958496ff6f5aa1a547d609e.tar.gz gentoo-d61dbe9fbbf29ba91958496ff6f5aa1a547d609e.tar.bz2 gentoo-d61dbe9fbbf29ba91958496ff6f5aa1a547d609e.zip |
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.
Switch from ~PV to =QT5_PV* version dependencies.
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-qt/qtwidgets')
-rw-r--r-- | dev-qt/qtwidgets/qtwidgets-5.15.2-r11.ebuild (renamed from dev-qt/qtwidgets/qtwidgets-5.15.2-r10.ebuild) | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-qt/qtwidgets/qtwidgets-5.15.2-r10.ebuild b/dev-qt/qtwidgets/qtwidgets-5.15.2-r11.ebuild index ebc81a5c757a..4c5ad74f9d8a 100644 --- a/dev-qt/qtwidgets/qtwidgets-5.15.2-r10.ebuild +++ b/dev-qt/qtwidgets/qtwidgets-5.15.2-r11.ebuild @@ -14,13 +14,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-${PV}:5= - ~dev-qt/qtgui-${PV}[gles2-only=,png=,X?] + =dev-qt/qtcore-${QT5_PV}*:5= + =dev-qt/qtgui-${QT5_PV}*:5=[gles2-only=,png=,X?] + dbus? ( =dev-qt/qtdbus-${QT5_PV}* ) gtk? ( - ~dev-qt/qtgui-${PV}[dbus] + dev-libs/glib:2 + =dev-qt/qtgui-${QT5_PV}*:5=[dbus] x11-libs/gtk+:3 x11-libs/libX11 x11-libs/pango @@ -35,6 +39,7 @@ QT5_TARGET_SUBDIRS=( ) QT5_GENTOO_CONFIG=( + dbus:xdgdesktopportal: gtk:gtk3: ::widgets !:no-widgets: @@ -47,6 +52,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) |