Warning, /graphics/digikam/project/bundles/3rdparty/ext_kf6/breeze-common-rules.patch is written in an unsupported language. File is not indexed.
0001 diff --git a/CMakeLists.txt b/CMakeLists.txt
0002 index b9d10ece..e20f4e7a 100644
0003 --- a/CMakeLists.txt
0004 +++ b/CMakeLists.txt
0005 @@ -13,7 +13,7 @@ include(GenerateExportHeader)
0006 include(WriteBasicConfigVersionFile)
0007 include(FeatureSummary)
0008
0009 -find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
0010 +find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE)
0011 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${CMAKE_SOURCE_DIR}/cmake)
0012
0013 set(CMAKE_CXX_STANDARD 20)
0014 @@ -107,7 +107,7 @@ function(build_Qt6)
0015 option(WITH_DECORATIONS "Build Breeze window decorations for KWin" ON)
0016 option(WITH_WALLPAPERS "Install Breeze default wallpapers" ON)
0017
0018 - find_package(Qt6 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets DBus)
0019 + find_package(Qt6 ${QT_MIN_VERSION} REQUIRED CONFIG COMPONENTS Widgets DBus OpenGL Network)
0020 find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS
0021 CoreAddons
0022 ColorScheme
0023 @@ -116,16 +116,16 @@ function(build_Qt6)
0024 I18n
0025 IconThemes
0026 WindowSystem)
0027 - if(NOT WIN32 AND NOT APPLE)
0028 - find_package(KF6KCMUtils ${KF6_MIN_VERSION})
0029 - set_package_properties(KF6KCMUtils PROPERTIES
0030 - TYPE REQUIRED
0031 - DESCRIPTION "Helps create configuration modules"
0032 - PURPOSE "KCMUtils used for the configuration modules or the decoration and Qt Style"
0033 - )
0034 - endif()
0035 -
0036 - find_package(Qt6 ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Quick)
0037 +# if(NOT WIN32 AND NOT APPLE)
0038 +# find_package(KF6KCMUtils ${KF6_MIN_VERSION})
0039 +# set_package_properties(KF6KCMUtils PROPERTIES
0040 +# TYPE REQUIRED
0041 +# DESCRIPTION "Helps create configuration modules"
0042 +# PURPOSE "KCMUtils used for the configuration modules or the decoration and Qt Style"
0043 +# )
0044 +# endif()
0045 +
0046 +# find_package(Qt6 ${QT_MIN_VERSION} OPTIONAL_COMPONENTS Quick)
0047 if(${Qt6Quick_FOUND})
0048 find_package(KF6 ${KF6_MIN_VERSION} REQUIRED COMPONENTS Kirigami2)
0049 endif()