summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Brandt <poncho@spahan.ch>2022-10-03 08:21:53 +0200
committerPacho Ramos <pacho@gentoo.org>2022-10-23 18:06:42 +0200
commitded2a49da27e723258319ee28098a519273d5a88 (patch)
tree06b04bb50f4cc2f3cbc8a634dd68c1d874896ffc
parentx11-themes/papirus-icon-theme: stabilize 20220910 for ALLARCHES (diff)
downloadgentoo-ded2a49d.tar.gz
gentoo-ded2a49d.tar.bz2
gentoo-ded2a49d.zip
x11-themes/QGnomePlatform: make wayland optional
Signed-off-by: Daniel Brandt <poncho@spahan.ch> Closes: https://github.com/gentoo/gentoo/pull/27591 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
-rw-r--r--x11-themes/QGnomePlatform/QGnomePlatform-0.9.0.ebuild5
1 files 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
}