dev-qt/qtgui: Add USE wayland
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 21 Jul 2019 15:45:15 +0000 (17:45 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 21 Jul 2019 16:13:21 +0000 (18:13 +0200)
Closes: https://bugs.gentoo.org/689680
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-qt/qtgui/metadata.xml
dev-qt/qtgui/qtgui-5.12.4.ebuild

index bb8d780f9c2d48b38b65badcc42058c9a8a93fa2..74256c169f9b64c59ec7b13b2cd02a6061103cf9 100644 (file)
@@ -14,6 +14,7 @@
                <flag name="libinput">Enable support for input devices via <pkg>dev-libs/libinput</pkg></flag>
                <flag name="tslib">Enable support for touchscreen devices via <pkg>x11-libs/tslib</pkg></flag>
                <flag name="tuio">Build plugin to receive touch events over the TUIO protocol</flag>
+               <flag name="wayland">Provide <pkg>dev-qt/qtwayland</pkg> to ensure Qt applications can be run as Wayland clients</flag>
                <flag name="xcb">Build the XCB platform plugin and enable X11 integration</flag>
        </use>
        <upstream>
index 31b4a4ca658f879fea67500169547d98b5508d67..81db316f4805ef1cb5bb2bcd4b1a24e19024b3cf 100644 (file)
@@ -14,7 +14,7 @@ fi
 # TODO: linuxfb
 
 IUSE="accessibility dbus egl eglfs evdev +gif gles2 ibus
-       jpeg +libinput +png tslib tuio +udev vnc +xcb"
+       jpeg +libinput +png tslib tuio +udev vnc wayland +xcb"
 REQUIRED_USE="
        || ( eglfs xcb )
        accessibility? ( dbus xcb )
@@ -69,6 +69,7 @@ DEPEND="${RDEPEND}
 "
 PDEPEND="
        ibus? ( app-i18n/ibus )
+       wayland? ( ~dev-qt/qtwayland-${PV} )
 "
 
 QT5_TARGET_SUBDIRS=(