commit: 332edb16c3f0790fa16d0c015c13c1bfcc13836d
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 28 18:46:10 2026 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 28 22:54:00 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=332edb16
kde-plasma/kscreen: Disable hdrcalibrator on ppc64 (big-endian)
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../kscreen/{kscreen-6.5.5.ebuild => kscreen-6.5.5-r1.ebuild} | 9 +++++++--
kde-plasma/kscreen/kscreen-6.5.5.ebuild | 2 +-
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/kde-plasma/kscreen/kscreen-6.5.5.ebuild
b/kde-plasma/kscreen/kscreen-6.5.5-r1.ebuild
similarity index 89%
copy from kde-plasma/kscreen/kscreen-6.5.5.ebuild
copy to kde-plasma/kscreen/kscreen-6.5.5-r1.ebuild
index 4c211c8c7dd8..54968ccf41b3 100644
--- a/kde-plasma/kscreen/kscreen-6.5.5.ebuild
+++ b/kde-plasma/kscreen/kscreen-6.5.5-r1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://invent.kde.org/plasma/kscreen"
LICENSE="GPL-2" # TODO: CHECK
SLOT="6"
-KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~ppc64"
IUSE="X"
# slot op: Uses Qt6GuiPrivate and Qt6WaylandClientPrivate
@@ -41,7 +41,7 @@ COMMON_DEPEND="
"
RDEPEND="${COMMON_DEPEND}
>=dev-qt/qt5compat-${QTMIN}:6[qml]
- >=kde-frameworks/kimageformats-${KFMIN}:6[avif]
+ !ppc64? ( >=kde-frameworks/kimageformats-${KFMIN}:6[avif] )
>=kde-plasma/kglobalacceld-${KDE_CATV}:6
"
DEPEND="${COMMON_DEPEND}
@@ -60,6 +60,11 @@ CMAKE_SKIP_TESTS=(
kscreen-kded-configtest
)
+src_prepare() {
+ ecm_src_prepare
+ use ppc64 && cmake_comment_add_subdirectory hdrcalibrator # avif masked
on big-endian
+}
+
src_configure() {
local mycmakeargs=(
-DWITH_X11=$(usex X)
diff --git a/kde-plasma/kscreen/kscreen-6.5.5.ebuild
b/kde-plasma/kscreen/kscreen-6.5.5.ebuild
index 4c211c8c7dd8..f00ac1a7cc46 100644
--- a/kde-plasma/kscreen/kscreen-6.5.5.ebuild
+++ b/kde-plasma/kscreen/kscreen-6.5.5.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://invent.kde.org/plasma/kscreen"
LICENSE="GPL-2" # TODO: CHECK
SLOT="6"
-KEYWORDS="amd64 arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 arm64 ~loong ~riscv ~x86"
IUSE="X"
# slot op: Uses Qt6GuiPrivate and Qt6WaylandClientPrivate