qqc2_breeze_style, add new recipe (#13587)

this is targetted to QtQuick and Kirigami (org.kde.breeze)
This commit is contained in:
Schrijvers Luc
2026-01-06 08:25:10 +01:00
committed by GitHub
parent a74daeed96
commit 0dec9d9c6f
2 changed files with 102 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
From 90dbc2a5b40b247a164ca0fe936246f808e0d1a8 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Tue, 6 Jan 2026 08:06:30 +0100
Subject: Downgrade Qt6 requirement
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 653fca4..b8a3ae6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.16)
project(qqc2-breeze-style)
set(PROJECT_VERSION "6.4.4")
-set(QT_MIN_VERSION "6.8.0")
+set(QT_MIN_VERSION "6.7.2")
set(KF6_MIN_VERSION "6.14.0")
set(KDE_COMPILERSETTINGS_LEVEL "5.82")
--
2.52.0

View File

@@ -0,0 +1,80 @@
SUMMARY="QQC2 Breeze Style"
DESCRIPTION="This is a style for Qt Quick Controls (also known as QQC2 in Qt5) which implements \
the KDE Visual Design Group's vision for Breeze in pure Qt Quick and Kirigami.
This library has no public API, applications should not (and cannot) use it directly. Instead, \
developers should add this library as a dependency of their apps."
HOMEPAGE="https://invent.kde.org/plasma/qqc2-breeze-style"
COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/plasma/$portVersion/qqc2-breeze-style-$portVersion.tar.xz"
CHECKSUM_SHA256="fb73e858d079f0a292ed571558f2cd25ef7e83cbecd15f62f5789540c3b0951c"
PATCHES="qqc2_breeze_style-$portVersion.patchset"
SOURCE_DIR="qqc2-breeze-style-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
libVersion="$portVersion"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
qqc2_breeze_style$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libKirigamiPlatform$secondaryArchSuffix
# KF6
lib:libKF6ColorScheme$secondaryArchSuffix
lib:libKF6ConfigCore$secondaryArchSuffix
lib:libKF6GuiAddons$secondaryArchSuffix
lib:libKF6IconThemes$secondaryArchSuffix
# Qt6
lib:libQt6Core$secondaryArchSuffix
lib:libQt6Qml$secondaryArchSuffix
"
PROVIDES_devel="
qqc2_breeze_style${secondaryArchSuffix}_devel = $portVersion
"
REQUIRES_devel="
qqc2_breeze_style$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libKirigamiPlatform$secondaryArchSuffix
# KF6
extra_cmake_modules$secondaryArchSuffix
devel:libKF6ColorScheme$secondaryArchSuffix
devel:libKF6ConfigCore$secondaryArchSuffix
devel:libKF6GuiAddons$secondaryArchSuffix
devel:libKF6IconThemes$secondaryArchSuffix
# Qt6
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Qml$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DBUILD_SHARED_LIBS=ON
make -C build $jobArgs
}
INSTALL()
{
make -C build install
packageEntries devel \
$libDir/cmake
}