Files
meta-wayland/recipes-devtools/extra-cmake-modules/extra-cmake-modules_6.20.0.bb
Markus Volk db2b747afe extra-cmake-modules: built qt6 support depending on DISTRO_FEATURES
use the 'kde' distro_feature (provided by meta-qt6) to add qt6 support
2025-12-27 08:53:49 +01:00

23 lines
940 B
BlitzBasic

SUMMARY = "Extra CMake modules"
HOMEPAGE = "https://api.kde.org/frameworks/extra-cmake-modules/html/index.html"
LICENSE = "BSD-2-Clause & BSD-3-Clause & MIT"
LIC_FILES_CHKSUM += "file://LICENSES/MIT.txt;md5=38aa75cf4c4c87f018227d5ec9638d75"
LIC_FILES_CHKSUM += "file://LICENSES/BSD-2-Clause.txt;md5=63d6ee386b8aaba70b1bf15a79ca50f2"
LIC_FILES_CHKSUM += "file://LICENSES/BSD-3-Clause.txt;md5=954f4d71a37096249f837652a7f586c0"
SRC_URI = "git://invent.kde.org/frameworks/extra-cmake-modules.git;protocol=https;nobranch=1"
SRCREV = "d8d80bcc61341239519392eef1360c796bf25931"
DEPENDS = "${@bb.utils.contains('DISTRO_FEATURES', 'kde', 'qttools qtbase-native qttools-native', '', d)}"
inherit cmake
EXTRA_OECMAKE += "-DBUILD_TESTING=OFF -DQT_HOST_PATH:PATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}"
FILES:${PN}-dev += " ${datadir}/ECM"
BBCLASSEXTEND = "native nativesdk"
RDEPENDS:${PN}-dev:class-target += "python3-core python3-as-python"