mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2025-07-29 20:20:33 +02:00
qt6ct: add recipe
- add it as a runtime dependency for kvantum
This commit is contained in:
@ -16,4 +16,4 @@ S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}/Kvantum"
|
||||
EXTRA_OECMAKE = "-DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=OFF"
|
||||
|
||||
FILES:${PN} += "${datadir} ${libdir}"
|
||||
|
||||
RDEPENDS:${PN} = "qt6ct"
|
||||
|
@ -0,0 +1,25 @@
|
||||
From 197207257c7c7d1d20c2a4e65ebfa40171478509 Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Mon, 28 Jul 2025 12:00:47 +0200
|
||||
Subject: [PATCH] src/qt6ct-qtplugin/CMakeLists.txt: set plugin path
|
||||
|
||||
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||
|
||||
Upstream-Status: Pending
|
||||
---
|
||||
src/qt6ct-qtplugin/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/qt6ct-qtplugin/CMakeLists.txt b/src/qt6ct-qtplugin/CMakeLists.txt
|
||||
index c3d7498..40774a9 100644
|
||||
--- a/src/qt6ct-qtplugin/CMakeLists.txt
|
||||
+++ b/src/qt6ct-qtplugin/CMakeLists.txt
|
||||
@@ -10,4 +10,4 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../)
|
||||
add_library(qt6ct-qtplugin MODULE ${app_SRCS})
|
||||
set_target_properties(qt6ct-qtplugin PROPERTIES OUTPUT_NAME qt6ct)
|
||||
target_link_libraries(qt6ct-qtplugin PRIVATE Qt6::Widgets Qt6::GuiPrivate qt6ct-common)
|
||||
-install(TARGETS qt6ct-qtplugin DESTINATION ${PLUGINDIR}/platformthemes)
|
||||
+install(TARGETS qt6ct-qtplugin DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/plugins/platformthemes)
|
||||
--
|
||||
2.50.1
|
||||
|
@ -0,0 +1,25 @@
|
||||
From ed29bf6ad09df6cba046b2649b5d6f7594c6d272 Mon Sep 17 00:00:00 2001
|
||||
From: Markus Volk <f_l_k@t-online.de>
|
||||
Date: Mon, 28 Jul 2025 12:10:27 +0200
|
||||
Subject: [PATCH] src/qt6ct-style/CMakeLists.txt: set plugin path
|
||||
|
||||
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||
|
||||
Upstream-Status: Pending
|
||||
---
|
||||
src/qt6ct-style/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/qt6ct-style/CMakeLists.txt b/src/qt6ct-style/CMakeLists.txt
|
||||
index ea8f426..c131729 100644
|
||||
--- a/src/qt6ct-style/CMakeLists.txt
|
||||
+++ b/src/qt6ct-style/CMakeLists.txt
|
||||
@@ -11,4 +11,4 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../)
|
||||
|
||||
add_library(qt6ct-style MODULE ${app_SRCS})
|
||||
target_link_libraries(qt6ct-style PRIVATE Qt6::Widgets qt6ct-common)
|
||||
-install(TARGETS qt6ct-style DESTINATION ${PLUGINDIR}/styles)
|
||||
+install(TARGETS qt6ct-style DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/plugins/styles)
|
||||
--
|
||||
2.50.1
|
||||
|
18
dynamic-layers/meta-qt6/recipes-qt/qt6ct/qt6ct_0.9.bb
Normal file
18
dynamic-layers/meta-qt6/recipes-qt/qt6ct/qt6ct_0.9.bb
Normal file
@ -0,0 +1,18 @@
|
||||
SUMMARY = "This program allows users to configure Qt6 settings (theme, font, icons, etc.)"
|
||||
HOMEPAGE = "https://github.com/trialuser02/qt6ct"
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM += "file://COPYING;md5=d1f6db91e8b388803991385a2c6d75f5"
|
||||
|
||||
SRC_URI = "git://github.com/trialuser02/qt6ct.git;protocol=https;nobranch=1"
|
||||
SRC_URI += "file://0001-src-qt6ct-qtplugin-CMakeLists.txt-set-plugin-path.patch"
|
||||
SRC_URI += "file://0001-src-qt6ct-style-CMakeLists.txt-set-plugin-path.patch"
|
||||
SRCREV = "55dba8704c0a748b0ce9f2d3cc2cf200ca3db464"
|
||||
|
||||
DEPENDS = "cmake-native qttools qtbase-native qttools-native"
|
||||
|
||||
inherit qt6-cmake
|
||||
|
||||
FILES:${PN} += " \
|
||||
${libdir}/plugins/platformthemes/libqt6ct.so \
|
||||
${libdir}/plugins/styles/libqt6ct-style.so \
|
||||
"
|
Reference in New Issue
Block a user