Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911205 - kde-plasma/breeze: build theme without kwin/Plasma support option
Summary: kde-plasma/breeze: build theme without kwin/Plasma support option
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://invent.kde.org/plasma/breeze/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-25 15:25 UTC by Gino McCarty
Modified: 2023-12-28 05:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gino McCarty 2023-07-25 15:25:20 UTC
Looks like upstream allows non KDE users to still build the breeze QT platform theme. Can we add use flags to support this on gentoo?

Attached is an example in which kwin use flag has been added in order to allow breeze on systems where KDE doesn't exist.

Please consider supporting some version of this for non KDE users who still enjoy QT apps and breeze theme

```
--- ../../../gentoo/kde-plasma/breeze/breeze-5.27.6.ebuild	2023-07-24 15:53:09.738259215 -0700
+++ breeze-5.27.6.ebuild	2023-07-25 08:14:22.302279108 -0700
@@ -14,7 +14,7 @@
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="5"
 KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
-IUSE=""
+IUSE="kwin wallpapers"

 RDEPEND="
 	>=dev-qt/qtdbus-${QTMIN}:5
@@ -31,11 +31,19 @@
 	>=kde-frameworks/ki18n-${KFMIN}:5
 	>=kde-frameworks/kiconthemes-${KFMIN}:5
 	>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
-	>=kde-plasma/kdecoration-${PVCUT}:5
+	kwin? ( >=kde-plasma/kdecoration-${PVCUT}:5 )
 "
 DEPEND="${RDEPEND}"
 BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:5"
 PDEPEND="
 	>=kde-frameworks/breeze-icons-${KFMIN}:5
-	>=kde-plasma/kde-cli-tools-${PVCUT}:5
+	kwin? ( >=kde-plasma/kde-cli-tools-${PVCUT}:5 )
 "
+
+src_configure() {
+	local mycmakeargs=(
+		-DWITH_DECORATIONS=$(usex kwin decoration)
+		-DWITH_WALLPAPERS=$(usex wallpapers)
+	)
+	cmake_src_configure
+}
```

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2023-07-25 15:55:06 UTC
Adding things to consider for making future packaging considerations here.
Comment 2 Gino McCarty 2023-12-28 05:00:12 UTC
bump

please consider merging this into your kde overlay, I see breeze for qt6 still not using additional use flags