summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-06-24 19:27:27 +0200
committerPacho Ramos <pacho@gentoo.org>2023-06-24 19:29:44 +0200
commit358e975797006c51c2f3631e9f9530dc1aeed78d (patch)
tree3f4a7feb8a7c5ec36b749968df41f1bfd13f057f /x11-themes/QGnomePlatform
parentapp-office/lyx: Warn people upgrading from stable about new optional dep (diff)
downloadgentoo-358e975797006c51c2f3631e9f9530dc1aeed78d.tar.gz
gentoo-358e975797006c51c2f3631e9f9530dc1aeed78d.tar.bz2
gentoo-358e975797006c51c2f3631e9f9530dc1aeed78d.zip
x11-themes/QGnomePlatform: Allow to skip kde-frameworks/qqc2-desktop-style dep
Even if it may break rendering for some apps Closes: https://bugs.gentoo.org/908092 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'x11-themes/QGnomePlatform')
-rw-r--r--x11-themes/QGnomePlatform/QGnomePlatform-0.9.1-r1.ebuild4
-rw-r--r--x11-themes/QGnomePlatform/metadata.xml3
2 files changed, 5 insertions, 2 deletions
diff --git a/x11-themes/QGnomePlatform/QGnomePlatform-0.9.1-r1.ebuild b/x11-themes/QGnomePlatform/QGnomePlatform-0.9.1-r1.ebuild
index 5fa89a33997f..e7ccce12e478 100644
--- a/x11-themes/QGnomePlatform/QGnomePlatform-0.9.1-r1.ebuild
+++ b/x11-themes/QGnomePlatform/QGnomePlatform-0.9.1-r1.ebuild
@@ -11,13 +11,13 @@ SRC_URI="https://github.com/FedoraQt/QGnomePlatform/archive/${PV}.tar.gz -> ${P}
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
LICENSE="LGPL-2.1"
SLOT="0"
-IUSE="wayland"
+IUSE="minimal wayland"
RDEPEND="
dev-qt/qtdbus:5=
>=dev-qt/qtquickcontrols2-5.15.2:5=
>=dev-qt/qtwidgets-5.15.2:5=
- kde-frameworks/qqc2-desktop-style:5=
+ !minimal? ( kde-frameworks/qqc2-desktop-style:5= )
wayland? ( dev-qt/qtwayland:5= )
gnome-base/gsettings-desktop-schemas
sys-apps/xdg-desktop-portal
diff --git a/x11-themes/QGnomePlatform/metadata.xml b/x11-themes/QGnomePlatform/metadata.xml
index fed4f0aeb413..218fd236b93f 100644
--- a/x11-themes/QGnomePlatform/metadata.xml
+++ b/x11-themes/QGnomePlatform/metadata.xml
@@ -7,4 +7,7 @@
<upstream>
<remote-id type="github">FedoraQt/QGnomePlatform</remote-id>
</upstream>
+ <use>
+ <flag name="minimal">Skip kde-frameworks/qqc2-desktop-style dependency (Warning: some apps could be wrongly rendered)</flag>
+ </use>
</pkgmetadata>