kasts, bump to version 25.12.3 (#13971)

use software for QT_QUICK_BACKEND
This commit is contained in:
Schrijvers Luc
2026-04-15 11:54:30 +02:00
committed by GitHub
parent bbb2d03e12
commit bdd1c35ebc
2 changed files with 28 additions and 3 deletions

View File

@@ -12,7 +12,8 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kasts-$portVersion.tar.xz"
CHECKSUM_SHA256="cff2537422a97529e55a3c2b9f57e33e0ae6757496583fb12b45026649695282"
CHECKSUM_SHA256="b5d19512a5887a1a763eb9de9530dd7f861d667631cd78a84a79a50e410c00d0"
PATCHES="kasts-$portVersion.patchset"
ADDITIONAL_FILES="kasts.rdef.in"
ARCHITECTURES="all !x86_gcc2"
@@ -33,7 +34,7 @@ REQUIRES="
lib:libopenal$secondaryArchSuffix
lib:libQt6Keychain$secondaryArchSuffix
lib:libtag$secondaryArchSuffix
lib:libvlc$secondaryArchSuffix
# lib:libvlc$secondaryArchSuffix
# KF6
lib:libKF6BreezeIcons$secondaryArchSuffix
lib:libKF6ColorScheme$secondaryArchSuffix
@@ -66,7 +67,7 @@ BUILD_REQUIRES="
devel:libKirigamiAddonsStatefulApp$secondaryArchSuffix
devel:libQt6Keychain$secondaryArchSuffix
devel:libtag$secondaryArchSuffix
devel:libvlc$secondaryArchSuffix
# devel:libvlc$secondaryArchSuffix
# KF6
extra_cmake_modules$secondaryArchSuffix
devel:libKF6BreezeIcons$secondaryArchSuffix

View File

@@ -0,0 +1,24 @@
From 900565454c078b76320158df4227db4c53e42197 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Wed, 15 Apr 2026 11:45:04 +0200
Subject: Use software rendering for QT_QUICK_BACKEND
diff --git a/src/main.cpp b/src/main.cpp
index 941bb34..e3ec7ce 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -62,6 +62,10 @@ int main(int argc, char *argv[])
{
KIconTheme::initTheme();
+#if defined(Q_OS_HAIKU)
+ qputenv("QT_QUICK_BACKEND", "software");
+#endif
+
// Check if we need to force the interface to mobile or desktop, or stick
// with the built-in Kirigami setting
if (SettingsManager::self() && SettingsManager::self()->interfaceMode() != 2) {
--
2.52.0