commit:     b7621607097382288e50a8df40d0be9787a676eb
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Mon May 22 13:08:11 2023 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Mon May 22 13:08:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7621607

x11-themes/QGnomePlatform: qqc2-desktop-style is needed

Otherwise people gets a warning on every app as it can cause issues like some
apps rendering wrong or completely black.

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../QGnomePlatform/QGnomePlatform-0.9.1-r1.ebuild  | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/x11-themes/QGnomePlatform/QGnomePlatform-0.9.1-r1.ebuild 
b/x11-themes/QGnomePlatform/QGnomePlatform-0.9.1-r1.ebuild
new file mode 100644
index 000000000000..97098a1caae6
--- /dev/null
+++ b/x11-themes/QGnomePlatform/QGnomePlatform-0.9.1-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="A Qt Platform Theme aimed to accommodate GNOME settings"
+HOMEPAGE="https://github.com/FedoraQt/QGnomePlatform";
+SRC_URI="https://github.com/FedoraQt/QGnomePlatform/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="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=
+       wayland? ( dev-qt/qtwayland:5= )
+       gnome-base/gsettings-desktop-schemas
+       sys-apps/xdg-desktop-portal
+       x11-libs/gtk+:3
+       >=x11-themes/adwaita-qt-1.4.2
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DUSE_QT6=false
+               -DDISABLE_DECORATION_SUPPORT="$(usex wayland false true)"
+       )
+       cmake_src_configure
+}

Reply via email to