commit:     ded2a49da27e723258319ee28098a519273d5a88
Author:     Daniel Brandt <poncho <AT> spahan <DOT> ch>
AuthorDate: Mon Oct  3 06:21:53 2022 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 23 16:06:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded2a49d

x11-themes/QGnomePlatform: make wayland optional

Signed-off-by: Daniel Brandt <poncho <AT> spahan.ch>
Closes: https://github.com/gentoo/gentoo/pull/27591
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 x11-themes/QGnomePlatform/QGnomePlatform-0.9.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/x11-themes/QGnomePlatform/QGnomePlatform-0.9.0.ebuild 
b/x11-themes/QGnomePlatform/QGnomePlatform-0.9.0.ebuild
index 935a1bad9776..956410044093 100644
--- a/x11-themes/QGnomePlatform/QGnomePlatform-0.9.0.ebuild
+++ b/x11-themes/QGnomePlatform/QGnomePlatform-0.9.0.ebuild
@@ -11,12 +11,12 @@ 
SRC_URI="https://github.com/FedoraQt/QGnomePlatform/archive/${PV}.tar.gz -> ${P}
 KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE=""
+IUSE="wayland"
 
 RDEPEND="
        dev-qt/qtdbus:5=
        >=dev-qt/qtwidgets-5.15.2:5=
-       dev-qt/qtwayland:5=
+       wayland? ( dev-qt/qtwayland:5= )
        dev-qt/qtx11extras:5=
        gnome-base/gsettings-desktop-schemas
        sys-apps/xdg-desktop-portal
@@ -29,6 +29,7 @@ BDEPEND="${RDEPEND}"
 src_configure() {
        local mycmakeargs=(
                -DUSE_QT6=false
+               -DDISABLE_DECORATION_SUPPORT="$(usex wayland false true)"
        )
        cmake_src_configure
 }

Reply via email to